mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-10 19:19:20 +08:00
Consistently use @background-color-base for disabled states
This commit is contained in:
parent
2b5ffb88d0
commit
ede77a8aa7
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
&:hover {
|
&:hover {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
color: #bcbcbc;
|
color: #bcbcbc;
|
||||||
background: #f3f3f3;
|
background: @background-color-base;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user