Upgrade to ExtJS 3.2.1 - Released 04/27/2010
[extjs.git] / examples / ux / css / ux-all.css
1 /*!
2  * Ext JS Library 3.2.1
3  * Copyright(c) 2006-2010 Ext JS, Inc.
4  * licensing@extjs.com
5  * http://www.extjs.com/license
6  */
7 .ux-layout-center-item {
8     margin:0 auto;
9     text-align:left;
10 }
11 .ux-layout-center .x-panel-body,   
12 body.ux-layout-center {            
13     text-align:center;
14 }
15 td.ux-grid-hd-group-cell {
16     background: url(../../../resources/images/default/grid/grid3-hrow.gif) repeat-x bottom;
17 }.x-column-tree .x-panel-header {
18         padding: 3px 0px 0px 0px;
19         border-bottom-width: 0px;
20 }
21
22 .x-column-tree .x-panel-header .x-panel-header-text {
23         margin-left: 3px
24 }
25
26 .x-column-tree .x-tree-node {
27     zoom:1;
28 }
29 .x-column-tree .x-tree-node-el {
30     /*border-bottom:1px solid #eee; borders? */
31     zoom:1;
32 }
33 .x-column-tree .x-tree-selected {
34     background: #d9e8fb;
35 }
36 .x-column-tree  .x-tree-node a {
37     line-height:18px;
38     vertical-align:middle;
39 }
40 .x-column-tree  .x-tree-node a span{
41         
42 }
43 .x-column-tree  .x-tree-node .x-tree-selected a span{
44         background:transparent;
45         color:#000;
46 }
47 .x-tree-col {
48     float:left;
49     overflow:hidden;
50     padding:0 1px;
51     zoom:1;
52 }
53
54 .x-tree-col-text, .x-tree-hd-text {
55     color:#000;
56     overflow:hidden;
57     -o-text-overflow: ellipsis;
58     text-overflow: ellipsis;
59     padding:3px 3px 3px 5px;
60     white-space: nowrap;
61     font:normal 11px arial, tahoma, helvetica, sans-serif;
62 }
63
64 .x-tree-headers {
65         margin-top: 3px;
66         background: #f9f9f9 url(../../../resources/images/default/grid/grid3-hrow.gif) repeat-x 0 bottom;
67         cursor:default;
68     zoom:1;
69 }
70
71 .x-tree-hd {
72     float:left;
73     overflow:hidden;
74     border-left:1px solid #eee;
75     border-right:1px solid #d0d0d0;
76 }
77 /*
78  * FileUploadField component styles
79  */
80 .x-form-file-wrap {
81     position: relative;
82     height: 22px;
83 }
84 .x-form-file-wrap .x-form-file {
85         position: absolute;
86         right: 0;
87         -moz-opacity: 0;
88         filter:alpha(opacity: 0);
89         opacity: 0;
90         z-index: 2;
91     height: 22px;
92 }
93 .x-form-file-wrap .x-form-file-btn {
94         position: absolute;
95         right: 0;
96         z-index: 1;
97 }
98 .x-form-file-wrap .x-form-file-text {
99     position: absolute;
100     left: 0;
101     z-index: 3;
102     color: #777;
103 }/**
104  * GridFilters Styles
105  **/
106 /*
107 .x-grid3-hd-row .ux-filtered-column {
108         border-left:  1px solid #C7E3B4;
109         border-right: 1px solid #C7E3B4;
110 }
111
112 .x-grid3-hd-row .ux-filtered-column .x-grid3-hd-inner {
113         background-image: url(../images/header_bg.gif);
114 }
115
116 .ux-filtered-column .x-grid3-hd-btn {
117         background-image: url(../images/hd-btn.gif);
118 }
119 */
120 .x-grid3-hd-row td.ux-filtered-column {   
121     font-style: italic;  
122     font-weight: bold;
123 }               
124
125 .ux-filtered-column.sort-asc .x-grid3-sort-icon {
126         background-image: url(../images/sort_filtered_asc.gif) !important;
127 }
128
129 .ux-filtered-column.sort-desc .x-grid3-sort-icon {
130         background-image: url(../images/sort_filtered_desc.gif) !important;
131 }
132
133 .ux-gridfilter-text-icon {
134         background-image: url(../images/find.png) !important;
135 }
136
137 /* Temporary Patch for Bug ??? */
138 .x-menu-list-item-indent .x-menu-item-icon {
139         position: relative;
140     top: 3px;
141     left: 3px;
142         margin-right: 10px;
143 }
144 li.x-menu-list-item-indent {
145         padding-left:0px;
146 }
147 li.x-menu-list-item div {
148         display: block;
149 }
150
151 /**
152  * RangeMenu Styles
153  **/
154 .ux-rangemenu-gt {
155         background-image: url(../images/greater_than.png) !important;
156 }
157
158 .ux-rangemenu-lt {
159         background-image: url(../images/less_than.png) !important;
160 }
161
162 .ux-rangemenu-eq {
163         background-image: url(../images/equals.png) !important;
164 }
165 .x-grid3-summary-row {
166     border-left:1px solid #fff;
167     border-right:1px solid #fff;
168     color:#333;
169     background: #f1f2f4;
170 }
171 .x-grid3-summary-row .x-grid3-cell-inner {
172     font-weight:bold;
173     padding-bottom:4px;
174 }
175 .x-grid3-cell-first .x-grid3-cell-inner {
176     padding-left:16px;
177 }
178 .x-grid-hide-summary .x-grid3-summary-row {
179     display:none;
180 }
181 .x-grid3-summary-msg {
182     padding:4px 16px;
183     font-weight:bold;
184 }.x-grouptabs-panel {
185     background-color: #4E78B1;
186     border: solid 15px #4E78B1;
187 }
188 .x-tab-panel-left .x-grouptabs-panel-header,
189 .x-tab-panel-right .x-grouptabs-panel-header {
190     float: left;
191     border: 0;
192     background: transparent;
193 }
194 .x-tab-panel-right .x-grouptabs-panel-header {
195     float:right;
196 }
197 .x-tab-panel-left .x-grouptabs-bwrap {
198     float: right;
199     position: relative;
200 }
201 .x-tab-panel-right .x-grouptabs-bwrap {
202     float: left;
203     position: relative;
204 }
205 .x-tab-panel-left ul.x-grouptabs-strip,
206 .x-tab-panel-right ul.x-grouptabs-strip {
207     width: auto;
208         display: block;
209 }
210 .x-tab-panel-left ul.x-grouptabs-strip li,
211 .x-tab-panel-right ul.x-grouptabs-strip li {
212     padding: 6px 0 2px 6px;
213     float: none;
214     margin: 0;
215     position: relative;
216     clear: both;
217 }
218 .x-tab-panel-left .x-tab-panel-header ul.x-grouptabs-strip a.x-grouptabs-text,
219 .x-tab-panel-right .x-tab-panel-header ul.x-grouptabs-strip a.x-grouptabs-text{
220         font-size: 13px;
221         line-height: 18px;
222         cursor: pointer;
223 }
224
225 .x-tab-panel-left .x-tab-panel-header ul.x-grouptabs-strip a.x-grouptabs-text{
226     padding-left: 18px;
227 }
228 .x-tab-panel-right .x-tab-panel-header ul.x-grouptabs-strip a.x-grouptabs-text{
229     padding-right: 18px;
230 }
231
232 .x-tab-panel-left .x-tab-panel-header ul.x-grouptabs-sub a.x-grouptabs-text,
233 .x-tab-panel-right .x-tab-panel-header ul.x-grouptabs-sub a.x-grouptabs-text{
234         font-size: 12px;
235     padding: 0;  
236 }
237
238 .x-tab-panel-left .x-tab-panel-header ul.x-grouptabs-sub a.x-grouptabs-text{
239         margin-left: 4px;
240 }
241 .x-tab-panel-right .x-tab-panel-header ul.x-grouptabs-sub a.x-grouptabs-text{
242         margin-right: 4px;
243 }
244
245 .x-grouptabs-panel .x-grouptabs-strip a.x-grouptabs-text{
246     overflow: hidden;
247     white-space: nowrap;
248         display: block;
249     color: #DFE8F6;
250     font-family: tahoma, arial, sans-serif;
251     font-weight: bold;
252     text-decoration: none;
253 }
254 .x-tab-panel-right .x-grouptabs-strip a.x-grouptabs-text {
255     text-align: right;
256 }
257
258 .x-grouptabs-panel .x-grouptabs-strip-active a.x-grouptabs-text {
259     color: #395B8E;
260 }
261
262 .x-grouptabs-panel ul.x-grouptabs-sub a.x-grouptabs-text {
263         font-weight: normal;
264 }
265 .x-tab-joint {
266     position: absolute;
267     width: 3px;
268     top: 1px;
269     background: #fff;
270     z-index: 8999;
271 }
272
273 .x-grouptabs-panel .x-grouptabs-panel-body {
274     border: 1px solid #999;
275 }
276
277 .x-grouptabs-panel ul.x-grouptabs-strip li {
278     border-top: 1px solid transparent;
279     border-bottom: 1px solid transparent;
280         border-left: 1px solid transparent;
281 }
282
283 .x-grouptabs-panel ul.x-grouptabs-strip li.x-grouptabs-strip-active {
284     border: 0;
285     background: #fff;
286     border-top: 1px solid #999;
287     border-bottom: 1px solid #999;
288 }
289
290 .x-tab-panel-left ul.x-grouptabs-strip li.x-grouptabs-strip-active {
291     border-left: 1px solid #999;
292 }
293 .x-tab-panel-right ul.x-grouptabs-strip li.x-grouptabs-strip-active {
294     border-right: 1px solid #999;
295 }
296
297 .x-grouptabs-panel li.x-grouptabs-strip-active ul.x-grouptabs-sub li.x-grouptabs-strip-active{
298     background-color: #EDEEF0;
299 }
300
301 .x-grouptabs-panel li.x-grouptabs-strip-active ul.x-grouptabs-sub {
302     background-color: transparent;
303 }
304
305 .x-grouptabs-panel li.x-grouptabs-strip-active ul.x-grouptabs-sub li {
306     border-color: transparent;
307 }
308
309 /* Tab corners */
310 .x-grouptabs-panel .x-grouptabs-corner {
311     background-image: url('../images/x-grouptabs-corners.gif');
312     display: none;
313     width: 11px;
314     height: 11px;
315     position: absolute;
316     font-size: 1px;
317     line-height: 6px;
318     overflow: hidden;
319     zoom:1;
320 }
321 .x-grouptabs-panel .x-grouptabs-strip-active .x-grouptabs-corner {
322     display: block;
323 }
324 .x-grouptabs-panel .x-grouptabs-main.x-grouptabs-strip-active ul.x-grouptabs-sub .x-grouptabs-corner {
325         display: none;
326 }
327
328 .x-grouptabs-panel .x-grouptabs-corner-top-left {
329     background-position: top left;
330     left: 0; top: 0;
331 }
332 .x-grouptabs-panel .x-grouptabs-corner-bottom-left {
333     background-position: bottom left;
334     left: 0; bottom: 0;
335 }
336 .x-grouptabs-panel .x-grouptabs-corner-top-right {
337     background-position: top right;
338     right: 0; top: 0;
339 }
340 .x-grouptabs-panel .x-grouptabs-corner-bottom-right {
341     background-position: bottom right;
342     right: 0; bottom: 0;
343 }
344 .x-grouptabs-panel li.x-grouptabs-strip-active .x-grouptabs-corner-bottom-left{
345     bottom: -4px; left: -4px;
346 }
347 .x-grouptabs-panel li.x-grouptabs-strip-active .x-grouptabs-corner-bottom-right{
348     bottom: -4px; right: -4px;
349 }
350 .x-grouptabs-panel li.x-grouptabs-strip-active .x-grouptabs-corner-top-left{
351     top: -4px; left: -4px;
352 }
353 .x-grouptabs-panel li.x-grouptabs-strip-active .x-grouptabs-corner-top-right{
354     top: -4px; right: -4px;
355 }
356
357 .x-grouptabs-panel ul.x-grouptabs-sub li.x-tab-with-icon a.x-grouptabs-text {
358     background-repeat: no-repeat;
359     padding-left: 20px;
360 }
361
362 /* General tab styling */
363 .x-grouptabs-panel .x-grouptabs-expand {
364         background: transparent url('../images/elbow-plus-nl.gif') no-repeat;
365         width: 16px;
366         height: 16px;
367         position: absolute;
368         left: 7px;
369         top: 6px;
370 }
371
372 .ext-ie6 .x-grouptabs-panel .x-grouptabs-expand,
373 .ext-border-box .x-grouptabs-panel .x-grouptabs-expand {
374         left: 0;
375 }
376
377 .x-grouptabs-expanded .x-grouptabs-expand {
378         background-image: url('../images/elbow-minus-nl.gif');
379 }
380
381 /* GroupTabs sub group styling */
382 .x-grouptabs-sub {
383         display: none;
384         margin-top: 4px;
385 }
386
387 .x-grouptabs-expanded .x-grouptabs-sub {
388         display: block;
389 }
390
391 .x-grouptabs-panel ul.x-grouptabs-sub li {
392         height: 18px;
393         margin: 0 0 2px;
394     padding: 0;
395 }
396
397 .x-grouptabs-panel ul.x-grouptabs-sub .x-grouptabs-main-item {
398         display: none;
399 }
400
401 .x-tab-with-icon{
402    border-style:none !important;
403 }
404 .x-grid3-locked, .x-grid3-unlocked {
405         overflow: hidden;
406         position: absolute;
407 }
408
409 .x-grid3-locked {
410         border-right: 1px solid #99BBE8;
411 }
412
413 .x-grid3-locked .x-grid3-scroller {
414         overflow: hidden;
415 }
416
417 .x-grid3-locked .x-grid3-row {
418         border-right: 0;
419 }
420
421 .x-grid3-scroll-spacer {
422         height: 19px;
423 }
424
425 .x-grid3-unlocked .x-grid3-header-offset {
426         padding-left: 0;
427 }
428
429 .x-grid3-unlocked .x-grid3-row {
430         border-left: 0;
431 }
432 .ux-mselect{
433     overflow:auto;
434     background:white;
435     position:relative; /* for calculating scroll offsets */
436     zoom:1;
437     overflow:auto;      
438 }
439 .ux-mselect-item{
440     font:normal 12px tahoma, arial, helvetica, sans-serif;
441     padding:2px;
442     border:1px solid #fff;
443     white-space: nowrap;
444     cursor:pointer;
445 }
446 .ux-mselect-selected{
447         border:1px dotted #a3bae9 !important;
448     background:#DFE8F6;
449     cursor:pointer;
450 }
451
452 .x-view-drag-insert-above { 
453     border-top:1px dotted #3366cc; 
454
455 .x-view-drag-insert-below { 
456     border-bottom:1px dotted #3366cc; 
457
458 .x-panel-resize {
459         height:5px;
460         background:transparent url(../images/panel-handle.gif) no-repeat center bottom;
461         position:relative;
462         left:0;
463         top:2px;
464         cursor:n-resize;
465         cursor:row-resize;
466         /* for IE */
467         font-size:1px;
468         line-height:1px;
469         overflow:hidden;
470 }.x-portal .x-panel-dd-spacer {
471     margin-bottom:10px;
472 }
473
474 .x-portlet {
475     margin-bottom:10px;
476 }
477
478 /* Clean up the look of the portlets */
479 .x-portlet .x-panel-ml {
480     padding-left:2px;
481 }
482 .x-portlet .x-panel-mr {
483     padding-right:2px;
484 }
485 .x-portlet .x-panel-bl {
486     padding-left:2px;
487 }
488
489 .x-portlet .x-panel-br {
490     padding-right:2px;
491 }
492 .x-portlet .x-panel-body {
493     background:white;
494 }
495 .x-portlet .x-panel-mc {
496     padding-top:2px;
497 }
498 .x-portlet .x-panel-bc .x-panel-footer {
499     padding-bottom:2px;
500 }
501 .x-portlet .x-panel-nofooter .x-panel-bc {
502     height:2px;
503 }.ext-ie .x-row-editor .x-form-text {
504     margin:0 !important; 
505 }
506 .x-row-editor-header {
507     height:2px;
508     overflow:hidden;
509     background: transparent url(../images/row-editor-bg.gif) repeat-x 0 0;
510 }
511 .x-row-editor-footer {
512     height:2px;
513     overflow:hidden;
514     background: transparent url(../images/row-editor-bg.gif) repeat-x 0 -2px;
515 }
516 .ext-ie .x-row-editor-footer {
517     margin-top:-1px;
518 }
519
520 .x-row-editor-body {
521     overflow:hidden;
522     zoom:1;
523     background: #ebf2fb;
524     padding-top:2px;
525 }
526 .x-row-editor .x-btns {
527     position:absolute;
528     top:28px;
529     left:20px;
530     padding-left:5px;
531     background: transparent url(../images/row-editor-btns.gif) no-repeat 0 0;
532 }
533 .x-row-editor .x-btns .x-plain-bwrap {
534     padding-right:5px;
535     background: transparent url(../images/row-editor-btns.gif) no-repeat right -31px;
536 }
537 .x-row-editor .x-btns .x-plain-body {
538     background: transparent url(../images/row-editor-btns.gif) repeat-x 0 -62px;
539     height:31px;
540 }
541 .x-row-editor .x-btns .x-table-layout-cell {
542     padding:3px;
543 }
544
545 /* Fixes for IE6/7 trigger fields */
546 .ext-ie6 .x-row-editor .x-form-field-wrap .x-form-trigger, .ext-ie7 .x-row-editor .x-form-field-wrap .x-form-trigger {
547   top: 1px;
548 }
549
550 .ext-ie6 .x-row-editor .x-form-field-trigger-wrap, .ext-ie7 .x-row-editor .x-form-field-trigger-wrap {
551   margin-top: -1px;
552 }
553
554 .errorTip .x-tip-body ul{
555     list-style-type:disc;
556     margin-left:15px;
557 }
558 .x-form-spinner-proxy{
559         /*background-color:#ff00cc;*/
560 }
561 .x-form-field-wrap .x-form-spinner-trigger {
562     background:transparent url('../images/spinner.gif') no-repeat 0 0;
563 }
564
565 .x-form-field-wrap .x-form-spinner-overup{
566     background-position:-17px 0;
567 }
568 .x-form-field-wrap .x-form-spinner-clickup{
569     background-position:-34px 0;
570 }
571 .x-form-field-wrap .x-form-spinner-overdown{
572     background-position:-51px 0;
573 }
574 .x-form-field-wrap .x-form-spinner-clickdown{
575     background-position:-68px 0;
576 }
577
578
579 .x-trigger-wrap-focus .x-form-spinner-trigger{
580     background-position:-85px 0;
581 }
582 .x-trigger-wrap-focus .x-form-spinner-overup{
583     background-position:-102px 0;
584 }
585 .x-trigger-wrap-focus .x-form-spinner-clickup{
586     background-position:-119px 0;
587 }
588 .x-trigger-wrap-focus .x-form-spinner-overdown{
589     background-position:-136px 0;
590 }
591 .x-trigger-wrap-focus .x-form-spinner-clickdown{
592     background-position:-153px 0;
593 }
594 .x-trigger-wrap-focus .x-form-trigger{
595     border-bottom: 1px solid #7eadd9;
596 }
597
598 .x-form-field-wrap .x-form-spinner-splitter {
599         line-height:1px;
600         font-size:1px;
601     background:transparent url('../images/spinner-split.gif') no-repeat 0 0;
602         position:absolute;
603         cursor: n-resize;
604 }
605 .x-trigger-wrap-focus .x-form-spinner-splitter{
606     background-position:-14px 0;
607 }
608 /* StatusBar - structure */
609 .x-statusbar .x-status-text {
610     cursor: default;
611 /*
612     height: 21px;
613     line-height: 21px;
614     padding: 0 4px;
615 */
616 }
617 .x-statusbar .x-status-busy {
618     padding-left: 25px !important;
619     background: transparent no-repeat 3px 2px;
620 }
621
622 .x-toolbar div.xtb-text
623
624 .x-statusbar .x-status-text-panel {
625     border-top: 1px solid;
626     border-right: 1px solid;
627     border-bottom: 1px solid;
628     border-left: 1px solid;
629     padding: 2px 8px 2px 5px;
630 }
631
632 /* StatusBar word processor example styles */
633
634 #word-status .x-status-text-panel .spacer {
635     width: 60px;
636     font-size:0;
637     line-height:0;
638 }
639 #word-status .x-status-busy {
640     padding-left: 25px !important;
641     background: transparent no-repeat 3px 2px;
642 }
643 #word-status .x-status-saved {
644     padding-left: 25px !important;
645     background: transparent no-repeat 3px 2px;
646 }
647
648 /* StatusBar form validation example styles */
649
650 .x-statusbar .x-status-error {
651     cursor: pointer;
652     padding-left: 25px !important;
653     background: transparent no-repeat 3px 2px;
654 }
655 .x-statusbar .x-status-valid {
656     padding-left: 25px !important;
657     background: transparent no-repeat 3px 2px;
658 }
659 .x-status-error-list {
660     font: 11px tahoma,arial,verdana,sans-serif;
661     position: absolute;
662     z-index: 9999;
663     border-top: 1px solid;
664     border-right: 1px solid;
665     border-bottom: 1px solid;
666     border-left: 1px solid;
667     padding: 5px 10px;
668 }
669 .x-status-error-list li {
670     cursor: pointer;
671     list-style: disc;
672     margin-left: 10px;
673 }
674 .x-status-error-list li a {
675     text-decoration: none;
676 }
677 .x-status-error-list li a:hover {
678     text-decoration: underline;
679 }
680
681
682 /* *********************************************************** */
683 /* *********************************************************** */
684 /* *********************************************************** */
685
686
687 /* StatusBar - visual */
688
689 .x-statusbar .x-status-busy {
690     background-image: url(../images/loading.gif);
691 }
692 .x-statusbar .x-status-text-panel {
693     border-color: #99bbe8 #fff #fff #99bbe8;
694 }
695
696 /* StatusBar word processor example styles */
697
698 #word-status .x-status-text {
699     color: #777;
700 }
701 #word-status .x-status-busy {
702     background-image: url(../images/saving.gif);
703 }
704 #word-status .x-status-saved {
705     background-image: url(../images/saved.png);
706 }
707
708 /* StatusBar form validation example styles */
709
710 .x-statusbar .x-status-error {
711     color: #C33;
712     background-image: url(../images/exclamation.gif);
713 }
714 .x-statusbar .x-status-valid {
715     background-image: url(../images/accept.png);
716 }
717 .x-status-error-list {
718     border-color: #C33;
719 }
720 .x-status-error-list li a {
721     color: #15428B;
722 }/*!
723  * Ext JS Library 3.2+
724  * Copyright(c) 2006-2009 Ext JS, LLC
725  * licensing@extjs.com
726  * http://www.extjs.com/license
727  */
728 .x-treegrid-root-table {
729     border-right: 1px solid;
730 }
731
732 .x-treegrid-root-node {
733     overflow: auto;
734 }
735
736 .x-treegrid-hd-hidden {
737     visibility: hidden;
738     border: 0;
739     width: 0;
740 }
741
742 .x-treegrid-col {
743     border-bottom: 1px solid;
744     height: 20px;
745     overflow: hidden;
746     vertical-align: top;
747         -o-text-overflow: ellipsis;
748         text-overflow: ellipsis;
749     white-space: nowrap;
750 }
751
752 .x-treegrid-text {
753     padding-left: 4px;
754     -moz-user-select: none;
755     -khtml-user-select: none;
756 }
757
758 .x-treegrid-resizer {
759     border-left:1px solid;
760     border-right:1px solid;
761     position:absolute;
762     left:0;
763     top:0;
764 }
765
766 .x-treegrid-header-inner {
767     overflow: hidden;
768 }
769
770 .x-treegrid-root-table,
771 .x-treegrid-col {
772     border-color: #ededed;
773 }
774
775 .x-treegrid-resizer {
776     border-left-color:#555;
777     border-right-color:#555;
778 }