Commit 23035d90 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Make active links bold; fix badge styling

parent c780ad0e
...@@ -100,26 +100,42 @@ header { ...@@ -100,26 +100,42 @@ header {
} }
} }
} }
}
.global-dropdown { .global-dropdown {
position: absolute; position: absolute;
left: -10px; left: -10px;
.badge {
font-size: 11px;
} }
.global-dropdown-toggle { li.active {
margin: 7px 0; a {
font-size: 18px; font-weight: bold;
padding: 6px 10px; }
border: none; }
background-color: $gray-light;
&:hover { li:hover {
background-color: $white-normal; .badge {
color: $gl-header-nav-hover-color; background-color: $white-light;
} }
} }
} }
.global-dropdown-toggle {
margin: 7px 0;
font-size: 18px;
padding: 6px 10px;
border: none;
background-color: $gray-light;
&:hover {
background-color: $white-normal;
color: $gl-header-nav-hover-color;
}
}
.header-content { .header-content {
position: relative; position: relative;
height: $header-height; height: $header-height;
......
...@@ -6,12 +6,11 @@ ...@@ -6,12 +6,11 @@
%button.global-dropdown-toggle{ type: 'button', 'data-toggle' => 'dropdown' } %button.global-dropdown-toggle{ type: 'button', 'data-toggle' => 'dropdown' }
%span.sr-only Toggle navigation %span.sr-only Toggle navigation
= icon('bars') = icon('bars')
.dropdown-menu-nav .dropdown-menu-nav.global-dropdown-menu
%ul - if current_user
- if current_user = render 'layouts/nav/dashboard'
= render 'layouts/nav/dashboard' - else
- else = render 'layouts/nav/explore'
= render 'layouts/nav/explore'
%button.navbar-toggle{ type: 'button' } %button.navbar-toggle{ type: 'button' }
%span.sr-only Toggle navigation %span.sr-only Toggle navigation
= icon('ellipsis-v') = icon('ellipsis-v')
......
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