summaryrefslogtreecommitdiff
path: root/Pages/Component/Switch.razor.css
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2026-05-22 12:46:00 +1000
committerJake Mannens <jake@asger.xyz>2026-05-23 22:13:00 +1000
commit4ea3ddb38d010c2f85c22b7f1c3f2d7e0c1355e3 (patch)
tree90af9203059d645eb77216f1a091722ee9702438 /Pages/Component/Switch.razor.css
parent6de5d7f5364fe1d54703da6d6b7cb08ea26e939f (diff)
Initial commitwasm-oldserver
Diffstat (limited to 'Pages/Component/Switch.razor.css')
-rw-r--r--Pages/Component/Switch.razor.css25
1 files changed, 0 insertions, 25 deletions
diff --git a/Pages/Component/Switch.razor.css b/Pages/Component/Switch.razor.css
deleted file mode 100644
index 6b1f5d5..0000000
--- a/Pages/Component/Switch.razor.css
+++ /dev/null
@@ -1,25 +0,0 @@
-div.switch-outer {
- background: var(--col-switch-bg);
- border-radius: 20px;
- border: 1px solid var(--col-switch-fg);
- cursor: pointer;
- height: 20px;
- transition: background 0.1s linear;
- width: 40px;
-}
-
-div.switch-inner {
- background: var(--col-switch-fg);
- border-radius: 20px;
- height: 20px;
- transition: margin-left 0.1s linear;
- width: 20px;
-}
-
-input:checked + div.switch-outer {
- background: var(--col-switch-bg-hl);
-}
-
-input:checked + div.switch-outer > div.switch-inner {
- margin-left: 20px;
-}