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
4a3f3bc7
Unverified
Commit
4a3f3bc7
authored
Apr 28, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make layout navigation gray and fluid
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
adc296e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
4 deletions
+23
-4
nav.scss
app/assets/stylesheets/framework/nav.scss
+19
-0
_page.html.haml
app/views/layouts/_page.html.haml
+4
-4
No files found.
app/assets/stylesheets/framework/nav.scss
View file @
4a3f3bc7
...
...
@@ -185,3 +185,22 @@
}
}
}
.layout-nav
{
background
:
$gray-light
;
border-bottom
:
1px
solid
$border-color
;
.controls
{
float
:
right
;
position
:
relative
;
top
:
10px
;
.dropdown
{
margin-left
:
7px
;
}
}
.nav-links
{
border-bottom
:
none
;
}
}
app/views/layouts/_page.html.haml
View file @
4a3f3bc7
...
...
@@ -22,13 +22,13 @@
=
image_tag
avatar_icon
(
current_user
,
60
),
alt:
'Profile'
,
class:
'avatar avatar s36'
.username
=
current_user
.
username
-
if
defined?
(
nav
)
&&
nav
.layout-nav
.container-fluid
=
render
"layouts/nav/
#{
nav
}
"
.content-wrapper
=
render
"layouts/flash"
=
yield
:flash_message
-
if
defined?
(
nav
)
&&
nav
.layout-nav
%div
{
class:
container_class
}
=
render
"layouts/nav/
#{
nav
}
"
%div
{
class:
(
container_class
unless
@no_container
)
}
.content
.clearfix
...
...
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