2019-05-06 12:04:39 +08:00
|
|
|
@import '../../style/themes/index';
|
2018-12-26 16:01:00 +08:00
|
|
|
@import '../../style/mixins/index';
|
|
|
|
|
|
|
|
@empty-prefix-cls: ~'@{ant-prefix}-empty';
|
2019-12-03 20:17:13 +08:00
|
|
|
@empty-img-prefix-cls: ~'@{ant-prefix}-empty-img';
|
2018-12-26 16:01:00 +08:00
|
|
|
|
|
|
|
.@{empty-prefix-cls} {
|
2019-02-15 10:48:07 +08:00
|
|
|
margin: 0 8px;
|
2018-12-26 16:01:00 +08:00
|
|
|
font-size: @empty-font-size;
|
2020-04-28 11:16:01 +08:00
|
|
|
line-height: @line-height-base;
|
2019-02-15 10:48:07 +08:00
|
|
|
text-align: center;
|
2018-12-26 16:01:00 +08:00
|
|
|
|
|
|
|
&-image {
|
|
|
|
height: 100px;
|
2019-02-15 10:48:07 +08:00
|
|
|
margin-bottom: 8px;
|
2018-12-26 16:01:00 +08:00
|
|
|
|
|
|
|
img {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2019-08-02 21:37:26 +08:00
|
|
|
|
|
|
|
svg {
|
|
|
|
height: 100%;
|
|
|
|
margin: auto;
|
|
|
|
}
|
2018-12-26 16:01:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-description {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-footer {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// antd internal empty style
|
2019-04-03 19:11:04 +08:00
|
|
|
&-normal {
|
|
|
|
margin: 32px 0;
|
2019-04-03 18:59:02 +08:00
|
|
|
color: @disabled-color;
|
2018-12-26 16:01:00 +08:00
|
|
|
|
|
|
|
.@{empty-prefix-cls}-image {
|
2019-04-03 19:11:04 +08:00
|
|
|
height: 40px;
|
2018-12-26 16:01:00 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-03 19:11:04 +08:00
|
|
|
&-small {
|
|
|
|
margin: 8px 0;
|
2019-04-03 18:59:02 +08:00
|
|
|
color: @disabled-color;
|
2018-12-26 16:01:00 +08:00
|
|
|
|
|
|
|
.@{empty-prefix-cls}-image {
|
2019-04-03 19:11:04 +08:00
|
|
|
height: 35px;
|
2018-12-26 16:01:00 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-12-02 20:18:59 +08:00
|
|
|
|
2019-12-03 20:17:13 +08:00
|
|
|
.@{empty-img-prefix-cls}-default {
|
2019-12-02 20:18:59 +08:00
|
|
|
// not support the definition because the less variables have no meaning
|
|
|
|
& when (@theme = dark) {
|
|
|
|
&-ellipse {
|
|
|
|
fill-opacity: 0.08;
|
|
|
|
fill: @white;
|
|
|
|
}
|
|
|
|
&-path {
|
|
|
|
&-1 {
|
|
|
|
fill: #262626;
|
|
|
|
}
|
|
|
|
&-2 {
|
|
|
|
fill: url(#linearGradient-1);
|
|
|
|
}
|
|
|
|
&-3 {
|
|
|
|
fill: #595959;
|
|
|
|
}
|
|
|
|
&-4 {
|
|
|
|
fill: #434343;
|
|
|
|
}
|
|
|
|
&-5 {
|
|
|
|
fill: #595959;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&-g {
|
|
|
|
fill: #434343;
|
|
|
|
}
|
|
|
|
}
|
2019-12-03 15:39:32 +08:00
|
|
|
& when not (@theme = dark) {
|
2019-12-02 20:18:59 +08:00
|
|
|
&-ellipse {
|
|
|
|
fill-opacity: 0.8;
|
|
|
|
fill: #f5f5f5;
|
|
|
|
}
|
|
|
|
&-path {
|
|
|
|
&-1 {
|
|
|
|
fill: #aeb8c2;
|
|
|
|
}
|
|
|
|
&-2 {
|
|
|
|
fill: url(#linearGradient-1);
|
|
|
|
}
|
|
|
|
&-3 {
|
|
|
|
fill: #f5f5f7;
|
|
|
|
}
|
|
|
|
&-4 {
|
|
|
|
fill: #dce0e6;
|
|
|
|
}
|
|
|
|
&-5 {
|
|
|
|
fill: #dce0e6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&-g {
|
|
|
|
fill: @white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-03 20:17:13 +08:00
|
|
|
.@{empty-img-prefix-cls}-simple {
|
2019-12-02 20:18:59 +08:00
|
|
|
// not support the definition because the less variables have no meaning
|
|
|
|
& when (@theme = dark) {
|
|
|
|
&-ellipse {
|
|
|
|
fill: @white;
|
|
|
|
fill-opacity: 0.08;
|
|
|
|
}
|
|
|
|
&-g {
|
|
|
|
stroke: #434343;
|
|
|
|
}
|
|
|
|
&-path {
|
|
|
|
fill: #262626;
|
|
|
|
stroke: #434343;
|
|
|
|
}
|
|
|
|
}
|
2019-12-03 15:39:32 +08:00
|
|
|
& when not (@theme = dark) {
|
2019-12-02 20:18:59 +08:00
|
|
|
&-ellipse {
|
|
|
|
fill: #f5f5f5;
|
|
|
|
}
|
|
|
|
&-g {
|
|
|
|
stroke: #d9d9d9;
|
|
|
|
}
|
|
|
|
&-path {
|
|
|
|
fill: #fafafa;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-03-19 12:13:24 +08:00
|
|
|
|
|
|
|
@import './rtl';
|