blob: e274dde0e129b5fd2878f5de792406e265fe7088 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
// Most of this is Bootstrap code and can be removed when switching to Bootstrap
.nav {
margin-bottom: 20px;
padding-left: 0; // Override default ul/ol
list-style: none;
> li {
position: relative;
display: block;
> a {
position: relative;
display: block;
padding: 11px 70px;
text-decoration: none;
}
}
}
// .clearfix
.nav:before, .nav:after {
display: table;
content: " ";
}
.nav:after {
clear: both;
}
.nav-pills {
> li {
float: left;
border: 1px solid @color-silver-l80;
border-left: 0;
&:first-child {
border-radius: 3px 0 0 3px;
border: 1px solid @color-silver-l80;
}
&:last-child {
border-radius: 0 3px 3px 0;
}
> a {
color: @theme-color-link;
background-color: @color-silver-l95;
&:hover,
&:focus {
background-color: @color-silver-l85;
}
}
&.active > a {
color: @theme-color-text;
background-color: @theme-color-background-base;
cursor: default;
}
}
}
|