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
Show 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,10 +100,27 @@ header {
}
}
}
}
.global-dropdown
{
position
:
absolute
;
left
:
-10px
;
.badge
{
font-size
:
11px
;
}
li
.active
{
a
{
font-weight
:
bold
;
}
}
li
:hover
{
.badge
{
background-color
:
$white-light
;
}
}
}
.global-dropdown-toggle
{
...
...
@@ -118,7 +135,6 @@ header {
color
:
$gl-header-nav-hover-color
;
}
}
}
.header-content
{
position
:
relative
;
...
...
app/views/layouts/header/_default.html.haml
View file @
23035d90
...
...
@@ -6,8 +6,7 @@
%button
.global-dropdown-toggle
{
type:
'button'
,
'data-toggle'
=>
'dropdown'
}
%span
.sr-only
Toggle navigation
=
icon
(
'bars'
)
.dropdown-menu-nav
%ul
.dropdown-menu-nav.global-dropdown-menu
-
if
current_user
=
render
'layouts/nav/dashboard'
-
else
...
...
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