mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
style: Switch background should not be transparent (#35103)
This commit is contained in:
parent
12d98f9ed6
commit
f180ec6df5
@ -17,7 +17,8 @@
|
|||||||
height: @switch-height;
|
height: @switch-height;
|
||||||
line-height: @switch-height;
|
line-height: @switch-height;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
background-color: @disabled-color;
|
background-image: linear-gradient(to right, @disabled-color, @disabled-color),
|
||||||
|
linear-gradient(to right, @white, @white);
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: 100px;
|
border-radius: 100px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -38,7 +39,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-checked {
|
&-checked {
|
||||||
background-color: @switch-color;
|
background: @switch-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-loading,
|
&-loading,
|
||||||
|
Loading…
Reference in New Issue
Block a user