author | Giulio Cesare Solaroli <giulio.cesare@clipperz.com> | 2011-10-02 23:56:18 (UTC) |
---|---|---|
committer | Giulio Cesare Solaroli <giulio.cesare@clipperz.com> | 2011-10-02 23:56:18 (UTC) |
commit | ef68436ac04da078ffdcacd7e1f785473a303d45 (patch) (unidiff) | |
tree | c403752d66a2c4775f00affd4fa8431b29c5b68c /frontend/beta/css/yui/menu.css | |
parent | 597ecfbc0249d83e1b856cbd558340c01237a360 (diff) | |
download | clipperz-ef68436ac04da078ffdcacd7e1f785473a303d45.zip clipperz-ef68436ac04da078ffdcacd7e1f785473a303d45.tar.gz clipperz-ef68436ac04da078ffdcacd7e1f785473a303d45.tar.bz2 |
First version of the newly restructured repository
Diffstat (limited to 'frontend/beta/css/yui/menu.css') (more/less context) (show whitespace changes)
-rw-r--r-- | frontend/beta/css/yui/menu.css | 328 |
1 files changed, 328 insertions, 0 deletions
diff --git a/frontend/beta/css/yui/menu.css b/frontend/beta/css/yui/menu.css new file mode 100644 index 0000000..ab3daea --- a/dev/null +++ b/frontend/beta/css/yui/menu.css | |||
@@ -0,0 +1,328 @@ | |||
1 | /* | ||
2 | |||
3 | Copyright 2008-2011 Clipperz Srl | ||
4 | |||
5 | This file is part of Clipperz's Javascript Crypto Library. | ||
6 | Javascript Crypto Library provides web developers with an extensive | ||
7 | and efficient set of cryptographic functions. The library aims to | ||
8 | obtain maximum execution speed while preserving modularity and | ||
9 | reusability. | ||
10 | For further information about its features and functionalities please | ||
11 | refer to http://www.clipperz.com | ||
12 | |||
13 | * Javascript Crypto Library is free software: you can redistribute | ||
14 | it and/or modify it under the terms of the GNU Affero General Public | ||
15 | License as published by the Free Software Foundation, either version | ||
16 | 3 of the License, or (at your option) any later version. | ||
17 | |||
18 | * Javascript Crypto Library is distributed in the hope that it will | ||
19 | be useful, but WITHOUT ANY WARRANTY; without even the implied | ||
20 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
21 | See the GNU Affero General Public License for more details. | ||
22 | |||
23 | * You should have received a copy of the GNU Affero General Public | ||
24 | License along with Javascript Crypto Library. If not, see | ||
25 | <http://www.gnu.org/licenses/>. | ||
26 | |||
27 | */ | ||
28 | |||
29 | /* | ||
30 | Copyright (c) 2006, Yahoo! Inc. All rights reserved. | ||
31 | Code licensed under the BSD License: | ||
32 | http://developer.yahoo.com/yui/license.txt | ||
33 | Version: 0.11.3 | ||
34 | */ | ||
35 | |||
36 | |||
37 | |||
38 | /* Menu styles */ | ||
39 | |||
40 | div.yuimenu { | ||
41 | |||
42 | z-index:1; | ||
43 | visibility:hidden; | ||
44 | background-color:#f6f7ee; | ||
45 | border:solid 1px #c4c4be; | ||
46 | padding:1px; | ||
47 | |||
48 | } | ||
49 | |||
50 | |||
51 | /* MenuBar Styles */ | ||
52 | |||
53 | div.yuimenubar { | ||
54 | |||
55 | background-color:#f6f7ee; | ||
56 | |||
57 | } | ||
58 | |||
59 | /* | ||
60 | Application of "zoom:1" triggers "haslayout" in IE so that the module's | ||
61 | body clears its floated elements | ||
62 | */ | ||
63 | div.yuimenubar div.bd { | ||
64 | |||
65 | zoom:1; | ||
66 | |||
67 | } | ||
68 | |||
69 | /* | ||
70 | Clear the module body for other browsers | ||
71 | */ | ||
72 | div.yuimenubar div.bd:after { | ||
73 | |||
74 | content:'.'; | ||
75 | display:block; | ||
76 | clear:both; | ||
77 | visibility:hidden; | ||
78 | height:0; | ||
79 | |||
80 | } | ||
81 | |||
82 | |||
83 | /* Matches the group title (H6) inside a Menu or MenuBar instance */ | ||
84 | |||
85 | div.yuimenu h6, | ||
86 | div.yuimenubar h6 { | ||
87 | |||
88 | font-size:100%; | ||
89 | font-weight:normal; | ||
90 | margin:0; | ||
91 | border:solid 1px #c4c4be; | ||
92 | color:#b9b9b9; | ||
93 | |||
94 | } | ||
95 | |||
96 | div.yuimenubar h6 { | ||
97 | |||
98 | float:left; | ||
99 | display:inline; /* Prevent margin doubling in IE */ | ||
100 | padding:4px 12px; | ||
101 | border-width:0 1px 0 0; | ||
102 | |||
103 | } | ||
104 | |||
105 | div.yuimenu h6 { | ||
106 | |||
107 | float:none; | ||
108 | display:block; | ||
109 | border-width:1px 0 0 0; | ||
110 | padding:5px 10px 0 10px; | ||
111 | |||
112 | } | ||
113 | |||
114 | |||
115 | /* Matches the UL inside a Menu or MenuBar instance */ | ||
116 | |||
117 | div.yuimenubar ul { | ||
118 | |||
119 | list-style-type:none; | ||
120 | margin:0; | ||
121 | padding:0; | ||
122 | |||
123 | } | ||
124 | |||
125 | div.yuimenu ul { | ||
126 | |||
127 | list-style-type:none; | ||
128 | border:solid 1px #c4c4be; | ||
129 | border-width:1px 0 0 0; | ||
130 | margin:0; | ||
131 | padding:10px 0; | ||
132 | |||
133 | } | ||
134 | |||
135 | |||
136 | div.yuimenu ul.first-of-type, | ||
137 | div.yuimenu ul.hastitle, | ||
138 | div.yuimenu h6.first-of-type { | ||
139 | |||
140 | border-width:0; | ||
141 | |||
142 | } | ||
143 | |||
144 | |||
145 | /* MenuItem and MenuBarItem styles */ | ||
146 | |||
147 | div.yuimenu li, | ||
148 | div.yuimenubar li { | ||
149 | |||
150 | font-size:85%; | ||
151 | cursor:pointer; | ||
152 | cursor:hand; | ||
153 | white-space:nowrap; | ||
154 | text-align:left; | ||
155 | |||
156 | } | ||
157 | |||
158 | div.yuimenu li.yuimenuitem { | ||
159 | |||
160 | padding:2px 24px; | ||
161 | |||
162 | } | ||
163 | |||
164 | div.yuimenu li li, | ||
165 | div.yuimenubar li li { | ||
166 | |||
167 | font-size:100%; | ||
168 | |||
169 | } | ||
170 | |||
171 | |||
172 | /* Matches the help text for a menu item */ | ||
173 | |||
174 | div.yuimenu li em { | ||
175 | |||
176 | font-style:normal; | ||
177 | margin:0 0 0 40px; | ||
178 | |||
179 | } | ||
180 | |||
181 | div.yuimenu li a em { | ||
182 | |||
183 | margin:0; | ||
184 | |||
185 | } | ||
186 | |||
187 | div.yuimenu li a, | ||
188 | div.yuimenubar li a { | ||
189 | |||
190 | /* | ||
191 | "zoom:1" triggers "haslayout" in IE to ensure that the mouseover and | ||
192 | mouseout events bubble to the parent LI in IE. | ||
193 | */ | ||
194 | zoom:1; | ||
195 | color:#000; | ||
196 | text-decoration:none; | ||
197 | |||
198 | } | ||
199 | |||
200 | div.yuimenu li.hassubmenu, | ||
201 | div.yuimenu li.hashelptext { | ||
202 | |||
203 | text-align:right; | ||
204 | |||
205 | } | ||
206 | |||
207 | div.yuimenu li.hassubmenu a.hassubmenu, | ||
208 | div.yuimenu li.hashelptext a.hashelptext { | ||
209 | |||
210 | float:left; | ||
211 | display:inline; /* Prevent margin doubling in IE */ | ||
212 | text-align:left; | ||
213 | |||
214 | } | ||
215 | |||
216 | |||
217 | /* Matches focused and selected menu items */ | ||
218 | |||
219 | div.yuimenu li.selected, | ||
220 | div.yuimenubar li.selected { | ||
221 | |||
222 | background-color:#8c8ad0; | ||
223 | |||
224 | } | ||
225 | |||
226 | div.yuimenu li.selected a.selected, | ||
227 | div.yuimenubar li.selected a.selected { | ||
228 | |||
229 | text-decoration:underline; | ||
230 | |||
231 | } | ||
232 | |||
233 | div.yuimenu li.selected a.selected, | ||
234 | div.yuimenu li.selected em.selected, | ||
235 | div.yuimenubar li.selected a.selected { | ||
236 | |||
237 | color:#fff; | ||
238 | |||
239 | } | ||
240 | |||
241 | |||
242 | /* Matches disabled menu items */ | ||
243 | |||
244 | div.yuimenu li.disabled, | ||
245 | div.yuimenubar li.disabled { | ||
246 | |||
247 | cursor:default; | ||
248 | |||
249 | } | ||
250 | |||
251 | div.yuimenu li.disabled a.disabled, | ||
252 | div.yuimenu li.disabled em.disabled, | ||
253 | div.yuimenubar li.disabled a.disabled { | ||
254 | |||
255 | color:#b9b9b9; | ||
256 | cursor:default; | ||
257 | |||
258 | } | ||
259 | |||
260 | div.yuimenubar li.yuimenubaritem { | ||
261 | |||
262 | float:left; | ||
263 | display:inline; /* Prevent margin doubling in IE */ | ||
264 | border-width:0 0 0 1px; | ||
265 | border-style:solid; | ||
266 | border-color:#c4c4be; | ||
267 | padding:4px 24px; | ||
268 | margin:0; | ||
269 | |||
270 | } | ||
271 | |||
272 | div.yuimenubar li.yuimenubaritem.first-of-type { | ||
273 | |||
274 | border-width:0; | ||
275 | |||
276 | } | ||
277 | |||
278 | |||
279 | /* Matches the submenu indicator for menu items */ | ||
280 | |||
281 | div.yuimenubar li.yuimenubaritem img { | ||
282 | |||
283 | height:8px; | ||
284 | width:8px; | ||
285 | margin:0 0 0 10px; | ||
286 | vertical-align:middle; | ||
287 | |||
288 | } | ||
289 | |||
290 | div.yuimenu li.yuimenuitem img { | ||
291 | |||
292 | height:8px; | ||
293 | width:8px; | ||
294 | margin:0 -16px 0 10px; | ||
295 | border:0; | ||
296 | |||
297 | *margin-left:0; | ||
298 | *border-left-width:10px; | ||
299 | *border-style:solid; | ||
300 | *border-color:#f6f7ee; | ||
301 | |||
302 | } | ||
303 | |||
304 | div.yuimenu li.yuimenuitem.selected img.selected { | ||
305 | |||
306 | *border-color:#8c8ad0; | ||
307 | |||
308 | } | ||
309 | |||
310 | div.yuimenu li.checked { | ||
311 | |||
312 | position:relative; | ||
313 | |||
314 | } | ||
315 | |||
316 | div.yuimenu li.checked img.checked { | ||
317 | |||
318 | height:8px; | ||
319 | width:8px; | ||
320 | margin:0; | ||
321 | border:0; | ||
322 | position:absolute; | ||
323 | left:6px; | ||
324 | _left:-16px; /* Underscore hack b/c this is for IE 5.5 and IE 6 only */ | ||
325 | top:.5em; | ||
326 | |||
327 | } | ||
328 | |||