[improvement] ActionSheet: add less vars (#3908)

This commit is contained in:
neverland
2019-07-20 10:49:06 +08:00
committed by GitHub
parent 20b3a678c5
commit f64519172e
2 changed files with 13 additions and 5 deletions
+5 -5
View File
@@ -20,10 +20,10 @@
height: @action-sheet-item-height;
&--disabled {
color: @gray;
color: @action-sheet-item-disabled-text-color;
&:active {
background-color: @white;
background-color: @action-sheet-item-background;
}
}
}
@@ -36,8 +36,8 @@
&__cancel::before {
display: block;
height: 10px;
background-color: @background-color;
height: @action-sheet-cancel-padding-top;
background-color: @action-sheet-cancel-padding-color;
content: ' ';
}
@@ -51,7 +51,7 @@
position: absolute;
top: 0;
right: 0;
padding: 0 15px;
padding: @action-sheet-close-icon-padding;
color: @action-sheet-close-icon-color;
font-size: @action-sheet-close-icon-size;
line-height: inherit;