提交 | 用户 | 时间
|
58d006
|
1 |
.enable_navbar_tabbed_dropdowns() when(@enable-navbar-tabbed-dropdowns = true) { |
A |
2 |
|
|
3 |
//tabs inside navbar dropdown |
|
4 |
.dropdown-navbar { |
|
5 |
.nav-tabs { |
|
6 |
border-width: 0; |
|
7 |
box-shadow: none; |
|
8 |
background-color:#F9F9F9 !important; |
|
9 |
top: auto; |
|
10 |
width: 100%; |
|
11 |
|
|
12 |
//to make them all the same size |
|
13 |
> li { |
|
14 |
display: table-cell; |
|
15 |
width: 1%; |
|
16 |
float: none !important;//to override .rtl's |
|
17 |
|
|
18 |
> a { |
|
19 |
margin: 0 0 0 1px !important; |
|
20 |
text-align: center; |
|
21 |
|
|
22 |
box-shadow: none !important; |
|
23 |
background-color: #F9F9F9 !important; |
|
24 |
|
|
25 |
border-width: 0 !important; |
|
26 |
border-bottom: 2px solid #BECAD1 !important; |
|
27 |
|
|
28 |
//&:focus { |
|
29 |
// color: darken(desaturate(#5085AF, 5%), 5%) !important; |
|
30 |
//} |
|
31 |
|
|
32 |
&:before { |
|
33 |
//the small line separating tabs |
|
34 |
display: block; |
|
35 |
content: ""; |
|
36 |
position: absolute; |
|
37 |
left: -1px; |
|
38 |
top: 3px; |
|
39 |
bottom: 3px; |
|
40 |
width: 1px; |
|
41 |
background-color: #BECAD1; |
|
42 |
} |
|
43 |
} |
|
44 |
&:first-child > a { |
|
45 |
margin-left: 0 !important; |
|
46 |
&:before { |
|
47 |
//hide the separator line |
|
48 |
display: none; |
|
49 |
} |
|
50 |
} |
|
51 |
&.active > a { |
|
52 |
border-bottom: 2px solid #79B0CE !important; |
|
53 |
color:#5085AF !important; |
|
54 |
background-color: #ECF2F7 !important; |
|
55 |
} |
|
56 |
} |
|
57 |
}//.nav-tabs |
|
58 |
|
|
59 |
.tab-content { |
|
60 |
padding: 0 !important; |
|
61 |
border-color: #FFF !important; |
|
62 |
|
|
63 |
.dropdown-menu { |
|
64 |
display: block; |
|
65 |
position: static; |
|
66 |
|
|
67 |
margin: 0 !important; |
|
68 |
padding-top: 2px; |
|
69 |
|
|
70 |
border-color: #FFF !important; |
|
71 |
box-shadow: none !important; |
|
72 |
width: 100%; |
|
73 |
} |
|
74 |
}//.tab-content |
|
75 |
|
|
76 |
|
|
77 |
&.navbar-pink { |
|
78 |
.nav-tabs > li.active > a { |
|
79 |
border-bottom: 2px solid #E5BCD4 !important; |
|
80 |
color: #C06090 !important; |
|
81 |
background-color: #F7ECF2 !important; |
|
82 |
} |
|
83 |
.nav-tabs > li:not(.active) > a:hover { |
|
84 |
color: #BA7396; |
|
85 |
} |
|
86 |
.nav-tabs > li > a:before { |
|
87 |
background-color: #CEBBCB; |
|
88 |
} |
|
89 |
.nav-tabs > li > a { |
|
90 |
border-bottom-color: #CEBBCD !important; |
|
91 |
} |
|
92 |
} |
|
93 |
} |
|
94 |
|
|
95 |
|
|
96 |
} |
|
97 |
.enable_navbar_tabbed_dropdowns(); |