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

95 lines
1.8 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 {
2012-06-12 13:58:44 +02:00
border-radius: 4px;
margin: auto;
margin:30px 0;
2012-11-21 06:14:05 +01:00
border:1px solid #BBB;
2012-07-05 00:26:23 +02:00
height:37px;
2012-08-25 18:42:34 +02:00
@include bg-gray-gradient;
2012-07-03 19:52:48 +02:00
position:relative;
2012-08-02 08:07:01 +02:00
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;
border-radius: 8px;
-moz-border-radius: 8px;
}
2012-09-05 22:00:10 +02:00
.label {
2012-06-12 13:58:44 +02:00
background:$hover;
text-shadow:none;
color:$style_color;
}
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;
2012-07-05 00:26:23 +02:00
border-bottom:2px solid #CFCFCF;
2012-07-03 19:52:48 +02:00
2012-09-05 22:00:10 +02:00
&:first-child{
2012-06-12 13:58:44 +02:00
-webkit-border-top-left-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-topleft: 4px;
-moz-border-radius-bottomleft: 4px;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
border-left: 0;
}
&.active {
2012-06-12 13:58:44 +02:00
background-color:#D5D5D5;
border-right: 1px solid #BBB;
border-left: 1px solid #BBB;
border-radius: 0 0 1px 1px;
2012-09-05 22:00:10 +02:00
&:first-child{
2012-06-12 13:58:44 +02:00
border-bottom:none;
2012-07-01 00:39:23 +02:00
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 {
2012-07-03 19:52:48 +02:00
position:relative;
top:4px;
}
}
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;
color: $style_color;
text-shadow:0 1px 1px white;
2012-09-01 21:21:28 +02:00
padding:0 10px;
2012-07-03 19:52:48 +02:00
}
2012-06-12 13:58:44 +02:00
}
/*
* End of Main Menu
*
*/