colors and filters

This commit is contained in:
2024-08-17 19:23:19 +03:00
parent db37653748
commit 322962403d
38 changed files with 648 additions and 556 deletions
+5 -5
View File
@@ -2,7 +2,7 @@ input.switch {
-webkit-appearance: none;
width: 34px;
height: 18px;
border: 2px solid var(--border-color);
border: 1px solid var(--p40);
position: relative;
border-radius: 50px;
box-sizing: content-box;
@@ -18,17 +18,17 @@ input.switch::after {
content: " ";
width: 14px;
height: 14px;
background: var(--border-color);
box-shadow: inset 0 0 0px 1px var(--border-color);
background: var(--p40);
box-shadow: inset 0 0 0px 1px var(--p40);
position: absolute;
border-radius: 50px;
}
input.switch:checked {
background: var(--secondary);
background: var(--p50);
}
input.switch:checked::after {
left: calc(100% - 17px);
background: var(--background);
background: var(--p10);
}