mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
39 lines
904 B
SCSS
39 lines
904 B
SCSS
@import "./mixins/mixins.scss";
|
|
|
|
@include themes-mixin {
|
|
@include b(empty) {
|
|
@include once {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
font-size: 14px;
|
|
}
|
|
@include e(icon) {
|
|
@include once {
|
|
transition: fill .3s $--n-ease-in-out-cubic-bezier;
|
|
width: 28px;
|
|
height: 28px;
|
|
font-size: 28px;
|
|
}
|
|
@include b(icon) {
|
|
fill: $--empty-icon-color;
|
|
stroke: $--empty-icon-color;
|
|
}
|
|
}
|
|
@include e(description) {
|
|
@include once {
|
|
margin-top: 4px;
|
|
transition: color .3s $--n-ease-in-out-cubic-bezier;
|
|
}
|
|
color: $--empty-text-color;
|
|
}
|
|
@include e(extra) {
|
|
@include once {
|
|
text-align: center;
|
|
transition: color .3s $--n-ease-in-out-cubic-bezier;
|
|
margin-top: 16px;
|
|
}
|
|
color: $--empty-extra-text-color;
|
|
}
|
|
}
|
|
} |