From 92500a6f083a853429f4f92468e2a5a76bc2a6d0 Mon Sep 17 00:00:00 2001 From: Mia Arh Date: Fri, 5 Mar 2021 19:09:05 +0100 Subject: [PATCH] Add active nav item styling --- auth/assets/public/style.css | 5 +++++ auth/assets/templates/inc_nav.html.tpl | 22 ++++++++++--------- .../pending-email-confirmation.html.tpl | 2 +- auth/assets/templates/template-dev.html.tpl | 2 +- 4 files changed, 19 insertions(+), 12 deletions(-) diff --git a/auth/assets/public/style.css b/auth/assets/public/style.css index 158282bbe..a5187c394 100644 --- a/auth/assets/public/style.css +++ b/auth/assets/public/style.css @@ -94,6 +94,11 @@ a:hover { font-size: 1rem; } +/* Navigation */ +.nav-item.active { + border-bottom: 4px solid var(--primary); +} + /* form styling*/ .form-control { border: 2px solid var(--light); diff --git a/auth/assets/templates/inc_nav.html.tpl b/auth/assets/templates/inc_nav.html.tpl index 6720400b9..f0422103e 100644 --- a/auth/assets/templates/inc_nav.html.tpl +++ b/auth/assets/templates/inc_nav.html.tpl @@ -1,20 +1,22 @@ -
-
-
- - - -
-
+
+
+ + + +
{{ if not .hideNav }} {{ if and .user .client }} {{ else if .user }}