(component): 优化 switch 组件禁用状态样式

This commit is contained in:
就眠儀式 2022-07-28 17:12:44 +08:00
parent a37f41c312
commit 4ced58ca35

View File

@ -103,28 +103,6 @@
color: #fff !important;
}
.layui-switch-disabled[lay-skin="primary"] span {
background: 0 0 !important;
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;
.layui-switch-disabled {
opacity: 0.7;
}