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
f464d4c9
Commit
f464d4c9
authored
Jul 01, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI: Navifation -> full width tabs
parent
6a58deb5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
app/assets/stylesheets/nav.scss
app/assets/stylesheets/nav.scss
+6
-11
No files found.
app/assets/stylesheets/nav.scss
View file @
f464d4c9
...
@@ -13,6 +13,9 @@ nav.main_menu {
...
@@ -13,6 +13,9 @@ nav.main_menu {
background-image
:
-webkit-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-webkit-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-moz-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-moz-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-o-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-o-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
display
:table
;
table-layout
:fixed
;
width
:
100%
;
@include
shade
;
@include
shade
;
.count
{
.count
{
position
:
relative
;
position
:
relative
;
...
@@ -37,13 +40,7 @@ nav.main_menu {
...
@@ -37,13 +40,7 @@ nav.main_menu {
color
:
$style_color
;
color
:
$style_color
;
}
}
a
{
a
{
// Landscape phone to portrait tablet
display
:table-cell
;
@media
(
max-width
:
1080px
)
{
min-width
:
35px
;
}
// Portrait tablet to landscape and desktop
@media
(
min-width
:
1080px
)
and
(
max-width
:
1200px
)
{
min-width
:
40px
;
}
// Large desktop
@media
(
min-width
:
1200px
)
{
min-width
:
55px
;
}
text-align
:center
;
text-align
:center
;
font-weight
:bold
;
font-weight
:bold
;
&
:first-child
{
&
:first-child
{
...
@@ -55,12 +52,10 @@ nav.main_menu {
...
@@ -55,12 +52,10 @@ nav.main_menu {
border-bottom-left-radius
:
4px
;
border-bottom-left-radius
:
4px
;
border-left
:
0
;
border-left
:
0
;
}
}
padding
:
9px
25px
;
padding
:
9px
2px
;
display
:
inline-block
;
color
:
$style_color
;
color
:
$style_color
;
position
:
relative
;
position
:
relative
;
margin
:
0
;
margin
:
0
;
float
:left
;
text-shadow
:
0
1px
1px
white
;
text-shadow
:
0
1px
1px
white
;
border-right
:
1px
solid
#DDD
;
border-right
:
1px
solid
#DDD
;
border-left
:
1px
solid
#EEE
;
border-left
:
1px
solid
#EEE
;
...
@@ -68,7 +63,6 @@ nav.main_menu {
...
@@ -68,7 +63,6 @@ nav.main_menu {
&
.home
{
&
.home
{
background
:
url(home_icon.PNG)
no-repeat
center
center
;
background
:
url(home_icon.PNG)
no-repeat
center
center
;
text-indent
:
-9999px
;
text-indent
:
-9999px
;
//min-width:40px;
img
{
img
{
position
:relative
;
position
:relative
;
top
:
4px
;
top
:
4px
;
...
@@ -82,6 +76,7 @@ nav.main_menu {
...
@@ -82,6 +76,7 @@ nav.main_menu {
border-radius
:
0
0
1px
1px
;
border-radius
:
0
0
1px
1px
;
&
:first-child
{
&
:first-child
{
border-bottom
:none
;
border-bottom
:none
;
border-left
:none
;
}
}
}
}
}
}
...
...
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