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

This commit is contained in:
neverland 2018-10-08 16:59:53 +08:00 committed by GitHub
parent 37adb4b77e
commit 42e511d873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 9 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;
@ -119,8 +119,6 @@
}
&--disabled {
color: @button-disabled-color;
background-color: @button-disabled-background-color;
border: 1px solid @button-disabled-border-color;
opacity: .5;
}
}

View File

@ -3,7 +3,7 @@
@white: #fff;
@red: #f44;
@blue: #38f;
@orange: #f85;
@orange: #ff976a;
@green: #06bf04;
@gray: #c9c9c9;
@gray-light: #e5e5e5;
@ -29,10 +29,7 @@
@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;