From bc27afe05a68789f64a33d6bb9e04e60bef09a38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gi=C3=B2=20Diani?= Date: Sat, 18 Jan 2025 23:10:53 +0100 Subject: [PATCH] prettier navi --- dashboard/resources/css/app.css | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/dashboard/resources/css/app.css b/dashboard/resources/css/app.css index 230b843..74c4d3b 100644 --- a/dashboard/resources/css/app.css +++ b/dashboard/resources/css/app.css @@ -140,16 +140,26 @@ body>header>nav{ body>header>nav>ul{ position: absolute; background: #fff; - width: 100%; + width: calc(100% + 2px); list-style: none; - padding: 0; + padding: 0 0 1em; top: -999em; left: -999em; + border-radius: 0 0 .2em .2em; + border-left: 1px solid #aaa; + border-right: 1px solid #aaa; + border-bottom: 1px solid #aaa; +} + +body>header>nav:hover{ + border-radius: .2em .2em 0 0; + border: 1px solid #aaa; + } body>header>nav:hover ul{ top: initial; - left: 0; + left: -1px; } body>header>nav>ul>li a,