diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index 8e360e18c..ca75123e0 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -81,25 +81,18 @@ $table-header: #ecf1f6; .top-bar-right { + > ul { + border-bottom: 0; + padding-bottom: 0; + margin-bottom: 0; + } + .submenu { - border: 0; - display: block; - margin-top: 0; position: initial; - width: 100%; - } - - .is-active { - font-weight: normal; - text-decoration: none; - } - - .is-submenu-item { - padding: $line-height / 2 0; } a { - font-weight: normal !important; + font-weight: normal; } } @@ -111,10 +104,6 @@ $table-header: #ecf1f6; [class^="icon-"] { font-size: $base-font-size; } - } - - .menu .menu-text { - padding: 0; h1 { margin-top: $line-height / 2; @@ -128,14 +117,15 @@ $table-header: #ecf1f6; color: inherit; text-transform: uppercase; } - } - a { - display: inline-block; - font-family: "Lato" !important; - font-size: rem-calc(24); - font-weight: lighter; - padding: 0; + a { + color: inherit; + display: inline-block; + font-family: "Lato" !important; + font-size: rem-calc(24); + font-weight: lighter; + line-height: 1; + } } } diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 67f55e2d1..6f96b03fe 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -601,11 +601,12 @@ body > header, a { color: inherit; + line-height: inherit; padding-left: 0; @include breakpoint(medium) { font-size: $small-font-size; - padding: rem-calc(11) rem-calc(16); + padding: rem-calc(8) rem-calc(16); } } @@ -630,6 +631,17 @@ body > header, .menu { + @include breakpoint(small only) { + border-bottom: 1px solid $border; + margin-bottom: $line-height; + margin-top: $line-height / 2; + padding-bottom: $line-height; + + .submenu { + margin-top: 0; + } + } + &.is-dropdown-submenu { background: $body-background; color: $text; @@ -765,7 +777,8 @@ body > header, a { color: inherit; display: inline-block; - line-height: $line-height * 2; + padding-bottom: $line-height / 2; + padding-top: $line-height / 2; position: relative; text-align: left; width: 100%; diff --git a/app/views/layouts/_admin_header.html.erb b/app/views/layouts/_admin_header.html.erb index 88e5e0ff8..72ac224de 100644 --- a/app/views/layouts/_admin_header.html.erb +++ b/app/views/layouts/_admin_header.html.erb @@ -17,30 +17,26 @@