mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +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) {
|
||||
&,
|
||||
&:hover {
|
||||
background-color: @background-color-base;
|
||||
background: @background-color-base;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
@ -109,10 +109,10 @@
|
||||
|
||||
.@{checkbox-inner-prefix-cls} {
|
||||
border-color: @border-color-base!important;
|
||||
background-color: #f3f3f3;
|
||||
background-color: @background-color-base;
|
||||
&:after {
|
||||
animation-name: none;
|
||||
border-color: #f3f3f3;
|
||||
border-color: @background-color-base;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -219,13 +219,13 @@
|
||||
&-disabled-cell &-date {
|
||||
cursor: not-allowed;
|
||||
color: #bcbcbc;
|
||||
background: #f3f3f3;
|
||||
background: @background-color-base;
|
||||
border-radius: 0;
|
||||
width: auto;
|
||||
border: @border-width-base @border-style-base transparent;
|
||||
|
||||
&:hover {
|
||||
background: #f3f3f3;
|
||||
background: @background-color-base;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -51,7 +51,7 @@
|
||||
&:hover {
|
||||
cursor: not-allowed;
|
||||
color: #bcbcbc;
|
||||
background: #f3f3f3;
|
||||
background: @background-color-base;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -167,7 +167,7 @@
|
||||
.@{input-number-prefix-cls}-input {
|
||||
opacity: 0.72;
|
||||
cursor: not-allowed;
|
||||
background-color: #f3f3f3;
|
||||
background-color: @background-color-base;
|
||||
}
|
||||
.@{input-number-prefix-cls}-handler-wrap {
|
||||
display: none;
|
||||
|
@ -95,7 +95,7 @@
|
||||
.@{radio-prefix-cls}-disabled {
|
||||
.@{radio-inner-prefix-cls} {
|
||||
border-color: @border-color-base!important;
|
||||
background-color: #f3f3f3;
|
||||
background-color: @background-color-base;
|
||||
&:after {
|
||||
background-color: #ccc;
|
||||
}
|
||||
|
@ -298,7 +298,7 @@
|
||||
}
|
||||
|
||||
.@{select-prefix-cls}-selection__choice {
|
||||
background-color: #f3f3f3;
|
||||
background-color: @background-color-base;
|
||||
border-radius: 4px;
|
||||
cursor: default;
|
||||
float: left;
|
||||
|
Loading…
Reference in New Issue
Block a user