✨(component): 优化 switch 组件禁用状态样式
This commit is contained in:
parent
a37f41c312
commit
4ced58ca35
@ -103,28 +103,6 @@
|
|||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layui-switch-disabled[lay-skin="primary"] span {
|
.layui-switch-disabled {
|
||||||
background: 0 0 !important;
|
opacity: 0.7;
|
||||||
color: var(--global-neutral-color-8) !important;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.layui-switch-disabled[lay-skin="primary"]:hover i {
|
|
||||||
border-color: var(--global-neutral-color-6);
|
|
||||||
}
|
|
||||||
|
|
||||||
.layui-switch-disabled,
|
|
||||||
.layui-switch-disabled i {
|
|
||||||
border-color: var(--global-neutral-color-3) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.layui-switch-disabled span {
|
|
||||||
background-color: var(--global-neutral-color-3) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.layui-switch-disabled em {
|
|
||||||
color: var(--global-neutral-color-6) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.layui-switch-disabled:hover i {
|
|
||||||
color: #fff !important;
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user