From 389b53cb719c27914605f412bd4044ba7dfaf418 Mon Sep 17 00:00:00 2001 From: idanceinbetween <46828701+idanceinbetween@users.noreply.github.com> Date: Tue, 16 Jul 2019 19:14:10 +0100 Subject: [PATCH] Add grey line below nav bar, change logo img max height 44px --- .../stylesheets/darkswarm/menu.css.scss | 29 ++++++++++++------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/app/assets/stylesheets/darkswarm/menu.css.scss b/app/assets/stylesheets/darkswarm/menu.css.scss index 3cf8032b80..ed36ba9506 100644 --- a/app/assets/stylesheets/darkswarm/menu.css.scss +++ b/app/assets/stylesheets/darkswarm/menu.css.scss @@ -1,8 +1,8 @@ -@import "compass"; -@import "branding"; -@import "mixins"; -@import "typography"; -@import "variables"; +@import 'compass'; +@import 'branding'; +@import 'mixins'; +@import 'typography'; +@import 'variables'; nav.top-bar { @include textpress; @@ -42,6 +42,8 @@ nav.top-bar { } .top-bar-section { + border-bottom: 1px solid lightgray; + a.icon { &:hover { text-decoration: none; @@ -57,7 +59,9 @@ nav.top-bar { } // Avoid menu items blocking logo - li:not(.has-form), li:not(.has-form) a:not(.button), li:not(.has-form) a:not(.button):hover { + li:not(.has-form), + li:not(.has-form) a:not(.button), + li:not(.has-form) a:not(.button):hover { background-color: transparent; } @@ -123,7 +127,9 @@ nav.top-bar { li > a { opacity: 0.8; - &:hover, &:focus, &:active { + &:hover, + &:focus, + &:active { opacity: 1; } @@ -173,7 +179,8 @@ nav.top-bar { background-color: #f4704c; padding: 13px; - a, span { + a, + span { color: white; display: inline-block; } @@ -202,7 +209,6 @@ nav.top-bar { } } - .off-canvas-list li.language-switcher ul li { list-style-type: none; padding-left: 0.5em; @@ -231,7 +237,7 @@ nav.top-bar { .top-bar .ofn-logo img { height: auto; width: auto; - max-height: 51px; + max-height: 44px; max-width: 250px; } @@ -273,7 +279,8 @@ nav.top-bar { @media screen and (max-width: 1450px) { nav .top-bar-section { - ul li a, .has-dropdown > a { + ul li a, + .has-dropdown > a { padding: 0 ($topbar-height / 8) !important; }