Added full config logic

Added state display
This commit is contained in:
2024-05-18 13:08:34 +02:00
parent 99f146aa1d
commit c2826b8a08
3 changed files with 103 additions and 36 deletions

View File

@ -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;
}