2019-11-24 10:49:39 +08:00
|
|
|
@import "./mixins/mixins.scss";
|
|
|
|
|
2020-03-20 19:33:47 +08:00
|
|
|
@mixin empty-size-mixin($size) {
|
|
|
|
@include m($size + '-size') {
|
|
|
|
font-size: map-get($--n-empty-font-size, $size);
|
|
|
|
@include e(icon) {
|
|
|
|
width: map-get($--n-empty-icon-size, $size);
|
|
|
|
height: map-get($--n-empty-icon-size, $size);
|
|
|
|
font-size: map-get($--n-empty-icon-size, $size);
|
|
|
|
line-height: map-get($--n-empty-icon-size, $size);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-26 15:26:28 +08:00
|
|
|
@include themes-mixin {
|
2019-11-24 10:49:39 +08:00
|
|
|
@include b(empty) {
|
2019-11-26 15:26:28 +08:00
|
|
|
@include once {
|
2020-03-20 19:33:47 +08:00
|
|
|
@include empty-size-mixin('small');
|
|
|
|
@include empty-size-mixin('medium');
|
|
|
|
@include empty-size-mixin('large');
|
|
|
|
@include empty-size-mixin('huge');
|
2019-11-26 15:26:28 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2020-03-06 23:41:21 +08:00
|
|
|
font-size: 14px;
|
2019-11-26 15:26:28 +08:00
|
|
|
}
|
2019-11-24 10:49:39 +08:00
|
|
|
@include e(icon) {
|
2019-11-26 15:26:28 +08:00
|
|
|
@include once {
|
2019-12-22 15:50:37 +08:00
|
|
|
transition: fill .3s $--n-ease-in-out-cubic-bezier;
|
2019-11-26 15:26:28 +08:00
|
|
|
}
|
2020-02-07 20:04:20 +08:00
|
|
|
@include b(icon) {
|
2020-02-20 13:22:48 +08:00
|
|
|
fill: $--empty-icon-color;
|
|
|
|
stroke: $--empty-icon-color;
|
2020-02-07 20:04:20 +08:00
|
|
|
}
|
2019-11-24 10:49:39 +08:00
|
|
|
}
|
|
|
|
@include e(description) {
|
2019-11-26 15:26:28 +08:00
|
|
|
@include once {
|
2020-01-21 21:32:42 +08:00
|
|
|
margin-top: 4px;
|
2019-12-22 15:50:37 +08:00
|
|
|
transition: color .3s $--n-ease-in-out-cubic-bezier;
|
2019-11-26 15:26:28 +08:00
|
|
|
}
|
|
|
|
color: $--empty-text-color;
|
2019-11-24 10:49:39 +08:00
|
|
|
}
|
|
|
|
@include e(extra) {
|
2019-11-26 15:26:28 +08:00
|
|
|
@include once {
|
|
|
|
text-align: center;
|
2019-12-22 15:50:37 +08:00
|
|
|
transition: color .3s $--n-ease-in-out-cubic-bezier;
|
2019-11-26 15:26:28 +08:00
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
color: $--empty-extra-text-color;
|
2019-11-24 10:49:39 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|