[improvement] Button: update disabled style (#1886)

This commit is contained in:
neverland
2018-10-02 17:24:33 +08:00
committed by GitHub
parent beebeaf5b7
commit 1f0b41ec20
6 changed files with 102 additions and 115 deletions

View File

@@ -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 {

View File

@@ -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;