From 43fff9805942f9a4b94c12621068472e12c51cd2 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sat, 20 Aug 2022 05:06:59 +0300 Subject: spoiler for mouse settings --- web/share/css/navbar.css | 9 ++++++++- web/share/css/vars.css | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'web/share') diff --git a/web/share/css/navbar.css b/web/share/css/navbar.css index 08ca3e0d..7169acc3 100644 --- a/web/share/css/navbar.css +++ b/web/share/css/navbar.css @@ -127,9 +127,16 @@ ul#navbar li div.menu details summary { cursor: pointer; outline: none; text-decoration: underline; - margin: 0 15px 0 15px; + margin: 8px 15px 8px 15px; font-size: 12px; } +ul#navbar li div.menu details div.spoiler { + margin-left: 20px !important; + border-left: var(--border-default-thin); +} +ul#navbar li div.menu details summary::marker { + color: var(--cs-marker-fg); +} ul#navbar li div.menu div.buttons { background-color: var(--cs-control-default-bg); diff --git a/web/share/css/vars.css b/web/share/css/vars.css index 93931696..93459d4b 100644 --- a/web/share/css/vars.css +++ b/web/share/css/vars.css @@ -66,6 +66,7 @@ --cs-key-pressed-fg: #6c7481; --cs-key-holded-bg: #436a8a; + --cs-marker-fg: #5b90bb; --cs-corner-bg: #5b90bb; --shadow-micro: 1px 2px 4px 0 rgba(0, 0, 0, 0.4); -- cgit v1.2.3