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
2293100d
Commit
2293100d
authored
Jun 03, 2016
by
Annabel Dunstone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update nav link font size and spacing; fix hamburger icon
parent
e8a0cafc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
24 deletions
+17
-24
header.scss
app/assets/stylesheets/framework/header.scss
+2
-1
sidebar.scss
app/assets/stylesheets/framework/sidebar.scss
+5
-13
_dashboard.html.haml
app/views/layouts/nav/_dashboard.html.haml
+10
-10
No files found.
app/assets/stylesheets/framework/header.scss
View file @
2293100d
...
...
@@ -89,7 +89,8 @@ header {
display
:
none
;
position
:
absolute
;
left
:
-10px
;
margin
:
8px
0
;
margin
:
6px
0
;
font-size
:
18px
;
padding
:
6px
10px
;
border
:
none
;
background-color
:
$background-color
;
...
...
app/assets/stylesheets/framework/sidebar.scss
View file @
2293100d
#logo
{
z-index
:
2
;
position
:
relative
;
cursor
:
pointer
;
}
.page-with-sidebar
{
padding-top
:
$header-height
;
transition-duration
:
.3s
;
...
...
@@ -98,9 +92,8 @@
a
{
text-align
:
center
;
padding
:
8px
0
;
padding
:
8px
;
font-size
:
$gl-font-size
;
line-height
:
24px
;
color
:
$gray
;
display
:
block
;
text-decoration
:
none
;
...
...
@@ -120,11 +113,10 @@
color
:
$gray-light
;
}
.count
{
float
:
right
;
background
:
#eee
;
padding
:
0
8px
;
@include
border-radius
(
6px
);
.nav-link-text
{
margin-top
:
3px
;
font-size
:
13px
;
line-height
:
18px
;
}
&
.back-link
i
{
...
...
app/views/layouts/nav/_dashboard.html.haml
View file @
2293100d
...
...
@@ -2,50 +2,50 @@
=
nav_link
(
path:
[
'root#index'
,
'projects#trending'
,
'projects#starred'
,
'dashboard/projects#index'
],
html_options:
{
class:
"
#{
project_tab_class
}
home"
})
do
=
link_to
dashboard_projects_path
,
title:
'Projects'
,
class:
'dashboard-shortcuts-projects'
do
=
icon
(
'bookmark fw'
)
%div
.nav-link-text
Projects
=
nav_link
(
controller: :todos
)
do
=
link_to
dashboard_todos_path
,
title:
'Todos'
do
=
icon
(
'bell fw'
)
%div
.nav-link-text
Todos
=
nav_link
(
path:
'dashboard#activity'
)
do
=
link_to
activity_dashboard_path
,
class:
'dashboard-shortcuts-activity'
,
title:
'Activity'
do
=
icon
(
'dashboard fw'
)
%div
.nav-link-text
Activity
=
nav_link
(
controller:
[
:groups
,
'groups/milestones'
,
'groups/group_members'
])
do
=
link_to
dashboard_groups_path
,
title:
'Groups'
do
=
icon
(
'group fw'
)
%div
.nav-link-text
Groups
=
nav_link
(
controller:
'dashboard/milestones'
)
do
=
link_to
dashboard_milestones_path
,
title:
'Milestones'
do
=
icon
(
'clock-o fw'
)
%div
.nav-link-text
Milestones
=
nav_link
(
path:
'dashboard#issues'
)
do
=
link_to
assigned_issues_dashboard_path
,
title:
'Issues'
,
class:
'dashboard-shortcuts-issues'
do
=
icon
(
'exclamation-circle fw'
)
%div
.nav-link-text
Issues
=
nav_link
(
path:
'dashboard#merge_requests'
)
do
=
link_to
assigned_mrs_dashboard_path
,
title:
'Merge Requests'
,
class:
'dashboard-shortcuts-merge_requests'
do
=
icon
(
'tasks fw'
)
%div
.nav-link-text
Merge Requests
=
nav_link
(
controller: :snippets
)
do
=
link_to
dashboard_snippets_path
,
title:
'Snippets'
do
=
icon
(
'clipboard fw'
)
%div
.nav-link-text
Snippets
=
nav_link
(
controller: :help
)
do
=
link_to
help_path
,
title:
'Help'
do
=
icon
(
'question-circle fw'
)
%div
.nav-link-text
Help
=
nav_link
(
html_options:
{
class:
profile_tab_class
})
do
=
link_to
profile_path
,
title:
'Profile Settings'
,
data:
{
placement:
'bottom'
}
do
=
icon
(
'user fw'
)
%div
.nav-link-text
Profile Settings
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