From 84cc46018664cee9d89d71ea75ba687a9171ab28 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Mon, 30 Jan 2023 23:22:41 +0100 Subject: added: toggles for toggling mods in modlist The new modlist now uses the same toggles found in the settings popup, only here they're used to disable/enable mods. On top of this I also fixed the "Toggle All" button not working. Forgot to change some stuff, breaking it... oops... --- src/app/css/grid.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/app/css/grid.css') diff --git a/src/app/css/grid.css b/src/app/css/grid.css index 5c4019c..6622762 100644 --- a/src/app/css/grid.css +++ b/src/app/css/grid.css @@ -1,3 +1,5 @@ +@import "theming.css"; + .grid .el, .popup .misc, .popup .loading { --spacing: calc(var(--padding) / 2); --height: calc(var(--padding) * 3.5); @@ -138,7 +140,6 @@ .grid .el .description {font-size: 0.8em} .grid .el button { - background: rgb(var(--blue)); margin-top: var(--spacing); } @@ -146,3 +147,12 @@ background: rgb(var(--blue2)); } +.grid .el .switch { + top: 3px; + position: relative; + background: var(--bg); +} + +.grid .el .switch:not(.grid .el .switch.on)::after { + background: var(--selbg); +} -- cgit v1.2.3