aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/main.css')
-rw-r--r--src/app/main.css13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/app/main.css b/src/app/main.css
index 671be13..5779fa8 100644
--- a/src/app/main.css
+++ b/src/app/main.css
@@ -120,7 +120,8 @@ a, button, #close, #nsRelease, #vpReleaseNotes,
}
.switch.on {
- background: rgba(var(--red), 0.2) !important;
+ --on-color: var(--red);
+ background: rgba(var(--on-color), 0.4) !important;
}
.switch::after {
@@ -139,10 +140,16 @@ a, button, #close, #nsRelease, #vpReleaseNotes,
.switch.on::after {
left: 15px;
width: 20px;
- opacity: 0.5;
- background: rgb(var(--red));
+ opacity: 0.8;
+ background: rgb(var(--on-color));
}
+.switch.on.red2 {--on-color: var(--red2)}
+.switch.on.blue {--on-color: var(--blue)}
+.switch.on.blue2 {--on-color: var(--blue2)}
+.switch.on.orange {--on-color: var(--orange)}
+.switch.on.orange2 {--on-color: var(--orange2)}
+
.switch.on:hover::after {
transform: scale(1.2);
}