Browse Source
* add stylelint shareable config for css modules * fix CSS pseudo element with double colon * 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 script * fix propTypes error of TagSelect component * Revert "autofix order of all styles by lint:fix script" This reverts commitpull/3528/head51cb9d055f. * Revert "support sorted CSS properties order for readability and consistency" This reverts commitff6c24d263. * make lint:fix work for stylelint * Revert "Revert "autofix order of all styles by lint:fix script"" This reverts commit946ed0a351. * Revert "Revert "support sorted CSS properties order for readability and consistency"" This reverts commit31b557e382.
committed by
陈帅
58 changed files with 425 additions and 415 deletions
@ -1,9 +1,13 @@ |
|||
{ |
|||
"extends": ["stylelint-config-standard", "stylelint-config-prettier"], |
|||
"extends": [ |
|||
"stylelint-config-standard", |
|||
"stylelint-config-css-modules", |
|||
"stylelint-config-rational-order", |
|||
"stylelint-config-prettier" |
|||
], |
|||
"plugins": ["stylelint-order", "stylelint-declaration-block-no-ignored-properties"], |
|||
"rules": { |
|||
"declaration-empty-line-before": null, |
|||
"no-descending-specificity": null, |
|||
"selector-pseudo-class-no-unknown": null, |
|||
"selector-pseudo-element-colon-notation": null |
|||
"plugin/declaration-block-no-ignored-properties": true |
|||
} |
|||
} |
|||
|
|||
@ -1,17 +1,17 @@ |
|||
@import '~antd/lib/style/themes/default.less'; |
|||
|
|||
.field { |
|||
white-space: nowrap; |
|||
margin: 0; |
|||
overflow: hidden; |
|||
white-space: nowrap; |
|||
text-overflow: ellipsis; |
|||
margin: 0; |
|||
.label, |
|||
.number { |
|||
font-size: @font-size-base; |
|||
line-height: 22px; |
|||
} |
|||
.number { |
|||
color: @heading-color; |
|||
margin-left: 8px; |
|||
color: @heading-color; |
|||
} |
|||
} |
|||
|
|||
@ -1,24 +1,24 @@ |
|||
.ellipsis { |
|||
overflow: hidden; |
|||
display: inline-block; |
|||
word-break: break-all; |
|||
width: 100%; |
|||
overflow: hidden; |
|||
word-break: break-all; |
|||
} |
|||
|
|||
.lines { |
|||
position: relative; |
|||
.shadow { |
|||
display: block; |
|||
position: absolute; |
|||
z-index: -999; |
|||
display: block; |
|||
color: transparent; |
|||
opacity: 0; |
|||
z-index: -999; |
|||
} |
|||
} |
|||
|
|||
.lineClamp { |
|||
position: relative; |
|||
display: -webkit-box; |
|||
overflow: hidden; |
|||
text-overflow: ellipsis; |
|||
display: -webkit-box; |
|||
} |
|||
|
|||
@ -1,21 +1,21 @@ |
|||
.themeColor { |
|||
overflow: hidden; |
|||
margin-top: 24px; |
|||
overflow: hidden; |
|||
.title { |
|||
font-size: 14px; |
|||
margin-bottom: 12px; |
|||
color: rgba(0, 0, 0, 0.65); |
|||
font-size: 14px; |
|||
line-height: 22px; |
|||
margin-bottom: 12px; |
|||
} |
|||
.colorBlock { |
|||
float: left; |
|||
width: 20px; |
|||
height: 20px; |
|||
border-radius: 2px; |
|||
float: left; |
|||
cursor: pointer; |
|||
margin-right: 8px; |
|||
text-align: center; |
|||
color: #fff; |
|||
font-weight: bold; |
|||
text-align: center; |
|||
border-radius: 2px; |
|||
cursor: pointer; |
|||
} |
|||
} |
|||
|
|||
@ -1,11 +1,11 @@ |
|||
@import '~antd/lib/style/themes/default.less'; |
|||
|
|||
.area_code { |
|||
width: 30%; |
|||
max-width: 128px; |
|||
margin-right: 8px; |
|||
width: 30%; |
|||
} |
|||
.phone_number { |
|||
max-width: 312px; |
|||
width: ~'calc(70% - 8px)'; |
|||
max-width: 312px; |
|||
} |
|||
|
|||
@ -1,8 +1,8 @@ |
|||
@import '~antd/lib/style/themes/default.less'; |
|||
|
|||
.title { |
|||
margin-bottom: 16px; |
|||
color: @heading-color; |
|||
font-size: 16px; |
|||
font-weight: 500; |
|||
margin-bottom: 16px; |
|||
font-size: 16px; |
|||
} |
|||
|
|||
Loading…
Reference in new issue