mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 13:37:52 +08:00
6936599aef
* rename .stylelintrc to .stylelintrc.json for explicit file type * add new npm script lint-fix:style * fix pseudo-element with double colon * function name should be lower except ignored functions * support stylelint declaration-block-no-ignored-properties rule * support sorted CSS properties order for readability and consistency * autofix order of all styles by lint-fix:style script * remove double slash comments after selector * replace .stylelintignore with ignoreFiles in .stylelintrc.json
53 lines
834 B
Plaintext
53 lines
834 B
Plaintext
@import '../../style/themes/default';
|
|
@import '../../style/mixins/index';
|
|
|
|
@empty-prefix-cls: ~'@{ant-prefix}-empty';
|
|
|
|
.@{empty-prefix-cls} {
|
|
margin: 0 8px;
|
|
font-size: @empty-font-size;
|
|
line-height: 22px;
|
|
text-align: center;
|
|
|
|
&-image {
|
|
height: 100px;
|
|
margin-bottom: 8px;
|
|
|
|
img {
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
&-description {
|
|
margin: 0;
|
|
}
|
|
|
|
&-footer {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
// antd internal empty style
|
|
&-small {
|
|
margin: 8px 0;
|
|
|
|
.@{empty-prefix-cls}-image {
|
|
height: 35px;
|
|
}
|
|
}
|
|
|
|
&-normal {
|
|
margin: 32px 0;
|
|
|
|
.@{empty-prefix-cls}-image {
|
|
height: 40px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Patch for popup adjust
|
|
.@{ant-prefix}-select-dropdown--multiple .@{ant-prefix}-select-dropdown-menu-item {
|
|
.@{empty-prefix-cls}-small {
|
|
margin-left: @control-padding-horizontal + 20;
|
|
}
|
|
}
|