allow string based values for comboboxarray
[roojs1] / css / toolbar.css
1 /* ------- MAIN TOOLBAR ---------------- */
2
3 .x-toolbar {
4         background: url(../images/default/toolbar/gray-bg.gif) repeat-x 0 0;
5         border-top: 1px solid #cbc7b8;
6         border-bottom: 1px solid #cbc7b8;
7         display: block;
8         position: relative;
9         padding: 1px;
10 }
11 /*
12 .x-toolbar .x-btn 
13 {
14     margin-left: 2px;
15     margin-right: 2px;
16 }
17 */
18 /* ------------ FONTS / colors.-----------------------*/
19 .x-toolbar td,
20 .x-toolbar span,
21 .x-toolbar input,
22 .x-toolbar div,
23 .x-toolbar select,
24 .x-toolbar label
25 {
26         
27     font: normal 11px tahoma, verdana, helvetica;
28     white-space: nowrap;
29     line-height: normal;
30     
31 }
32
33
34 /* ------------ VERTICAL ALIGNMENT -----------------------*/
35 .x-toolbar td
36 {
37     vertical-align: middle;
38 }
39
40 /* ------------ TOOLBAR BUTTONS -----------------------*/
41
42 .x-toolbar .x-btn-left,
43 .x-toolbar .x-btn-right,
44 .x-toolbar .x-btn-center
45 {
46
47  /*   background: none; */
48    
49 }
50 .x-toolbar .x-btn-center
51 {
52     padding: 0px;
53 }
54
55 /*  ------------ TOOLBAR BUTTONS  (WITH MENU) --------- */
56 .x-toolbar .x-btn-with-menu .x-btn-center em
57 {
58     padding-right: 14px;
59 }
60
61
62
63 /* ------------ TOOLBAR ITEMS -----------------------*/
64
65 .x-toolbar .ytb-text
66 {
67     padding: 2px;
68 }
69
70 /* ------------ TOOLBAR OVER / CLICK / CENTER-----------------------*/
71
72 .x-toolbar .x-btn-click .x-btn-center,
73 .x-toolbar .x-btn-pressed .x-btn-center,
74 .x-toolbar .x-btn-active .x-btn-center,
75 .x-toolbar .x-btn-over .x-btn-center,
76
77 .x-toolbar .x-btn-click .x-btn-left,
78 .x-toolbar .x-btn-pressed .x-btn-left,
79 .x-toolbar .x-btn-active .x-btn-left,
80 .x-toolbar .x-btn-over .x-btn-left,
81
82 .x-toolbar .x-btn-click .x-btn-right,
83 .x-toolbar .x-btn-pressed .x-btn-right,
84 .x-toolbar .x-btn-active .x-btn-right,
85 .x-toolbar .x-btn-over .x-btn-right
86 {
87     background-repeat: no-repeat;
88     background-image: url(../images/default/basic-dialog/btn-sprite.gif);
89     
90 }
91
92 .x-toolbar .x-btn-click .x-btn-center,
93 .x-toolbar .x-btn-pressed .x-btn-center,
94 .x-toolbar .x-btn-active .x-btn-center
95 {
96     background-position:0  -42px;
97     background-repeat: repeat-x;
98 }
99
100 .x-toolbar .x-btn-over .x-btn-center
101 {
102     background-position:  0 -105px;
103     background-repeat: repeat-x;
104
105
106 .x-toolbar .x-btn-click .x-btn-left,
107 .x-toolbar .x-btn-pressed .x-btn-left,
108 .x-toolbar .x-btn-active .x-btn-left
109 {
110     background-position:0  0;
111     
112 }
113
114 .x-toolbar .x-btn-over .x-btn-left
115 {
116     background-position:  0 -63px;
117    
118
119
120 .x-toolbar .x-btn-click .x-btn-right,
121 .x-toolbar .x-btn-pressed .x-btn-right,
122 .x-toolbar .x-btn-active .x-btn-right
123 {
124     background-position:0  -21px;
125     
126 }
127
128 .x-toolbar .x-btn-over .x-btn-right
129 {
130     background-position:  0 -84px;
131  
132
133
134 /* ------------ COMBOS/ FIELDS-----------------------*/
135 .x-toolbar .x-form-text 
136 {
137     height:14px;
138 }
139
140 .roo-gecko .x-toolbar .x-form-text {
141     height:16px;
142 }
143
144
145 /* ------------ MENUS -----------------------*/
146
147 .x-menu 
148 {
149     background: white url(../images/default/menu/menu-bg.gif) repeat-y 0 0;
150     font:normal 11px arial, tahoma, verdana, helvetica;
151     border: 1px solid black;
152     margin-top: 2px;
153     margin-left: 2px;
154 }
155
156 .x-menu-plain
157 {
158     background: none;
159 }
160 .x-menu-plain .x-menu-list-item .x-color-palette, 
161 .x-menu-plain .x-menu-list-item .x-date-picker 
162
163     margin-left: 4px;
164     margin-right: 0;
165 }
166 .x-menu-focus
167 {
168     position: absolute;
169     left: 0;
170     top: -5px;
171     width: 0;
172     height: 0;
173 }
174 .x-menu-list
175 {
176     border: 1px solid white;
177 }
178 .x-menu li
179 {
180     line-height: 100%;
181 }
182
183 .x-menu-list-item
184 {
185     -moz-user-select: none;
186     display: block;
187     /* padding: 1px; */
188     white-space: nowrap;
189 }
190
191
192 .x-menu-item
193 {
194     /*pointer: cursor; */
195     color: #333;
196     display: block;
197     line-height: 15px;
198     outline: none;
199     padding: 3px 21px 3px 3px;
200     text-decoration:none ;
201     white-space: nowrap;
202 }
203 .x-menu-item-active
204 {
205     background-color: #ABC9C2;
206 }
207
208
209 .x-menu li.x-menu-sep-li
210 {
211     
212     font-size: 1px;
213     line-height: 1px;
214     background: #ccc;
215     display: block;
216     height: 1px;
217     margin: 3px 3px 3px 32px;
218 }
219 .x-menu-item-icon
220 {
221     background-position: center center;
222     border: 0px;
223     width: 16px;
224     height: 16px;
225     padding: 0px;
226     margin: 0 11px 0 0;
227     vertical-align: middle;
228     
229 }
230
231
232 .x-menu-list-item .x-menu-item-arrow 
233 {
234     background: url(../images/default/grid/page-next.gif) no-repeat right 2px;
235 }
236
237
238
239
240
241 /* ------------ CHECKBOX ITEM-----------------------*/
242
243
244 /* ------------ DISABLED ITEMS -----------------------*/
245 .x-item-disabled .x-menu-item ,
246 .x-item-disabled
247 {
248     color : #ccc;
249     cursor: default !important;
250     
251 }
252
253
254
255
256
257
258
259 /* ------------ OLD STUFF!!! -----------------------*/
260 .x-menu-check-item .x-menu-item-icon
261 {
262     background: url(../images/default/menu/chk-sprite.gif) no-repeat 0 0;
263     width: 16px;
264     height: 16px;
265 }
266 .x-menu-item-checked .x-menu-item-icon
267 {
268     background-position: 0 -16px;
269     width: 16px;
270     height: 16px;
271 }
272
273
274
275
276 /* NOT SURE WHAT THIS DOES ? - MS HACK? */
277
278 /*
279 .mso .x-toolbar, .x-grid-mso .x-toolbar
280 {
281         border: 0px none;
282         background: url(../images/default/grid/mso-hd.gif);
283 }
284 */
285
286
287 /* disabled?? */
288 .x-toolbar .x-tb-button-disabled .x-tb-button-inner
289 {
290         color:gray;
291         cursor:default;
292 }
293
294
295 /* a seperator */
296
297
298
299
300
301
302
303 .x-toolbar .ytb-sep {
304     background-image:url(../images/default/grid/grid-split.gif);
305     background-position:center center;
306     background-repeat:no-repeat;
307     border:0pt none;
308     cursor:default;
309     display:block;
310     font-size:1px;
311     height:16px;
312     margin:0pt 2px;
313     overflow:hidden;
314     width:4px;
315 }
316
317
318
319
320
321 /*
322  Default button class is icon only. Add a class with a background-image property
323  to your toolbar button
324 */
325 /*
326 .x-toolbar .x-tb-button-inner
327 {
328         background-position: center;
329         background-repeat: no-repeat;
330         display: block;
331         height: 16px;
332         width: 16px;
333         cursor:pointer;
334         white-space: nowrap;
335 }
336 */
337
338 /* 
339  Button class for icon and text. Add this class and a class with a background-image 
340  to your toolbar button for both text and icon 
341 */
342  
343 /*
344 .x-toolbar .x-tb-text-icon
345 {
346         background-position: 0px 0px;
347         background-repeat: no-repeat;
348         padding-left:18px;
349         padding-top:1px;
350         width:auto;
351         display:block;
352 }
353 */
354
355 /* 
356  Button class for a button with only text. Add this class  
357  to your toolbar button for a just text button
358 */
359 /*
360 .x-toolbar .x-tb-text-only{
361         background:none;
362         padding-left:0px;
363         padding-top:1px;
364         width:auto;
365         display:block;
366 }
367 .x-toolbar .x-tb-text{
368    padding:2px;
369 }
370 .x-toolbar .x-tb-button{
371    padding:2px 3px;
372         display:block;
373 }
374 .x-toolbar .x-tb-button-over{
375    background:#c3d3ed url(../images/default/toolbar/btn-over-bg.gif) repeat-x;
376         border:1px solid #6593cf;
377         padding:1px 2px;
378 }
379 .x-toolbar .x-tb-sep {
380         background-image: url(../images/default/grid/grid-split.gif);
381         background-position: center;
382         background-repeat: no-repeat;
383         display: block;
384         font-size: 1px;
385         height: 16px;
386         width:4px;
387         overflow: hidden;
388         cursor:default;
389         margin: 0px 2px 0px;
390         border:0px;
391 }
392 .mso .x-toolbar .x-tb-sep, .x-grid-mso .x-toolbar .x-tb-sep{
393         background-image: url(../images/default/grid/grid-blue-split.gif);
394 }
395
396 */
397
398
399 /** ---- Toolbar ontop of tab bar ---------- **/
400 .x-tabs-strip-wrap .x-toolbar {
401     background: none !important;
402 }
403 .x-tab-strip-toolbar {
404     width: 100%;
405 }