From: Sven Date: Thu, 5 Oct 2017 08:49:34 +0000 (+0200) Subject: add active side in navigation X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc07b733fc701180381c5499c822eaac61a58d47;p=ipfire.org.git add active side in navigation --- diff --git a/static/css/style.css b/static/css/style.css index 3f46af34..27b3d682 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -4687,6 +4687,18 @@ h5.fireinfo { .navbar-nav .nav-link:hover:after { transform: scaleX(1); } } +body.About li.nav-item a.about { + color: #b71c1c; } + body.About li.nav-item a.about:after { + content: ""; + border-bottom: 2px solid #b71c1c; + position: absolute; + width: 100%; + left: 0; + top: 44px; + padding: inherit; + transform: scale(1); } + #sidebar { padding: 0; } #sidebar ul { diff --git a/templates/base.html b/templates/base.html index bc95de2b..88d15d15 100644 --- a/templates/base.html +++ b/templates/base.html @@ -27,7 +27,7 @@ - +
diff --git a/templates/modules/menu.html b/templates/modules/menu.html index 85af00cb..0afafb63 100644 --- a/templates/modules/menu.html +++ b/templates/modules/menu.html @@ -10,19 +10,19 @@ {{ _("Home") }} {% elif hostname == "admin.ipfire.org" %}