From 9f024f1dd4d1190196bb52312c55377edad1a4f5 Mon Sep 17 00:00:00 2001 From: Robert Goldmann <deadlocker@gmx.de> Date: Sun, 22 May 2022 19:02:09 +0200 Subject: [PATCH] #681 - improved hotkey color in light theme --- .../src/main/resources/static/css/hotkeys.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BudgetMasterServer/src/main/resources/static/css/hotkeys.css b/BudgetMasterServer/src/main/resources/static/css/hotkeys.css index 2226e3b12..757b88b2d 100644 --- a/BudgetMasterServer/src/main/resources/static/css/hotkeys.css +++ b/BudgetMasterServer/src/main/resources/static/css/hotkeys.css @@ -1,7 +1,7 @@ .keyboard-key { padding: 0.2rem 0.7rem; color: #FFFFFF; - background-color: #212121; + background-color: #444444; border-radius: .2rem; font-family: Consolas, "Courier New", monospace; display: inline-block; @@ -10,4 +10,8 @@ .modifier-key { margin-right: 0; +} + +[data-theme="dark"] .keyboard-key { + background-color: #212121; } \ No newline at end of file -- GitLab