From 78ae456b45d66e5db316e9962856966c9d621b80 Mon Sep 17 00:00:00 2001 From: slawkens Date: Sat, 4 Dec 2021 21:34:26 +0100 Subject: [PATCH] Finish admin-bar New ideas welcome. Please open an issue or contact me --- system/templates/admin-bar.html.twig | 41 +++++++++++++++++++++------- 1 file changed, 31 insertions(+), 10 deletions(-) diff --git a/system/templates/admin-bar.html.twig b/system/templates/admin-bar.html.twig index 2775ad50..0825dd27 100644 --- a/system/templates/admin-bar.html.twig +++ b/system/templates/admin-bar.html.twig @@ -29,7 +29,7 @@ html { margin-top: 32px !important; } clear: none; list-style: none; margin: 0; - padding: 0; + padding: 0 15px 0 0; position: relative; text-indent: 0; z-index: 99999; @@ -39,6 +39,10 @@ html { margin-top: 32px !important; } float: left; } +#ma-admin-bar li:hover { + color: lightskyblue; +} + #ma-admin-bar .ab-top-secondary>li { float: right; margin-right: 15px; @@ -58,13 +62,13 @@ html { margin-top: 32px !important; } } .dropdown-content a { - color: black; + color: #eee; padding: 12px 16px; text-decoration: none; display: block; } -.dropdown-content a:hover {background-color: #ddd;} +.dropdown-content a:hover {color: lightskyblue;} .dropdown:hover .dropdown-content {display: block;} @@ -72,20 +76,37 @@ html { margin-top: 32px !important; }