Added full config logic
Added state display
This commit is contained in:
@ -48,17 +48,17 @@
|
||||
|
||||
.toggle-switch input[type="checkbox"]:checked + .toggle-switch-handle {
|
||||
transform: translateX(45px);
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), 0 0 0 3px #05c46b;
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), 0 0 0 3px #198754;
|
||||
}
|
||||
|
||||
.toggle-switch input[type="checkbox"]:checked + .toggle-switch-background {
|
||||
background-color: #05c46b;
|
||||
box-shadow: inset 0 0 0 2px #04b360;
|
||||
background-color: #198754;
|
||||
box-shadow: inset 0 0 0 2px #198754;
|
||||
}
|
||||
|
||||
.toggle-switch input[type="checkbox"]:checked + .toggle-switch:before {
|
||||
content: "On";
|
||||
color: #05c46b;
|
||||
color: #198754;
|
||||
right: -15px;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user