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

65 lines
1.2 KiB
SCSS
Raw Normal View History

2013-04-01 21:30:48 +02:00
.main-nav {
margin: 30px 0;
2012-12-06 15:54:53 +01:00
margin-top: 10px;
2013-04-01 21:30:48 +02:00
border-bottom: 1px solid #E1E1E1;
ul {
margin: auto;
height: 39px;
2012-06-12 13:58:44 +02:00
position: relative;
2013-04-01 21:30:48 +02: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 13:58:44 +02:00
}
2013-04-01 21:30:48 +02: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 11:15:23 +02:00
2013-04-01 21:30:48 +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
}
2013-04-01 21:30:48 +02: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 19:52:48 +02:00
}
2012-06-12 13:58:44 +02:00
}