From 07d0e839d33c0e3f4b761bd68ed0b66b39da8881 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 7 Oct 2024 05:20:23 -0700 Subject: [PATCH] css: Navbar styling fixes in mobile layout Fix the following: - In mobile layout, the logout button has incorrect text color and when hovering, wrong background color. - In mobile layout, when user menu is expanded, there is no spacing between the end of the menu and the border for the expanded menu items. Signed-off-by: Sunil Mohan Adapa Reviewed-by: Veiko Aasa --- static/themes/default/css/main.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/themes/default/css/main.css b/static/themes/default/css/main.css index 78d4285b0..f2ff58061 100644 --- a/static/themes/default/css/main.css +++ b/static/themes/default/css/main.css @@ -475,12 +475,19 @@ footer { .main-header .navbar-nav > li > a:focus, .main-header .navbar-nav > li > a:hover, + .main-header .navbar-nav li > form > input, + .main-header .navbar-nav li > form > input:focus, + .main-header .navbar-nav li > form > input:hover, .main-header .navbar-nav .show a, .main-header .navbar-nav .show a:hover, .main-header .navbar-nav .show a:focus { color: #FFF; background: transparent; } + + .main-header .navbar-nav .nav-item:last-of-type .dropdown-menu { + margin-bottom: 1.25rem; + } } /* Cards in Apps, System and Help pages */