diff options
| author | 2023-01-17 15:52:29 +0100 | |
|---|---|---|
| committer | 2023-01-17 15:52:29 +0100 | |
| commit | 33468def4a5fc0e3af92e5759f463d4d4872fd84 (patch) | |
| tree | 2bb4ad26afc307628c46a308f526d816f8e27b61 /p/themes/Flat/flat.rtl.css | |
| parent | 0ab130eb9c3df3227a70624bcd5e8133afb00ae5 (diff) | |
Improved: navigation menu structure (#4937)
Diffstat (limited to 'p/themes/Flat/flat.rtl.css')
| -rw-r--r-- | p/themes/Flat/flat.rtl.css | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index 2ef0e42ea..da3722f18 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -250,13 +250,16 @@ a.btn { } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - line-height: 2.5em; +.nav-list { font-size: 0.9rem; } +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item a:hover, .nav-list .item.active { background: #2980b9; @@ -268,7 +271,7 @@ a.btn { } .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; } .nav-list a:hover { @@ -276,7 +279,7 @@ a.btn { } .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; font-weight: bold; background: #34495e; color: #fff; |
