From 8768f6a509908a2e745a4b30b7ce47cc0cecdeea Mon Sep 17 00:00:00 2001 From: RD WebDesign Date: Wed, 5 Jun 2024 20:20:57 -0300 Subject: [PATCH] Format the buttons Signed-off-by: RD WebDesign --- style/pi-hole.css | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/style/pi-hole.css b/style/pi-hole.css index a50fd0a4..bc4a1a2e 100644 --- a/style/pi-hole.css +++ b/style/pi-hole.css @@ -1185,16 +1185,22 @@ table.dataTable tbody > tr > .selected { min-width: 112px; flex: 1 1 auto; text-align: center; - border: 1px solid rgba(127, 127, 127, 0.2); } -#advanced-settings-menu ul > li a:not(:hover) { - color: inherit; - background: none; +#advanced-settings-menu ul > li a { + border: 1px solid rgba(127, 127, 127, 0.2); + border-radius: 3px; } -#advanced-settings-menu ul > li a:hover { +#advanced-settings-menu ul > li:not(.active) a { color: inherit; - background: rgba(127, 127, 127, 0.2); +} +#advanced-settings-menu ul > li:not(.active) a:hover, +#advanced-settings-menu ul > li:not(.active) a:focus { + background: rgba(127, 127, 127, 0.1); +} + +#advanced-settings-tabs > .tab-pane { + margin-bottom: 2em; } @media screen and (min-width: 2250px) {