Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
18 deletions
+33
-18
app/assets/stylesheets/framework/header.scss
app/assets/stylesheets/framework/header.scss
+28
-12
app/views/layouts/header/_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