]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blob - wradmin/public/yui/menu/assets/skins/sam/menu-skin.css
Start to use flask instead of pylons.
[philipp/winterrodeln/wradmin.git] / wradmin / public / yui / menu / assets / skins / sam / menu-skin.css
1 /*
2 Copyright (c) 2009, Yahoo! Inc. All rights reserved.
3 Code licensed under the BSD License:
4 http://developer.yahoo.net/yui/license.txt
5 version: 2.7.0
6 */
7 /* MenuBar style rules */
8
9 .yui-skin-sam .yuimenubar {
10
11     font-size: 93%;  /* 12px */
12     line-height: 2;  /* ~24px */
13     *line-height: 1.9; /* For IE */
14     border: solid 1px #808080;
15     background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
16
17 }
18
19
20 /* MenuBarItem style rules */
21
22 .yui-skin-sam .yuimenubarnav .yuimenubaritem {
23
24     border-right: solid 1px #ccc;
25
26 }
27
28 .yui-skin-sam .yuimenubaritemlabel {
29
30     padding: 0 10px;
31     color: #000;
32     text-decoration: none;
33     cursor: default;
34     border-style: solid;
35     border-color: #808080;
36     border-width: 1px 0;
37     *position: relative; /*  Necessary to get negative margins in IE. */
38     margin: -1px 0;
39
40 }
41
42 .yui-skin-sam .yuimenubarnav .yuimenubaritemlabel {
43
44     padding-right: 20px;
45
46     /*
47         Prevents the label from shifting left in IE when the 
48         ".yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-selected" 
49         rule us applied.
50     */
51
52     *display: inline-block;
53
54 }
55
56 .yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-hassubmenu {
57
58     background: url(menubaritem_submenuindicator.png) right center no-repeat;
59
60 }
61
62
63
64 /* MenuBarItem states */
65
66 /* Selected MenuBarItem */
67
68 .yui-skin-sam .yuimenubaritem-selected {
69
70     background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 -1700px;
71
72 }
73
74 .yui-skin-sam .yuimenubaritemlabel-selected {
75
76     border-color: #7D98B8;
77
78 }
79
80 .yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-selected {
81
82     border-left-width: 1px;
83     margin-left: -1px;
84     *left: -1px;    /* For IE */
85
86 }
87
88
89 /* Disabled  MenuBarItem */
90
91 .yui-skin-sam .yuimenubaritemlabel-disabled {
92
93     cursor: default;
94     color: #A6A6A6;
95
96 }
97
98 .yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-hassubmenu-disabled {
99
100     background-image: url(menubaritem_submenuindicator_disabled.png);
101
102 }
103
104
105
106 /* Menu style rules */
107
108 .yui-skin-sam .yuimenu {
109
110     font-size: 93%;  /* 12px */
111     line-height: 1.5;  /* 18px */
112     *line-height: 1.45; /* For IE */
113
114 }
115
116 .yui-skin-sam .yuimenubar .yuimenu,
117 .yui-skin-sam .yuimenu .yuimenu {
118
119     font-size: 100%;
120
121 }
122
123 .yui-skin-sam .yuimenu .bd {
124
125         /*
126                 The following application of zoom:1 prevents first tier submenus of a MenuBar from hiding 
127                 when the mouse is moving from an item in a MenuBar to a submenu in IE 7.
128         */
129
130         *zoom: 1;
131         _zoom: normal;  /* Remove this rule for IE 6. */
132     border: solid 1px #808080;
133     background-color: #fff;
134     
135 }
136
137 .yui-skin-sam .yuimenu .yuimenu .bd {
138
139         *zoom: normal;
140
141 }
142
143 .yui-skin-sam .yuimenu ul {
144
145     padding: 3px 0;
146     border-width: 1px 0 0 0;
147     border-color: #ccc;
148     border-style: solid;
149
150 }
151
152 .yui-skin-sam .yuimenu ul.first-of-type {
153
154     border-width: 0;
155
156 }
157
158
159 /* Group titles */
160
161 .yui-skin-sam .yuimenu h6 { 
162
163     font-weight: bold;
164     border-style: solid;
165     border-color: #ccc;
166     border-width: 1px 0 0 0;
167     color: #a4a4a4;    
168     padding: 3px 10px 0 10px;
169
170 }
171
172 .yui-skin-sam .yuimenu ul.hastitle,
173 .yui-skin-sam .yuimenu h6.first-of-type {
174
175     border-width: 0;
176
177 }
178
179
180 /* Top and bottom scroll controls */
181
182 .yui-skin-sam .yuimenu .yui-menu-body-scrolled {
183
184     border-color: #ccc #808080;
185     overflow: hidden;
186
187 }
188
189 .yui-skin-sam .yuimenu .topscrollbar,
190 .yui-skin-sam .yuimenu .bottomscrollbar {
191
192     height: 16px;
193     border: solid 1px #808080;
194     background: #fff url(../../../../assets/skins/sam/sprite.png) no-repeat 0 0;
195
196 }
197
198 .yui-skin-sam .yuimenu .topscrollbar {
199
200     border-bottom-width: 0;
201     background-position: center -950px;
202
203 }
204
205 .yui-skin-sam .yuimenu .topscrollbar_disabled {
206
207     background-position: center -975px;
208
209 }
210
211 .yui-skin-sam .yuimenu .bottomscrollbar {
212
213     border-top-width: 0;
214     background-position: center -850px;
215
216 }
217
218 .yui-skin-sam .yuimenu .bottomscrollbar_disabled {
219
220     background-position: center -875px;
221
222 }
223
224
225 /* MenuItem style rules */
226
227 .yui-skin-sam .yuimenuitem {
228
229     /*
230         For IE 7 Quirks and IE 6 Strict Mode and Quirks Mode:
231         Used to collapse superfluous white space between <li> elements
232         that is triggered by the "display" property of the <a> elements being
233         set to "block."
234     */
235
236     _border-bottom: solid 1px #fff;
237
238 }
239
240 .yui-skin-sam .yuimenuitemlabel {
241
242     padding: 0 20px;
243     color: #000;
244     text-decoration: none;
245     cursor: default;
246
247 }
248
249 .yui-skin-sam .yuimenuitemlabel .helptext {
250
251     margin-top: -1.5em;
252     *margin-top: -1.45em;  /* For IE*/
253     
254 }
255
256 .yui-skin-sam .yuimenuitem-hassubmenu {
257
258     background-image: url(menuitem_submenuindicator.png);
259     background-position: right center;
260     background-repeat: no-repeat;
261
262 }
263
264 .yui-skin-sam .yuimenuitem-checked {
265
266     background-image: url(menuitem_checkbox.png);
267     background-position: left center;
268     background-repeat: no-repeat;
269
270 }
271
272
273 /* Menu states */
274
275
276 /* Visible Menu */
277
278 .yui-skin-sam .yui-menu-shadow-visible {
279
280     background-color: #000;
281
282     /*
283         Opacity can be expensive, so defer the use of opacity until the 
284         menu is visible.
285     */
286
287     opacity: .12;
288     filter: alpha(opacity=12);  /* For IE */
289
290 }
291
292
293
294 /* MenuItem states */
295
296
297 /* Selected MenuItem */
298
299 .yui-skin-sam .yuimenuitem-selected {
300
301     background-color: #B3D4FF;
302
303 }
304
305
306 /* Disabled MenuItem */
307
308 .yui-skin-sam .yuimenuitemlabel-disabled {
309
310     cursor: default;
311     color: #A6A6A6;
312
313 }
314
315 .yui-skin-sam .yuimenuitem-hassubmenu-disabled {
316
317     background-image: url(menuitem_submenuindicator_disabled.png);
318
319 }
320
321 .yui-skin-sam .yuimenuitem-checked-disabled {
322
323     background-image: url(menuitem_checkbox_disabled.png);
324
325 }