Commit 37127a8c authored by Robert Knight's avatar Robert Knight

Increase top bar height to 40px

Increase top bar height to 40px to match the designs.
A visual side effect is that the dropdown menus now
overlap the top bar and clearly appear on top of it
rather than just below.
parent be78fc2b
...@@ -202,6 +202,10 @@ $base-font-size: 14px; ...@@ -202,6 +202,10 @@ $base-font-size: 14px;
padding-right: 6px; padding-right: 6px;
width: 36px; width: 36px;
margin-bottom: 10px; margin-bottom: 10px;
// the height of the sidebar toggle is set
// to match the height of the top bar
height: 40px;
} }
} }
......
...@@ -24,7 +24,7 @@ body { ...@@ -24,7 +24,7 @@ body {
font-family: $sans-font-family; font-family: $sans-font-family;
font-weight: 300; font-weight: 300;
padding: $sidebar-h-padding; padding: $sidebar-h-padding;
padding-top: calc(#{$sidebar-h-padding} + 30px); padding-top: $sidebar-h-padding + $top-bar-height;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
@include respond-to(tablets desktops) { @include respond-to(tablets desktops) {
......
@import 'base'; @import 'base';
@import 'mixins/responsive'; @import 'mixins/responsive';
$top-bar-height: 40px;
.top-bar { .top-bar {
background: $white; background: $white;
border-bottom: solid 1px $gray-lighter; border-bottom: solid 1px $gray-lighter;
height: 30px; height: $top-bar-height;
font-size: 15px; font-size: 15px;
position: fixed; position: fixed;
left: 0; left: 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment