mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 21:48:19 +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
29 lines
547 B
Plaintext
29 lines
547 B
Plaintext
@import '../../style/themes/default';
|
|
@import '../../style/mixins/index';
|
|
@import '../../button/style/mixin';
|
|
@import './mixin';
|
|
|
|
@search-prefix: ~'@{ant-prefix}-input-search';
|
|
|
|
.@{search-prefix} {
|
|
&-icon {
|
|
color: @text-color-secondary;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
&:hover {
|
|
color: fade(@black, 80%);
|
|
}
|
|
}
|
|
|
|
.@{ant-prefix}-input-group-addon {
|
|
padding: 0;
|
|
border: 0;
|
|
|
|
.@{search-prefix}-button {
|
|
width: 100%;
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
}
|
|
}
|