style (switch): change color in disabled&&true status
switch in disabled&&true status should show true color
This commit is contained in:
parent
f4151cfcc1
commit
11d8490ed4
1 changed files with 15 additions and 1 deletions
|
@ -166,6 +166,20 @@
|
|||
}
|
||||
}
|
||||
|
||||
&-disabled.&-checked{
|
||||
border-color: @primary-color;
|
||||
background-color: @primary-color;
|
||||
opacity: .4;
|
||||
|
||||
&:after {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.@{switch-prefix-cls}-inner {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@keyframes switch-loading {
|
||||
|
@ -175,4 +189,4 @@
|
|||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue