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
Jérome Perrin
gitlab-ce
Commits
3d9ba7b7
Commit
3d9ba7b7
authored
Dec 07, 2012
by
Ariejan de Vroom
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2202 from gitlabhq/ui/tiny_nav
Redesign for navigation bar.
parents
85db534a
55f776f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
25 deletions
+7
-25
app/assets/stylesheets/sections/nav.scss
app/assets/stylesheets/sections/nav.scss
+7
-25
No files found.
app/assets/stylesheets/sections/nav.scss
View file @
3d9ba7b7
...
@@ -3,15 +3,13 @@
...
@@ -3,15 +3,13 @@
*
*
*/
*/
ul
.main_menu
{
ul
.main_menu
{
@include
border-radius
(
4px
);
margin
:
auto
;
margin
:
auto
;
margin
:
30px
0
;
margin
:
30px
0
;
border
:
1px
solid
#BBB
;
margin-top
:
10px
;
border-bottom
:
1px
solid
#DDD
;
height
:
37px
;
height
:
37px
;
@include
bg-gray-gradient
;
position
:
relative
;
position
:
relative
;
overflow
:
hidden
;
overflow
:
hidden
;
@include
shade
;
.count
{
.count
{
position
:
relative
;
position
:
relative
;
top
:
-1px
;
top
:
-1px
;
...
@@ -24,9 +22,6 @@ ul.main_menu {
...
@@ -24,9 +22,6 @@ ul.main_menu {
line-height
:
14px
;
line-height
:
14px
;
text-align
:
center
;
text-align
:
center
;
color
:
#777
;
color
:
#777
;
background
:
#f2f2f2
;
border-top
:
1px
solid
#CCC
;
@include
border-radius
(
8px
);
}
}
.label
{
.label
{
background
:
$hover
;
background
:
$hover
;
...
@@ -38,23 +33,10 @@ ul.main_menu {
...
@@ -38,23 +33,10 @@ ul.main_menu {
margin
:
0
;
margin
:
0
;
display
:
table-cell
;
display
:
table-cell
;
width
:
1%
;
width
:
1%
;
border-right
:
1px
solid
#DDD
;
border-left
:
1px
solid
#EEE
;
border-bottom
:
2px
solid
#CFCFCF
;
&
:first-child
{
@include
border-radius
(
5px
0
0
5px
);
border-left
:
0
;
}
&
.active
{
&
.active
{
background-color
:
#D5D5D5
;
border-bottom
:
2px
solid
#474D57
;
border-right
:
1px
solid
#BBB
;
a
{
border-left
:
1px
solid
#BBB
;
color
:
$style_color
;
@include
border-radius
(
0
0
1px
1px
);
&
:first-child
{
border-bottom
:
none
;
border-left
:
none
;
}
}
}
}
...
@@ -73,10 +55,10 @@ ul.main_menu {
...
@@ -73,10 +55,10 @@ ul.main_menu {
a
{
a
{
display
:
block
;
display
:
block
;
text-align
:
center
;
text-align
:
center
;
font-weight
:
bold
;
font-weight
:
normal
;
height
:
35px
;
height
:
35px
;
line-height
:
36px
;
line-height
:
36px
;
color
:
$style_color
;
color
:
#777
;
text-shadow
:
0
1px
1px
white
;
text-shadow
:
0
1px
1px
white
;
padding
:
0
10px
;
padding
:
0
10px
;
}
}
...
...
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