BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
23035d90
Commit
23035d90
authored
Feb 13, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make active links bold; fix badge styling
parent
c780ad0e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
18 deletions
+33
-18
header.scss
app/assets/stylesheets/framework/header.scss
+28
-12
_default.html.haml
app/views/layouts/header/_default.html.haml
+5
-6
No files found.
app/assets/stylesheets/framework/header.scss
View file @
23035d90
...
...
@@ -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
;
...
...
app/views/layouts/header/_default.html.haml
View file @
23035d90
...
...
@@ -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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment