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

69 lines
1.1 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
margin: auto;
margin: 30px 0;
2012-12-06 15:54:53 +01:00
margin-top: 10px;
height: 38px;
position: relative;
overflow: hidden;
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;
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-bottom: 2px solid #EEE;
&.active {
2012-12-06 15:54:53 +01:00
border-bottom: 2px solid #474D57;
a {
color: $style_color;
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 {
i {
font-size: 20px;
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;
2012-12-06 15:54:53 +01:00
font-weight: normal;
height: 36px;
line-height: 36px;
2012-12-06 15:54:53 +01:00
color: #777;
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
*
*/