Skip to content
Snippets Groups Projects
Commit 23035d90 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray
Browse files

Make active links bold; fix badge styling

parent c780ad0e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -100,26 +100,42 @@ header {
}
}
}
}
 
.global-dropdown {
position: absolute;
left: -10px;
.global-dropdown {
position: absolute;
left: -10px;
.badge {
font-size: 11px;
}
 
.global-dropdown-toggle {
margin: 7px 0;
font-size: 18px;
padding: 6px 10px;
border: none;
background-color: $gray-light;
li.active {
a {
font-weight: bold;
}
}
 
&:hover {
background-color: $white-normal;
color: $gl-header-nav-hover-color;
li:hover {
.badge {
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 {
position: relative;
height: $header-height;
Loading
Loading
Loading
Loading
@@ -6,12 +6,11 @@
%button.global-dropdown-toggle{ type: 'button', 'data-toggle' => 'dropdown' }
%span.sr-only Toggle navigation
= icon('bars')
.dropdown-menu-nav
%ul
- if current_user
= render 'layouts/nav/dashboard'
- else
= render 'layouts/nav/explore'
.dropdown-menu-nav.global-dropdown-menu
- if current_user
= render 'layouts/nav/dashboard'
- else
= render 'layouts/nav/explore'
%button.navbar-toggle{ type: 'button' }
%span.sr-only Toggle navigation
= icon('ellipsis-v')
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment