mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 17:11:52 +08:00
css refactoring
This commit is contained in:
@@ -41,16 +41,16 @@ div.switch-box label.switch-label span.switch-inner:before, span.switch-inner:af
|
||||
div.switch-box label.switch-label span.switch-inner:before {
|
||||
content: "ON";
|
||||
padding-left: 5px;
|
||||
background-color: var(--bg-color-gray);
|
||||
color: var(--fg-color-normal);
|
||||
background-color: var(--cs-control-default-bg);
|
||||
color: var(--cs-control-default-fg);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
div.switch-box label.switch-label span.switch-inner:after {
|
||||
content: "OFF";
|
||||
padding-right: 5px;
|
||||
background-color: var(--bg-color-gray);
|
||||
color: var(--fg-color-inactive);
|
||||
background-color: var(--cs-control-default-bg);
|
||||
color: var(--cs-control-disabled-fg);
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ div.switch-box label.switch-label span.switch {
|
||||
display: block;
|
||||
width: 15px;
|
||||
margin: 0px;
|
||||
background: var(--bg-color-intensive);
|
||||
background: var(--cs-thumb-default-bg);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
|
||||
Reference in New Issue
Block a user