gitlab-org--gitlab-foss/app/assets/stylesheets/sections/nav.scss
2013-04-01 22:30:48 +03:00

64 lines
1.2 KiB
SCSS

.main-nav {
margin: 30px 0;
margin-top: 10px;
border-bottom: 1px solid #E1E1E1;
ul {
margin: auto;
height: 39px;
position: relative;
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;
}
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;
}
}
&.home {
a {
i {
font-size: 20px;
position: relative;
top: 4px;
}
}
}
}
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;
}
}
}