mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[improvement] Button: update disabled style (#702)
This commit is contained in:
parent
37adb4b77e
commit
42e511d873
@ -6,7 +6,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 44px;
|
height: 44px;
|
||||||
line-height: 42px;
|
line-height: 42px;
|
||||||
border-radius: 3px;
|
border-radius: 2px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -119,8 +119,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&--disabled {
|
&--disabled {
|
||||||
color: @button-disabled-color;
|
opacity: .5;
|
||||||
background-color: @button-disabled-background-color;
|
|
||||||
border: 1px solid @button-disabled-border-color;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
@white: #fff;
|
@white: #fff;
|
||||||
@red: #f44;
|
@red: #f44;
|
||||||
@blue: #38f;
|
@blue: #38f;
|
||||||
@orange: #f85;
|
@orange: #ff976a;
|
||||||
@green: #06bf04;
|
@green: #06bf04;
|
||||||
@gray: #c9c9c9;
|
@gray: #c9c9c9;
|
||||||
@gray-light: #e5e5e5;
|
@gray-light: #e5e5e5;
|
||||||
@ -29,10 +29,7 @@
|
|||||||
@button-warning-color: @white;
|
@button-warning-color: @white;
|
||||||
@button-warning-background-color: @orange;
|
@button-warning-background-color: @orange;
|
||||||
@button-warning-border-color: @orange;
|
@button-warning-border-color: @orange;
|
||||||
@button-disabled-color: @gray-dark;
|
|
||||||
@button-disabled-background-color: @active-color;
|
|
||||||
@button-disabled-border-color: @border-color;
|
|
||||||
@button-bottom-action-default-color: @white;
|
@button-bottom-action-default-color: @white;
|
||||||
@button-bottom-action-default-background-color: #f85;
|
@button-bottom-action-default-background-color: @orange;
|
||||||
@button-bottom-action-primary-color: @white;
|
@button-bottom-action-primary-color: @white;
|
||||||
@button-bottom-action-primary-background-color: @red;
|
@button-bottom-action-primary-background-color: @red;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user