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