aboutsummaryrefslogtreecommitdiff
path: root/src/app/css
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2024-01-19 20:28:51 +0100
committer0neGal <mail@0negal.com>2024-01-19 20:28:51 +0100
commite2bae48724505c5b09b6bb28f053b8492bd66ba6 (patch)
treec7040c3cbe6f496d6e63ab4285ea091a570bee13 /src/app/css
parentca466e2b7494d51231df2dd81f69e6abd56fe2b1 (diff)
downloadViper-e2bae48724505c5b09b6bb28f053b8492bd66ba6.tar.gz
Viper-e2bae48724505c5b09b6bb28f053b8492bd66ba6.zip
make settings categories toggleable
Diffstat (limited to 'src/app/css')
-rw-r--r--src/app/css/popups.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/app/css/popups.css b/src/app/css/popups.css
index b56749e..b63bb1d 100644
--- a/src/app/css/popups.css
+++ b/src/app/css/popups.css
@@ -87,6 +87,20 @@
/* settings popup { */
+.popup .options details {
+ opacity: 1.0;
+ transition: 0.15s opacity ease-in-out;
+}
+
+.popup .options details:not([open]) {
+ opacity: 0.5;
+}
+
+.popup .options details summary {
+ cursor: pointer;
+ list-style-type: none;
+}
+
.popup .options {
color: white;
margin: calc(var(--padding) / 2);