From 33468def4a5fc0e3af92e5759f463d4d4872fd84 Mon Sep 17 00:00:00 2001 From: maTh Date: Tue, 17 Jan 2023 15:52:29 +0100 Subject: Improved: navigation menu structure (#4937) --- p/themes/Ansum/ansum.css | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'p/themes/Ansum/ansum.css') diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index 5c7433fce..6789320b5 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -552,21 +552,29 @@ form th { /* Sidebar des pages de configuration */ /*=== Navigation */ -.nav-list .nav-header, +.nav-list { + font-size: 1rem; +} +.nav-list .item.nav-header, .nav-list .item { - height: 2.5em; + min-height: 2.5em; line-height: 2.5em; - font-size: 1rem; } .nav-list .item { background: #fbf9f6; + min-height: 2.5em; + line-height: 2.5em; +} +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5em; } .nav-list .item a { padding: 0 1rem; color: #363330; transition: all 0.15s ease-in-out; } -.nav-list .item:hover a { +.nav-list .item a:hover { background: #efe3d3; text-decoration: none; } @@ -580,7 +588,7 @@ form th { text-decoration: none; } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; font-weight: bold; color: #766556; text-transform: uppercase; -- cgit v1.2.3