Spaces:
Sleeping
Sleeping
File size: 730 Bytes
3aa7f71 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
.theme-toggler-container {
margin: 24px 0px 8px 0px;
justify-content: center;
}
.theme-toggler-container.checkbox input + label,
.theme-toggler-container.checkbox input:checked + label:after {
background: var(--colour-1);
}
.theme-toggler-container.checkbox input + label:after,
.theme-toggler-container.checkbox input:checked + label {
background: var(--colour-3);
}
.theme-toggler-container.checkbox span {
font-size: 0.75rem;
}
.theme-toggler-container.checkbox label {
width: 24px;
height: 16px;
}
.theme-toggler-container.checkbox label:after {
left: 2px;
width: 10px;
height: 10px;
}
.theme-toggler-container.checkbox input:checked + label:after {
left: calc(100% - 2px - 10px);
} |