From 83f1c769dba0895d65151e675ef6b09d04561000 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 19 Jun 2021 18:33:29 +0200 Subject: css update --- styles/editor.css | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'styles') diff --git a/styles/editor.css b/styles/editor.css index 296a6b7..7c7bd86 100644 --- a/styles/editor.css +++ b/styles/editor.css @@ -41,6 +41,7 @@ display: block; } +.MuiSwitch-root { margin: -6px 0px; } .settings .inner .section > * { margin-bottom: 8px; } .settings .inner .scroll { top: 32px; @@ -54,11 +55,18 @@ background-color: var(--piss); color: var(--bg); } -.settings .inner .section .settings { - display: grid; - grid-auto-flow: column; +.settings .inner .section .body { + font-size: .875em; + font-weight: 500; } +.MuiSwitch-root .MuiSwitch-thumb { color: var(--c700); } +.MuiSwitch-root .MuiSwitch-track { background-color: var(--c700); } +.MuiSwitch-root .Mui-checked .MuiSwitch-thumb { color: var(--gruble); } +.MuiSwitch-root .Mui-checked + .MuiSwitch-track { background-color: var(--gruble) !important; } +.MuiSwitch-root .Mui-checked { color: var(--gruble) !important; } +.MuiSwitch-root .Mui-checked:hover { background-color: rgba(93, 233, 174, 0.04) !important; } + .settings ::-webkit-scrollbar-track, .settings ::-webkit-scrollbar-track-piece, .settings ::-webkit-scrollbar { -- cgit v1.2.3