css/roojs-debug.css
[roojs1] / css / toolbar.css
1 /* ------- MAIN TOOLBAR ---------------- */
2
3 .x-toolbar {\r
4         background: url(../images/default/toolbar/gray-bg.gif) repeat-x 0 0;\r
5         border-top: 1px solid #cbc7b8;
6     border-bottom: 1px solid #cbc7b8;\r
7         display: block;
8     position: relative;\r
9         padding: 1px;\r
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 \r
278 /*\r
279 .mso .x-toolbar, .x-grid-mso .x-toolbar
280 {\r
281         border: 0px none;\r
282         background: url(../images/default/grid/mso-hd.gif);\r
283 }\r
284 */
285
286
287 /* disabled?? */\r
288 .x-toolbar .x-tb-button-disabled .x-tb-button-inner
289 {\r
290         color:gray;\r
291         cursor:default;\r
292 }\r
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 \r
321 /*\r
322  Default button class is icon only. Add a class with a background-image property\r
323  to your toolbar button\r
324 */
325 /*\r
326 .x-toolbar .x-tb-button-inner
327 {\r
328         background-position: center;\r
329         background-repeat: no-repeat;\r
330         display: block;\r
331         height: 16px;\r
332         width: 16px;\r
333         cursor:pointer;\r
334         white-space: nowrap;\r
335 }
336 */\r
337 \r
338 /* \r
339  Button class for icon and text. Add this class and a class with a background-image \r
340  to your toolbar button for both text and icon \r
341 */
342  
343 /*\r
344 .x-toolbar .x-tb-text-icon
345 {\r
346         background-position: 0px 0px;\r
347         background-repeat: no-repeat;\r
348         padding-left:18px;\r
349         padding-top:1px;\r
350         width:auto;\r
351         display:block;\r
352 }
353 */\r
354 \r
355 /* \r
356  Button class for a button with only text. Add this class  \r
357  to your toolbar button for a just text button\r
358 */
359 /*\r
360 .x-toolbar .x-tb-text-only{\r
361         background:none;\r
362         padding-left:0px;\r
363         padding-top:1px;\r
364         width:auto;\r
365         display:block;\r
366 }\r
367 .x-toolbar .x-tb-text{\r
368    padding:2px;\r
369 }\r
370 .x-toolbar .x-tb-button{\r
371    padding:2px 3px;\r
372         display:block;\r
373 }\r
374 .x-toolbar .x-tb-button-over{\r
375    background:#c3d3ed url(../images/default/toolbar/btn-over-bg.gif) repeat-x;\r
376         border:1px solid #6593cf;\r
377         padding:1px 2px;\r
378 }\r
379 .x-toolbar .x-tb-sep {\r
380         background-image: url(../images/default/grid/grid-split.gif);\r
381         background-position: center;\r
382         background-repeat: no-repeat;\r
383         display: block;\r
384         font-size: 1px;\r
385         height: 16px;\r
386         width:4px;\r
387         overflow: hidden;\r
388         cursor:default;\r
389         margin: 0px 2px 0px;\r
390         border:0px;\r
391 }\r
392 .mso .x-toolbar .x-tb-sep, .x-grid-mso .x-toolbar .x-tb-sep{\r
393         background-image: url(../images/default/grid/grid-blue-split.gif);\r
394 }\r
395 \r
396 */