gitlab-org--gitlab-foss/app/assets/stylesheets/sections/nav.scss

65 lines
1.2 KiB
SCSS
Raw Normal View History

2013-04-01 15:30:48 -04:00
.main-nav {
margin: 30px 0;
2012-12-06 09:54:53 -05:00
margin-top: 10px;
2013-04-01 15:30:48 -04:00
border-bottom: 1px solid #E1E1E1;
ul {
margin: auto;
height: 39px;
2012-06-12 07:58:44 -04:00
position: relative;
2013-04-01 15:30:48 -04:00
top: 3px;
overflow: hidden;
.count {
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;
}
.label {
background: $hover;
text-shadow: none;
color: $style_color;
2012-06-12 07:58:44 -04:00
}
2013-04-01 15:30:48 -04:00
li {
list-style-type: none;
margin: 0;
display: table-cell;
width: 1%;
&.active {
border-bottom: 3px solid #777;
a {
color: $style_color;
font-weight: bolder;
}
}
2012-07-02 05:15:23 -04:00
2013-04-01 15:30:48 -04:00
&.home {
a {
i {
font-size: 20px;
position: relative;
top: 4px;
}
2012-07-03 13:52:48 -04:00
}
}
2012-07-02 05:15:23 -04:00
}
2013-04-01 15:30:48 -04:00
a {
display: block;
text-align: center;
font-weight: normal;
height: 36px;
line-height: 34px;
color: #777;
text-shadow: 0 1px 1px white;
padding: 0 10px;
}
2012-07-03 13:52:48 -04:00
}
2012-06-12 07:58:44 -04:00
}