1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-21 13:30:54 +00:00

Update toggle switch CSS

This commit is contained in:
Dan Salvato 2024-02-09 22:49:04 -07:00
parent caa44cbbc3
commit 560dc349a6

View file

@ -1,14 +1,10 @@
$darkNavy: #213140;
$teal1: #66B3FB;
$teal2: #4B9DEA;
$charcoal: #555555;
$gold: #B6985A;
@mixin hideInput {width: 0; height: 0; position: absolute; left: -9999px;}
.toggle-switch { .toggle-switch {
display: flex; display: flex;
input {@include hideInput;} input {
position: absolute;
width: 0;
height: 0;
}
input + label { input + label {
color: var(--color-text-button-primary); color: var(--color-text-button-primary);
flex-basis: 50%; flex-basis: 50%;