From e2bae48724505c5b09b6bb28f053b8492bd66ba6 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Fri, 19 Jan 2024 20:28:51 +0100 Subject: make settings categories toggleable --- src/app/css/popups.css | 14 +++ src/app/index.html | 234 +++++++++++++++++++++++++++---------------------- 2 files changed, 142 insertions(+), 106 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); diff --git a/src/app/index.html b/src/app/index.html index 4bd4d92..810c205 100644 --- a/src/app/index.html +++ b/src/app/index.html @@ -44,130 +44,152 @@
-
- -

%%gui.settings.title.ns%%

-
-
-
- %%gui.settings.nsargs.title%% -
- %%gui.settings.nsargs.desc%% +
+ +
+ +

%%gui.settings.title.ns%%

-
-
- -
-
-
- -

%%gui.settings.title.language%%

-
-
-
- %%gui.settings.autolang.title%% -
- %%gui.settings.autolang.desc%% + +
+
+ %%gui.settings.nsargs.title%% +
+ %%gui.settings.nsargs.desc%% +
-
-
- -
-
-
-
- %%gui.settings.forcedlang.title%% -
- %%gui.settings.forcedlang.desc%% +
+
-
- -
-
-
- -

%%gui.settings.title.updates%%

-
-
-
- %%gui.settings.autoupdate.title%% -
- %%gui.settings.autoupdate.desc%% + + +
+ +
+ +

%%gui.settings.title.language%%

-
-
- -
-
-
-
- %%gui.settings.nsupdate.title%% -
- %%gui.settings.nsupdate.desc%% + + +
+
+ %%gui.settings.autolang.title%% +
+ %%gui.settings.autolang.desc%% +
-
-
- -
-
-
-
- %%gui.settings.excludes.title%% -
- %%gui.settings.excludes.desc%% +
+
-
- +
+
+ %%gui.settings.forcedlang.title%% +
+ %%gui.settings.forcedlang.desc%% +
+
+
+ +
-
-
-
- %%gui.settings.updatebuttons.title%% -
- %%gui.settings.updatebuttons.desc%% + + +
+ +
+ +

%%gui.settings.title.updates%%

+
+
+ +
+
+ %%gui.settings.autoupdate.title%% +
+ %%gui.settings.autoupdate.desc%% +
+
+
+
-
- - - +
+
+ %%gui.settings.nsupdate.title%% +
+ %%gui.settings.nsupdate.desc%% +
+
+
+ +
-
-
- -

%%gui.settings.title.misc%%

-
-
-
- %%gui.settings.originkill.title%% -
- %%gui.settings.originkill.desc%% +
+
+ %%gui.settings.excludes.title%% +
+ %%gui.settings.excludes.desc%% +
+
+
+
-
- +
+
+ %%gui.settings.updatebuttons.title%% +
+ %%gui.settings.updatebuttons.desc%% +
+
+
+ + + +
-
-
-
- %%gui.settings.miscbuttons.title%% -
- %%gui.settings.miscbuttons.desc%% +
+ +
+ +
+ +

%%gui.settings.title.misc%%

+
+
+ +
+
+ %%gui.settings.originkill.title%% +
+ %%gui.settings.originkill.desc%% +
+
+
+
-
- - - - - - +
+
+ %%gui.settings.miscbuttons.title%% +
+ %%gui.settings.miscbuttons.desc%% +
+
+
+ + + + + + +
-
+
-- cgit v1.2.3