Consistently use @background-color-base for disabled states

This commit is contained in:
Graeme Yeates 2017-04-28 15:43:02 -04:00
parent 2b5ffb88d0
commit ede77a8aa7
7 changed files with 9 additions and 9 deletions

View File

@ -173,7 +173,7 @@
&-active:not(&-disabled) { &-active:not(&-disabled) {
&, &,
&:hover { &:hover {
background-color: @background-color-base; background: @background-color-base;
font-weight: bold; font-weight: bold;
} }
} }

View File

@ -109,10 +109,10 @@
.@{checkbox-inner-prefix-cls} { .@{checkbox-inner-prefix-cls} {
border-color: @border-color-base!important; border-color: @border-color-base!important;
background-color: #f3f3f3; background-color: @background-color-base;
&:after { &:after {
animation-name: none; animation-name: none;
border-color: #f3f3f3; border-color: @background-color-base;
} }
} }

View File

@ -219,13 +219,13 @@
&-disabled-cell &-date { &-disabled-cell &-date {
cursor: not-allowed; cursor: not-allowed;
color: #bcbcbc; color: #bcbcbc;
background: #f3f3f3; background: @background-color-base;
border-radius: 0; border-radius: 0;
width: auto; width: auto;
border: @border-width-base @border-style-base transparent; border: @border-width-base @border-style-base transparent;
&:hover { &:hover {
background: #f3f3f3; background: @background-color-base;
} }
} }

View File

@ -51,7 +51,7 @@
&:hover { &:hover {
cursor: not-allowed; cursor: not-allowed;
color: #bcbcbc; color: #bcbcbc;
background: #f3f3f3; background: @background-color-base;
} }
} }
} }

View File

@ -167,7 +167,7 @@
.@{input-number-prefix-cls}-input { .@{input-number-prefix-cls}-input {
opacity: 0.72; opacity: 0.72;
cursor: not-allowed; cursor: not-allowed;
background-color: #f3f3f3; background-color: @background-color-base;
} }
.@{input-number-prefix-cls}-handler-wrap { .@{input-number-prefix-cls}-handler-wrap {
display: none; display: none;

View File

@ -95,7 +95,7 @@
.@{radio-prefix-cls}-disabled { .@{radio-prefix-cls}-disabled {
.@{radio-inner-prefix-cls} { .@{radio-inner-prefix-cls} {
border-color: @border-color-base!important; border-color: @border-color-base!important;
background-color: #f3f3f3; background-color: @background-color-base;
&:after { &:after {
background-color: #ccc; background-color: #ccc;
} }

View File

@ -298,7 +298,7 @@
} }
.@{select-prefix-cls}-selection__choice { .@{select-prefix-cls}-selection__choice {
background-color: #f3f3f3; background-color: @background-color-base;
border-radius: 4px; border-radius: 4px;
cursor: default; cursor: default;
float: left; float: left;