source: trunk/web/addons/job_monarch/lib/extjs-30/resources/css/structure/button.css @ 625

Last change on this file since 625 was 625, checked in by ramonb, 15 years ago

lib/extjs-30:

  • new ExtJS 3.0
File size: 8.2 KB
Line 
1/*!
2 * Ext JS Library 3.0.0
3 * Copyright(c) 2006-2009 Ext JS, LLC
4 * licensing@extjs.com
5 * http://www.extjs.com/license
6 */
7.x-btn{
8        cursor:pointer;
9        white-space: nowrap;
10}
11
12.x-btn button{
13    border:0 none;
14    background:transparent;
15    padding-left:3px;
16    padding-right:3px;
17    cursor:pointer;
18    margin:0;
19    overflow:visible;
20    width:auto;
21    -moz-outline:0 none;
22    outline:0 none;
23}
24
25* html .ext-ie .x-btn button {
26    width:1px;
27}
28
29.ext-gecko .x-btn button {
30    padding-left:0;
31    padding-right:0;
32}
33
34.ext-gecko .x-btn button::-moz-focus-inner {
35    padding:0;
36}
37
38.ext-ie .x-btn button {
39    padding-top:2px;
40}
41
42.x-btn td {
43    padding:0 !important;
44}
45
46.x-btn-text {
47    cursor:pointer;
48        white-space: nowrap;
49    padding:0;
50}
51
52/* icon placement and sizing styles */
53
54/* Only text */
55.x-btn-noicon .x-btn-small .x-btn-text{
56        height: 16px;
57}
58
59.x-btn-noicon .x-btn-medium .x-btn-text{
60    height: 24px;
61}
62
63.x-btn-noicon .x-btn-large .x-btn-text{
64    height: 32px;
65}
66
67/* Only icons */
68.x-btn-icon .x-btn-text{
69    background-position: center;
70        background-repeat: no-repeat;
71}
72
73.x-btn-icon .x-btn-small .x-btn-text{
74        height: 16px;
75        width: 16px;
76}
77
78.x-btn-icon .x-btn-medium .x-btn-text{
79    height: 24px;
80        width: 24px;
81}
82
83.x-btn-icon .x-btn-large .x-btn-text{
84    height: 32px;
85        width: 32px;
86}
87
88/* Icons and text */
89/* left */
90.x-btn-text-icon .x-btn-icon-small-left .x-btn-text{
91    background-position: 0 center;
92        background-repeat: no-repeat;
93    padding-left:18px;
94    height:16px;
95}
96
97.x-btn-text-icon .x-btn-icon-medium-left .x-btn-text{
98    background-position: 0 center;
99        background-repeat: no-repeat;
100    padding-left:26px;
101    height:24px;
102}
103
104.x-btn-text-icon .x-btn-icon-large-left .x-btn-text{
105    background-position: 0 center;
106        background-repeat: no-repeat;
107    padding-left:34px;
108    height:32px;
109}
110
111/* top */
112.x-btn-text-icon .x-btn-icon-small-top .x-btn-text{
113    background-position: center 0;
114        background-repeat: no-repeat;
115    padding-top:18px;
116}
117
118.x-btn-text-icon .x-btn-icon-medium-top .x-btn-text{
119    background-position: center 0;
120        background-repeat: no-repeat;
121    padding-top:26px;
122}
123
124.x-btn-text-icon .x-btn-icon-large-top .x-btn-text{
125    background-position: center 0;
126        background-repeat: no-repeat;
127    padding-top:34px;
128}
129
130/* right */
131.x-btn-text-icon .x-btn-icon-small-right .x-btn-text{
132    background-position: right center;
133        background-repeat: no-repeat;
134    padding-right:18px;
135    height:16px;
136}
137
138.x-btn-text-icon .x-btn-icon-medium-right .x-btn-text{
139    background-position: right center;
140        background-repeat: no-repeat;
141    padding-right:26px;
142    height:24px;
143}
144
145.x-btn-text-icon .x-btn-icon-large-right .x-btn-text{
146    background-position: right center;
147        background-repeat: no-repeat;
148    padding-right:34px;
149    height:32px;
150}
151
152/* bottom */
153.x-btn-text-icon .x-btn-icon-small-bottom .x-btn-text{
154    background-position: center bottom;
155        background-repeat: no-repeat;
156    padding-bottom:18px;
157}
158
159.x-btn-text-icon .x-btn-icon-medium-bottom .x-btn-text{
160    background-position: center bottom;
161        background-repeat: no-repeat;
162    padding-bottom:26px;
163}
164
165.x-btn-text-icon .x-btn-icon-large-bottom .x-btn-text{
166    background-position: center bottom;
167        background-repeat: no-repeat;
168    padding-bottom:34px;
169}
170
171/* background positioning */
172.x-btn-tr i, .x-btn-tl i, .x-btn-mr i, .x-btn-ml i, .x-btn-br i, .x-btn-bl i{
173        font-size:1px;
174    line-height:1px;
175    width:3px;
176    display:block;
177    overflow:hidden;
178}
179
180.x-btn-tr i, .x-btn-tl i, .x-btn-br i, .x-btn-bl i{
181        height:3px;
182}
183
184.x-btn-tl{
185        width:3px;
186        height:3px;
187        background:no-repeat 0 0;
188}
189.x-btn-tr{
190        width:3px;
191        height:3px;
192        background:no-repeat -3px 0;
193}
194.x-btn-tc{
195        height:3px;
196        background:repeat-x 0 -6px;
197}
198
199.x-btn-ml{
200        width:3px;
201        background:no-repeat 0 -24px;
202}
203.x-btn-mr{
204        width:3px;
205        background:no-repeat -3px -24px;
206}
207
208.x-btn-mc{
209        background:repeat-x 0 -1096px;
210    vertical-align: middle;
211        text-align:center;
212        padding:0 5px;
213        cursor:pointer;
214        white-space:nowrap;
215}
216
217.x-btn-bl{
218        width:3px;
219        height:3px;
220        background:no-repeat 0 -3px;
221}
222
223.x-btn-br{
224        width:3px;
225        height:3px;
226        background:no-repeat -3px -3px;
227}
228
229.x-btn-bc{
230        height:3px;
231        background:repeat-x 0 -15px;
232}
233
234.x-btn-over .x-btn-tl{
235        background-position: -6px 0;
236}
237
238.x-btn-over .x-btn-tr{
239        background-position: -9px 0;
240}
241
242.x-btn-over .x-btn-tc{
243        background-position: 0 -9px;
244}
245
246.x-btn-over .x-btn-ml{
247        background-position: -6px -24px;
248}
249
250.x-btn-over .x-btn-mr{
251        background-position: -9px -24px;
252}
253
254.x-btn-over .x-btn-mc{
255        background-position: 0 -2168px;
256}
257
258.x-btn-over .x-btn-bl{
259        background-position: -6px -3px;
260}
261
262.x-btn-over .x-btn-br{
263        background-position: -9px -3px;
264}
265
266.x-btn-over .x-btn-bc{
267        background-position: 0 -18px;
268}
269
270.x-btn-click .x-btn-tl, .x-btn-menu-active .x-btn-tl, .x-btn-pressed .x-btn-tl{
271        background-position: -12px 0;
272}
273
274.x-btn-click .x-btn-tr, .x-btn-menu-active .x-btn-tr, .x-btn-pressed .x-btn-tr{
275        background-position: -15px 0;
276}
277
278.x-btn-click .x-btn-tc, .x-btn-menu-active .x-btn-tc, .x-btn-pressed .x-btn-tc{
279        background-position: 0 -12px;
280}
281
282.x-btn-click .x-btn-ml, .x-btn-menu-active .x-btn-ml, .x-btn-pressed .x-btn-ml{
283        background-position: -12px -24px;
284}
285
286.x-btn-click .x-btn-mr, .x-btn-menu-active .x-btn-mr, .x-btn-pressed .x-btn-mr{
287        background-position: -15px -24px;
288}
289
290.x-btn-click .x-btn-mc, .x-btn-menu-active .x-btn-mc, .x-btn-pressed .x-btn-mc{
291        background-position: 0 -3240px;
292}
293
294.x-btn-click .x-btn-bl, .x-btn-menu-active .x-btn-bl, .x-btn-pressed .x-btn-bl{
295        background-position: -12px -3px;
296}
297
298.x-btn-click .x-btn-br, .x-btn-menu-active .x-btn-br, .x-btn-pressed .x-btn-br{
299        background-position: -15px -3px;
300}
301
302.x-btn-click .x-btn-bc, .x-btn-menu-active .x-btn-bc, .x-btn-pressed .x-btn-bc{
303        background-position: 0 -21px;
304}
305
306.x-btn-disabled *{
307        cursor:default !important;
308}
309
310
311/* With a menu arrow */
312/* right */
313.x-btn-mc em.x-btn-arrow {
314    display:block;
315    background:transparent no-repeat right center;
316        padding-right:10px;
317}
318
319.x-btn-mc em.x-btn-split {
320    display:block;
321    background:transparent no-repeat right center;
322        padding-right:14px;
323}
324
325/* bottom */
326.x-btn-mc em.x-btn-arrow-bottom {
327    display:block;
328    background:transparent no-repeat center bottom;
329        padding-bottom:14px;
330}
331
332.x-btn-mc em.x-btn-split-bottom {
333    display:block;
334    background:transparent no-repeat center bottom;
335        padding-bottom:14px;
336}
337
338/* height adjustment class */
339.x-btn-as-arrow .x-btn-mc em {
340    display:block;
341    background:transparent;
342        padding-bottom:14px;
343}
344
345/* groups */
346.x-btn-group {
347    padding:1px;
348}
349
350.x-btn-group-header {
351    padding:2px;
352    text-align:center;
353}
354
355.x-btn-group-tc {
356        background: transparent repeat-x 0 0;
357        overflow:hidden;
358}
359
360.x-btn-group-tl {
361        background: transparent no-repeat 0 0;
362        padding-left:3px;
363    zoom:1;
364}
365
366.x-btn-group-tr {
367        background: transparent no-repeat right 0;
368        zoom:1;
369    padding-right:3px;
370}
371
372.x-btn-group-bc {
373        background: transparent repeat-x 0 bottom;
374    zoom:1;
375}
376
377.x-btn-group-bc .x-panel-footer {
378    zoom:1;
379}
380
381.x-btn-group-bl {
382        background: transparent no-repeat 0 bottom;
383        padding-left:3px;
384    zoom:1;
385}
386
387.x-btn-group-br {
388        background: transparent no-repeat right bottom;
389        padding-right:3px;
390    zoom:1;
391}
392
393.x-btn-group-mc {
394    border:0 none;
395    padding:1px 0 0 0;
396    margin:0;
397}
398
399.x-btn-group-mc .x-btn-group-body {
400    background:transparent;
401    border: 0 none;
402}
403
404.x-btn-group-ml {
405        background: transparent repeat-y 0 0;
406        padding-left:3px;
407    zoom:1;
408}
409
410.x-btn-group-mr {
411        background: transparent repeat-y right 0;
412        padding-right:3px;
413    zoom:1;
414}
415
416.x-btn-group-bc .x-btn-group-footer {
417    padding-bottom:6px;
418}
419
420.x-panel-nofooter .x-btn-group-bc {
421        height:3px;
422    font-size:0;
423    line-height:0;
424}
425
426.x-btn-group-bwrap {
427    overflow:hidden;
428    zoom:1;
429}
430
431.x-btn-group-body {
432    overflow:hidden;
433    zoom:1;
434}
435
436.x-btn-group-notitle .x-btn-group-tc {
437        background: transparent repeat-x 0 0;
438        overflow:hidden;
439    height:2px;
440}
Note: See TracBrowser for help on using the repository browser.