From 5429a509c6ffcd23b33ffa57babd975175794e37 Mon Sep 17 00:00:00 2001 From: JeLuF Date: Wed, 16 Nov 2022 20:52:40 +0100 Subject: [PATCH] Visual feedback for the save button in the system settings --- ui/media/css/main.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ui/media/css/main.css b/ui/media/css/main.css index 4b09da6b..f99c6f52 100644 --- a/ui/media/css/main.css +++ b/ui/media/css/main.css @@ -910,6 +910,16 @@ i.active { float: right; font-weight: bold; } -#save-system-settings-btn { +button#save-system-settings-btn:hover { + transition-duration: 0.1s; + background: hsl(var(--accent-hue), 100%, calc(var(--accent-lightness) + 6%)); +} + +button#save-system-settings-btn:active { + transition-duration: 0.1s; + background-color: white; +} + +button#save-system-settings-btn { padding: 4pt 8pt; }