gitlabhq/app/assets/stylesheets/sections/nav.scss

89 lines
1.6 KiB
SCSS
Raw Normal View History

2012-06-12 13:58:44 +02:00
/*
* Main Menu of Application
*
*/
2012-09-05 22:00:10 +02:00
ul.main_menu {
@include border-radius(4px);
2012-06-12 13:58:44 +02:00
margin: auto;
margin: 30px 0;
border: 1px solid #BBB;
height: 37px;
2012-08-25 18:42:34 +02:00
@include bg-gray-gradient;
position: relative;
overflow: hidden;
2012-06-12 13:58:44 +02:00
@include shade;
2012-09-05 22:00:10 +02:00
.count {
2012-06-12 13:58:44 +02:00
position: relative;
top: -1px;
display: inline-block;
height: 15px;
margin: 0 0 0 5px;
padding: 0 8px 1px 8px;
height: auto;
font-size: 0.82em;
line-height: 14px;
text-align: center;
color: #777;
background: #f2f2f2;
border-top: 1px solid #CCC;
@include border-radius(8px);
2012-06-12 13:58:44 +02:00
}
2012-09-05 22:00:10 +02:00
.label {
background: $hover;
text-shadow: none;
color: $style_color;
2012-06-12 13:58:44 +02:00
}
2012-09-05 22:00:10 +02:00
li {
2012-07-03 19:52:48 +02:00
list-style-type: none;
margin: 0;
display: table-cell;
width: 1%;
border-right: 1px solid #DDD;
border-left: 1px solid #EEE;
border-bottom: 2px solid #CFCFCF;
2012-07-03 19:52:48 +02:00
2012-09-05 22:00:10 +02:00
&:first-child{
@include border-radius(5px 0 0 5px);
2012-06-12 13:58:44 +02:00
border-left: 0;
}
&.active {
background-color: #D5D5D5;
2012-06-12 13:58:44 +02:00
border-right: 1px solid #BBB;
border-left: 1px solid #BBB;
@include border-radius(0 0 1px 1px);
2012-09-05 22:00:10 +02:00
&:first-child{
border-bottom: none;
border-left: none;
2012-06-12 13:58:44 +02:00
}
}
2012-07-02 11:15:23 +02:00
2012-09-05 22:00:10 +02:00
&.home {
a {
2012-07-03 19:52:48 +02:00
background: url(home_icon.PNG) no-repeat center center;
text-indent:-9999px;
min-width: 20px;
2012-09-05 22:00:10 +02:00
img {
position: relative;
top: 4px;
2012-07-03 19:52:48 +02:00
}
}
2012-07-02 11:15:23 +02:00
}
2012-06-12 13:58:44 +02:00
}
2012-09-05 22:00:10 +02:00
a {
2012-07-03 19:52:48 +02:00
display: block;
text-align: center;
font-weight: bold;
height: 35px;
line-height: 36px;
2012-07-03 19:52:48 +02:00
color: $style_color;
text-shadow: 0 1px 1px white;
padding: 0 10px;
2012-07-03 19:52:48 +02:00
}
2012-06-12 13:58:44 +02:00
}
/*
* End of Main Menu
*
*/