This repository has been archived by the owner on Sep 6, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathjbar.css
205 lines (182 loc) · 4.3 KB
/
jbar.css
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
/*
* jbar (for jQuery)
* version: 0.2.0 (07/02/2011)
* http://javan.github.com/jbar/
* http://github.com/javan/jbar
*
* Licensed under the MIT:
* http://www.opensource.org/licenses/mit-license.php
*
* Copyright 2010+ Javan Makhmali :: javan@javan.us
*
*/
ul.jbar {
margin: 0;
padding: 0;
list-style-type: none;
text-align: left;
font-family: arial, sans-serif;
letter-spacing: .02em;
clear: both;
}
ul.jbar * {
outline: 0;
}
ul.jbar a {
font-size: 12px;
line-height: 16px;
}
ul.jbar li {
position: relative;
margin: 0;
padding: 0;
text-shadow: 1px 1px 2px #292929;
display: inline-block;
float: left;
}
ul.jbar li a {
color: #cecece !important;
text-decoration: none;
padding: 3px 5px;
background-color: #3D3D3D !important;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#656464), to(#3D3D3D));
background: -moz-linear-gradient(center top, #656464, #3D3D3D) repeat scroll 0 0 transparent;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#656464', endColorstr='#3D3D3D', GradientType=0);
-webkit-background-clip: padding-box;
text-shadow: 1px 1px 2px #292929;
display: inline-block;
line-height: 16px;
height: 16px;
vertical-align: middle;
border-left: 1px solid #7b7b7b;
border-right: 1px solid #363636;
}
ul.jbar li a.first {
-webkit-border-top-left-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
-moz-border-radius-topleft: 3px;
-moz-border-radius-bottomleft: 3px;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
border-left: none;
}
ul.jbar li a.last,
ul.jbar li a.last span.trigger {
-webkit-border-top-right-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
-moz-border-radius-topright: 3px;
-moz-border-radius-bottomright: 3px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-right: none;
}
ul.jbar li .triggered {
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#3D3D3D), to(#656464));
background: -moz-linear-gradient(center top, #3D3D3D, #656464) repeat scroll 0 0 transparent;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3D3D3D', endColorstr='#656464', GradientType=0);
color: #eee;
border-left-color: transparent;
}
ul.jbar li a.has_down_arrow {
padding-right: 16px;
}
ul.jbar li a.has_lonely_down_arrow {
padding-right: 12px;
}
ul.jbar li a.has_trigger_down_arrow span.link_text {
padding-right: 5px;
border-right: 1px dotted #ccc;
}
ul.jbar li a.has_no_down_arrow:hover,
ul.jbar li a.has_lonely_down_arrow:hover,
ul.jbar li a.trigger:hover,
ul.jbar li .hovered {
color: #fff !important;
}
ul.jbar span.down_arrow {
font-size: 9px;
width: 16px;
display: block;
height: 100%;
position: absolute;
top: 0;
right: 0;
cursor: pointer;
}
ul.jbar span.down_arrow em {
text-align: left;
display: block;
padding: 0.37em 0 0 0.36em;
}
ul.jbar.jbar_browser_IE6 a.has_lonely_down_arrow span.down_arrow em {
padding-left: 0.4em;
}
ul.jbar div.submenu_container {
display: none;
position: absolute;
z-index: 1000;
left: -1px;
width: 150px;
opacity: .97;
text-align: left;
padding-top: 12px;
}
ul.jbar span.up_arrow {
position: absolute;
font-size: 13px !important;
top: 0;
color: #3D3D3D;
text-shadow: 0px -1px 1px #3D3D3D;
display: block;
}
ul.jbar ul {
border: 3px solid #3D3D3D;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-webkit-box-shadow: 0px 0px 7px #1a1a1a;
-moz-box-shadow: 0px 0px 7px #1a1a1a;
box-shadow: 0px 0px 7px #1a1a1a;
-webkit-background-clip: padding-box;
margin: 0;
padding: 0;
list-style-type: none;
display: none;
}
ul.jbar ul li {
margin: 0;
padding: 0;
text-shadow: none;
float: none;
display: block;
overflow: hidden;
width: 100%;
}
ul.jbar ul li a {
display: block;
overflow: hidden;
text-overflow: ellipsis;
padding: 4px 6px;
color: #fff !important;
text-decoration: none;
text-shadow: 1px 1px 2px #292929;
background-color: #454545;
background-image: none;
-moz-border-radius: 0;
-webkit-border-radius: 0;
filter: -;
zoom: 1;
height: auto;
border-left: none;
border-right: none;
}
ul.jbar ul li a:hover {
background-color: #fff !important;
background-image: none;
color: #333 !important;
text-shadow: none;
}
div.jbar_IE_zIndex_fix {
position: relative;
display: inline;
zoom: 1;
}