mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
[improvement] Button: update disabled style (#1886)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
display: inline-block;
|
||||
height: 44px;
|
||||
line-height: 42px;
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
box-sizing: border-box;
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
@@ -135,9 +135,7 @@
|
||||
}
|
||||
|
||||
&--disabled {
|
||||
color: $button-disabled-color;
|
||||
background-color: $button-disabled-background-color;
|
||||
border: 1px solid $button-disabled-border-color;
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
&--round {
|
||||
|
@@ -3,7 +3,7 @@ $black: #000;
|
||||
$white: #fff;
|
||||
$red: #f44;
|
||||
$blue: #38f;
|
||||
$orange: #f85;
|
||||
$orange: #ff976a;
|
||||
$green: #06bf04;
|
||||
$gray: #c9c9c9;
|
||||
$gray-light: #e5e5e5;
|
||||
@@ -29,10 +29,7 @@ $button-danger-border-color: $red;
|
||||
$button-warning-color: $white;
|
||||
$button-warning-background-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-background-color: #f85;
|
||||
$button-bottom-action-default-background-color: $orange;
|
||||
$button-bottom-action-primary-color: $white;
|
||||
$button-bottom-action-primary-background-color: $red;
|
||||
|
Reference in New Issue
Block a user