1 | /*! |
---|
2 | * Ext JS Library 3.4.0 |
---|
3 | * Copyright(c) 2006-2011 Sencha Inc. |
---|
4 | * licensing@sencha.com |
---|
5 | * http://www.sencha.com/license |
---|
6 | */ |
---|
7 | /* Grid3 styles */ |
---|
8 | .x-grid3 { |
---|
9 | position:relative; |
---|
10 | overflow:hidden; |
---|
11 | } |
---|
12 | |
---|
13 | .x-grid-panel .x-panel-body { |
---|
14 | overflow:hidden !important; |
---|
15 | } |
---|
16 | |
---|
17 | .x-grid-panel .x-panel-mc .x-panel-body { |
---|
18 | border:1px solid; |
---|
19 | } |
---|
20 | |
---|
21 | .x-grid3 table { |
---|
22 | table-layout:fixed; |
---|
23 | } |
---|
24 | |
---|
25 | .x-grid3-viewport{ |
---|
26 | overflow:hidden; |
---|
27 | } |
---|
28 | |
---|
29 | .x-grid3-hd-row td, .x-grid3-row td, .x-grid3-summary-row td{ |
---|
30 | -moz-outline: none; |
---|
31 | outline: none; |
---|
32 | -moz-user-focus: normal; |
---|
33 | } |
---|
34 | |
---|
35 | .x-grid3-row td, .x-grid3-summary-row td { |
---|
36 | line-height:13px; |
---|
37 | vertical-align: top; |
---|
38 | padding-left:1px; |
---|
39 | padding-right:1px; |
---|
40 | -moz-user-select: none; |
---|
41 | -khtml-user-select:none; |
---|
42 | -webkit-user-select:ignore; |
---|
43 | } |
---|
44 | |
---|
45 | .x-grid3-cell{ |
---|
46 | -moz-user-select: none; |
---|
47 | -khtml-user-select:none; |
---|
48 | -webkit-user-select:ignore; |
---|
49 | } |
---|
50 | |
---|
51 | .x-grid3-hd-row td { |
---|
52 | line-height:15px; |
---|
53 | vertical-align:middle; |
---|
54 | border-left:1px solid; |
---|
55 | border-right:1px solid; |
---|
56 | } |
---|
57 | |
---|
58 | .x-grid3-hd-row .x-grid3-marker-hd { |
---|
59 | padding:3px; |
---|
60 | } |
---|
61 | |
---|
62 | .x-grid3-row .x-grid3-marker { |
---|
63 | padding:3px; |
---|
64 | } |
---|
65 | |
---|
66 | .x-grid3-cell-inner, .x-grid3-hd-inner{ |
---|
67 | overflow:hidden; |
---|
68 | -o-text-overflow: ellipsis; |
---|
69 | text-overflow: ellipsis; |
---|
70 | padding:3px 3px 3px 5px; |
---|
71 | white-space: nowrap; |
---|
72 | } |
---|
73 | |
---|
74 | /* ActionColumn, reduce padding to accommodate 16x16 icons in normal row height */ |
---|
75 | .x-action-col-cell .x-grid3-cell-inner { |
---|
76 | padding-top: 1px; |
---|
77 | padding-bottom: 1px; |
---|
78 | } |
---|
79 | |
---|
80 | .x-action-col-icon { |
---|
81 | cursor: pointer; |
---|
82 | } |
---|
83 | |
---|
84 | .x-grid3-hd-inner { |
---|
85 | position:relative; |
---|
86 | cursor:inherit; |
---|
87 | padding:4px 3px 4px 5px; |
---|
88 | } |
---|
89 | |
---|
90 | .x-grid3-row-body { |
---|
91 | white-space:normal; |
---|
92 | } |
---|
93 | |
---|
94 | .x-grid3-body-cell { |
---|
95 | -moz-outline:0 none; |
---|
96 | outline:0 none; |
---|
97 | } |
---|
98 | |
---|
99 | /* IE Quirks to clip */ |
---|
100 | .ext-ie .x-grid3-cell-inner, .ext-ie .x-grid3-hd-inner{ |
---|
101 | width:100%; |
---|
102 | } |
---|
103 | |
---|
104 | /* reverse above in strict mode */ |
---|
105 | .ext-strict .x-grid3-cell-inner, .ext-strict .x-grid3-hd-inner{ |
---|
106 | width:auto; |
---|
107 | } |
---|
108 | |
---|
109 | .x-grid-row-loading { |
---|
110 | background: no-repeat center center; |
---|
111 | } |
---|
112 | |
---|
113 | .x-grid-page { |
---|
114 | overflow:hidden; |
---|
115 | } |
---|
116 | |
---|
117 | .x-grid3-row { |
---|
118 | cursor: default; |
---|
119 | border: 1px solid; |
---|
120 | width:100%; |
---|
121 | } |
---|
122 | |
---|
123 | .x-grid3-row-over { |
---|
124 | border:1px solid; |
---|
125 | background: repeat-x left top; |
---|
126 | } |
---|
127 | |
---|
128 | .x-grid3-resize-proxy { |
---|
129 | width:1px; |
---|
130 | left:0; |
---|
131 | cursor: e-resize; |
---|
132 | cursor: col-resize; |
---|
133 | position:absolute; |
---|
134 | top:0; |
---|
135 | height:100px; |
---|
136 | overflow:hidden; |
---|
137 | visibility:hidden; |
---|
138 | border:0 none; |
---|
139 | z-index:7; |
---|
140 | } |
---|
141 | |
---|
142 | .x-grid3-resize-marker { |
---|
143 | width:1px; |
---|
144 | left:0; |
---|
145 | position:absolute; |
---|
146 | top:0; |
---|
147 | height:100px; |
---|
148 | overflow:hidden; |
---|
149 | visibility:hidden; |
---|
150 | border:0 none; |
---|
151 | z-index:7; |
---|
152 | } |
---|
153 | |
---|
154 | .x-grid3-focus { |
---|
155 | position:absolute; |
---|
156 | left:0; |
---|
157 | top:0; |
---|
158 | width:1px; |
---|
159 | height:1px; |
---|
160 | line-height:1px; |
---|
161 | font-size:1px; |
---|
162 | -moz-outline:0 none; |
---|
163 | outline:0 none; |
---|
164 | -moz-user-select: text; |
---|
165 | -khtml-user-select: text; |
---|
166 | -webkit-user-select:ignore; |
---|
167 | } |
---|
168 | |
---|
169 | /* header styles */ |
---|
170 | .x-grid3-header{ |
---|
171 | background: repeat-x 0 bottom; |
---|
172 | cursor:default; |
---|
173 | zoom:1; |
---|
174 | padding:1px 0 0 0; |
---|
175 | } |
---|
176 | |
---|
177 | .x-grid3-header-pop { |
---|
178 | border-left:1px solid; |
---|
179 | float:right; |
---|
180 | clear:none; |
---|
181 | } |
---|
182 | |
---|
183 | .x-grid3-header-pop-inner { |
---|
184 | border-left:1px solid; |
---|
185 | width:14px; |
---|
186 | height:19px; |
---|
187 | background: transparent no-repeat center center; |
---|
188 | } |
---|
189 | |
---|
190 | .ext-ie .x-grid3-header-pop-inner { |
---|
191 | width:15px; |
---|
192 | } |
---|
193 | |
---|
194 | .ext-strict .x-grid3-header-pop-inner { |
---|
195 | width:14px; |
---|
196 | } |
---|
197 | |
---|
198 | .x-grid3-header-inner { |
---|
199 | overflow:hidden; |
---|
200 | zoom:1; |
---|
201 | float:left; |
---|
202 | } |
---|
203 | |
---|
204 | .x-grid3-header-offset { |
---|
205 | padding-left:1px; |
---|
206 | text-align: left; |
---|
207 | } |
---|
208 | |
---|
209 | td.x-grid3-hd-over, td.sort-desc, td.sort-asc, td.x-grid3-hd-menu-open { |
---|
210 | border-left:1px solid; |
---|
211 | border-right:1px solid; |
---|
212 | } |
---|
213 | |
---|
214 | td.x-grid3-hd-over .x-grid3-hd-inner, td.sort-desc .x-grid3-hd-inner, td.sort-asc .x-grid3-hd-inner, td.x-grid3-hd-menu-open .x-grid3-hd-inner { |
---|
215 | background: repeat-x left bottom; |
---|
216 | |
---|
217 | } |
---|
218 | |
---|
219 | .x-grid3-sort-icon{ |
---|
220 | background-repeat: no-repeat; |
---|
221 | display: none; |
---|
222 | height: 4px; |
---|
223 | width: 13px; |
---|
224 | margin-left:3px; |
---|
225 | vertical-align: middle; |
---|
226 | } |
---|
227 | |
---|
228 | .sort-asc .x-grid3-sort-icon, .sort-desc .x-grid3-sort-icon { |
---|
229 | display: inline; |
---|
230 | } |
---|
231 | |
---|
232 | /* Header position fixes for IE strict mode */ |
---|
233 | .ext-strict .ext-ie .x-grid3-header-inner, .ext-strict .ext-ie6 .x-grid3-hd { |
---|
234 | position:relative; |
---|
235 | } |
---|
236 | |
---|
237 | .ext-strict .ext-ie6 .x-grid3-hd-inner{ |
---|
238 | position:static; |
---|
239 | } |
---|
240 | |
---|
241 | /* Body Styles */ |
---|
242 | .x-grid3-body { |
---|
243 | zoom:1; |
---|
244 | } |
---|
245 | |
---|
246 | .x-grid3-scroller { |
---|
247 | overflow:auto; |
---|
248 | zoom:1; |
---|
249 | position:relative; |
---|
250 | } |
---|
251 | |
---|
252 | .x-grid3-cell-text, .x-grid3-hd-text { |
---|
253 | display: block; |
---|
254 | padding: 3px 5px 3px 5px; |
---|
255 | -moz-user-select: none; |
---|
256 | -khtml-user-select: none; |
---|
257 | -webkit-user-select:ignore; |
---|
258 | } |
---|
259 | |
---|
260 | .x-grid3-split { |
---|
261 | background-position: center; |
---|
262 | background-repeat: no-repeat; |
---|
263 | cursor: e-resize; |
---|
264 | cursor: col-resize; |
---|
265 | display: block; |
---|
266 | font-size: 1px; |
---|
267 | height: 16px; |
---|
268 | overflow: hidden; |
---|
269 | position: absolute; |
---|
270 | top: 2px; |
---|
271 | width: 6px; |
---|
272 | z-index: 3; |
---|
273 | } |
---|
274 | |
---|
275 | /* Column Reorder DD */ |
---|
276 | .x-dd-drag-proxy .x-grid3-hd-inner{ |
---|
277 | background: repeat-x left bottom; |
---|
278 | width:120px; |
---|
279 | padding:3px; |
---|
280 | border:1px solid; |
---|
281 | overflow:hidden; |
---|
282 | } |
---|
283 | |
---|
284 | .col-move-top, .col-move-bottom{ |
---|
285 | width:9px; |
---|
286 | height:9px; |
---|
287 | position:absolute; |
---|
288 | top:0; |
---|
289 | line-height:1px; |
---|
290 | font-size:1px; |
---|
291 | overflow:hidden; |
---|
292 | visibility:hidden; |
---|
293 | z-index:20000; |
---|
294 | background:transparent no-repeat left top; |
---|
295 | } |
---|
296 | |
---|
297 | /* Selection Styles */ |
---|
298 | .x-grid3-row-selected { |
---|
299 | border:1px dotted; |
---|
300 | } |
---|
301 | |
---|
302 | .x-grid3-locked td.x-grid3-row-marker, .x-grid3-locked .x-grid3-row-selected td.x-grid3-row-marker{ |
---|
303 | background: repeat-x 0 bottom !important; |
---|
304 | vertical-align:middle !important; |
---|
305 | padding:0; |
---|
306 | border-top:1px solid; |
---|
307 | border-bottom:none !important; |
---|
308 | border-right:1px solid !important; |
---|
309 | text-align:center; |
---|
310 | } |
---|
311 | |
---|
312 | .x-grid3-locked td.x-grid3-row-marker div, .x-grid3-locked .x-grid3-row-selected td.x-grid3-row-marker div{ |
---|
313 | padding:0 4px; |
---|
314 | text-align:center; |
---|
315 | } |
---|
316 | |
---|
317 | /* dirty cells */ |
---|
318 | .x-grid3-dirty-cell { |
---|
319 | background: transparent no-repeat 0 0; |
---|
320 | } |
---|
321 | |
---|
322 | /* Grid Toolbars */ |
---|
323 | .x-grid3-topbar, .x-grid3-bottombar{ |
---|
324 | overflow:hidden; |
---|
325 | display:none; |
---|
326 | zoom:1; |
---|
327 | position:relative; |
---|
328 | } |
---|
329 | |
---|
330 | .x-grid3-topbar .x-toolbar{ |
---|
331 | border-right:0 none; |
---|
332 | } |
---|
333 | |
---|
334 | .x-grid3-bottombar .x-toolbar{ |
---|
335 | border-right:0 none; |
---|
336 | border-bottom:0 none; |
---|
337 | border-top:1px solid; |
---|
338 | } |
---|
339 | |
---|
340 | /* Props Grid Styles */ |
---|
341 | .x-props-grid .x-grid3-cell{ |
---|
342 | padding:1px; |
---|
343 | } |
---|
344 | |
---|
345 | .x-props-grid .x-grid3-td-name .x-grid3-cell-inner{ |
---|
346 | background:transparent repeat-y -16px !important; |
---|
347 | padding-left:12px; |
---|
348 | } |
---|
349 | |
---|
350 | .x-props-grid .x-grid3-body .x-grid3-td-name{ |
---|
351 | padding:1px; |
---|
352 | padding-right:0; |
---|
353 | border:0 none; |
---|
354 | border-right:1px solid; |
---|
355 | } |
---|
356 | |
---|
357 | /* dd */ |
---|
358 | .x-grid3-col-dd { |
---|
359 | border:0 none; |
---|
360 | padding:0; |
---|
361 | background-color:transparent; |
---|
362 | } |
---|
363 | |
---|
364 | .x-dd-drag-ghost .x-grid3-dd-wrap { |
---|
365 | padding:1px 3px 3px 1px; |
---|
366 | } |
---|
367 | |
---|
368 | .x-grid3-hd { |
---|
369 | -moz-user-select:none; |
---|
370 | -khtml-user-select:none; |
---|
371 | -webkit-user-select:ignore; |
---|
372 | } |
---|
373 | |
---|
374 | .x-grid3-hd-btn { |
---|
375 | display:none; |
---|
376 | position:absolute; |
---|
377 | width:14px; |
---|
378 | background:no-repeat left center; |
---|
379 | right:0; |
---|
380 | top:0; |
---|
381 | z-index:2; |
---|
382 | cursor:pointer; |
---|
383 | } |
---|
384 | |
---|
385 | .x-grid3-hd-over .x-grid3-hd-btn, .x-grid3-hd-menu-open .x-grid3-hd-btn { |
---|
386 | display:block; |
---|
387 | } |
---|
388 | |
---|
389 | a.x-grid3-hd-btn:hover { |
---|
390 | background-position:-14px center; |
---|
391 | } |
---|
392 | |
---|
393 | /* Expanders */ |
---|
394 | .x-grid3-body .x-grid3-td-expander { |
---|
395 | background:transparent repeat-y right; |
---|
396 | } |
---|
397 | |
---|
398 | .x-grid3-body .x-grid3-td-expander .x-grid3-cell-inner { |
---|
399 | padding:0 !important; |
---|
400 | height:100%; |
---|
401 | } |
---|
402 | |
---|
403 | .x-grid3-row-expander { |
---|
404 | width:100%; |
---|
405 | height:18px; |
---|
406 | background-position:4px 2px; |
---|
407 | background-repeat:no-repeat; |
---|
408 | background-color:transparent; |
---|
409 | } |
---|
410 | |
---|
411 | .x-grid3-row-collapsed .x-grid3-row-expander { |
---|
412 | background-position:4px 2px; |
---|
413 | } |
---|
414 | |
---|
415 | .x-grid3-row-expanded .x-grid3-row-expander { |
---|
416 | background-position:-21px 2px; |
---|
417 | } |
---|
418 | |
---|
419 | .x-grid3-row-collapsed .x-grid3-row-body { |
---|
420 | display:none !important; |
---|
421 | } |
---|
422 | |
---|
423 | .x-grid3-row-expanded .x-grid3-row-body { |
---|
424 | display:block !important; |
---|
425 | } |
---|
426 | |
---|
427 | /* Checkers */ |
---|
428 | .x-grid3-body .x-grid3-td-checker { |
---|
429 | background:transparent repeat-y right; |
---|
430 | } |
---|
431 | |
---|
432 | .x-grid3-body .x-grid3-td-checker .x-grid3-cell-inner, .x-grid3-header .x-grid3-td-checker .x-grid3-hd-inner { |
---|
433 | padding:0 !important; |
---|
434 | height:100%; |
---|
435 | } |
---|
436 | |
---|
437 | .x-grid3-row-checker, .x-grid3-hd-checker { |
---|
438 | width:100%; |
---|
439 | height:18px; |
---|
440 | background-position:2px 2px; |
---|
441 | background-repeat:no-repeat; |
---|
442 | background-color:transparent; |
---|
443 | } |
---|
444 | |
---|
445 | .x-grid3-row .x-grid3-row-checker { |
---|
446 | background-position:2px 2px; |
---|
447 | } |
---|
448 | |
---|
449 | .x-grid3-row-selected .x-grid3-row-checker, .x-grid3-hd-checker-on .x-grid3-hd-checker,.x-grid3-row-checked .x-grid3-row-checker { |
---|
450 | background-position:-23px 2px; |
---|
451 | } |
---|
452 | |
---|
453 | .x-grid3-hd-checker { |
---|
454 | background-position:2px 1px; |
---|
455 | } |
---|
456 | |
---|
457 | .ext-border-box .x-grid3-hd-checker { |
---|
458 | background-position:2px 3px; |
---|
459 | } |
---|
460 | |
---|
461 | .x-grid3-hd-checker-on .x-grid3-hd-checker { |
---|
462 | background-position:-23px 1px; |
---|
463 | } |
---|
464 | |
---|
465 | .ext-border-box .x-grid3-hd-checker-on .x-grid3-hd-checker { |
---|
466 | background-position:-23px 3px; |
---|
467 | } |
---|
468 | |
---|
469 | /* Numberer */ |
---|
470 | .x-grid3-body .x-grid3-td-numberer { |
---|
471 | background:transparent repeat-y right; |
---|
472 | } |
---|
473 | |
---|
474 | .x-grid3-body .x-grid3-td-numberer .x-grid3-cell-inner { |
---|
475 | padding:3px 5px 0 0 !important; |
---|
476 | text-align:right; |
---|
477 | } |
---|
478 | |
---|
479 | /* Row Icon */ |
---|
480 | |
---|
481 | .x-grid3-body .x-grid3-td-row-icon { |
---|
482 | background:transparent repeat-y right; |
---|
483 | vertical-align:top; |
---|
484 | text-align:center; |
---|
485 | } |
---|
486 | |
---|
487 | .x-grid3-body .x-grid3-td-row-icon .x-grid3-cell-inner { |
---|
488 | padding:0 !important; |
---|
489 | background-position:center center; |
---|
490 | background-repeat:no-repeat; |
---|
491 | width:16px; |
---|
492 | height:16px; |
---|
493 | margin-left:2px; |
---|
494 | margin-top:3px; |
---|
495 | } |
---|
496 | |
---|
497 | /* All specials */ |
---|
498 | .x-grid3-body .x-grid3-row-selected .x-grid3-td-numberer, |
---|
499 | .x-grid3-body .x-grid3-row-selected .x-grid3-td-checker, |
---|
500 | .x-grid3-body .x-grid3-row-selected .x-grid3-td-expander { |
---|
501 | background:transparent repeat-y right; |
---|
502 | } |
---|
503 | |
---|
504 | .x-grid3-body .x-grid3-check-col-td .x-grid3-cell-inner { |
---|
505 | padding: 1px 0 0 0 !important; |
---|
506 | } |
---|
507 | |
---|
508 | .x-grid3-check-col { |
---|
509 | width:100%; |
---|
510 | height:16px; |
---|
511 | background-position:center center; |
---|
512 | background-repeat:no-repeat; |
---|
513 | background-color:transparent; |
---|
514 | } |
---|
515 | |
---|
516 | .x-grid3-check-col-on { |
---|
517 | width:100%; |
---|
518 | height:16px; |
---|
519 | background-position:center center; |
---|
520 | background-repeat:no-repeat; |
---|
521 | background-color:transparent; |
---|
522 | } |
---|
523 | |
---|
524 | /* Grouping classes */ |
---|
525 | .x-grid-group, .x-grid-group-body, .x-grid-group-hd { |
---|
526 | zoom:1; |
---|
527 | } |
---|
528 | |
---|
529 | .x-grid-group-hd { |
---|
530 | border-bottom: 2px solid; |
---|
531 | cursor:pointer; |
---|
532 | padding-top:6px; |
---|
533 | } |
---|
534 | |
---|
535 | .x-grid-group-hd div.x-grid-group-title { |
---|
536 | background:transparent no-repeat 3px 3px; |
---|
537 | padding:4px 4px 4px 17px; |
---|
538 | } |
---|
539 | |
---|
540 | .x-grid-group-collapsed .x-grid-group-body { |
---|
541 | display:none; |
---|
542 | } |
---|
543 | |
---|
544 | .ext-ie6 .x-grid3 .x-editor .x-form-text, .ext-ie7 .x-grid3 .x-editor .x-form-text { |
---|
545 | position:relative; |
---|
546 | top:-1px; |
---|
547 | } |
---|
548 | |
---|
549 | .ext-ie .x-props-grid .x-editor .x-form-text { |
---|
550 | position:static; |
---|
551 | top:0; |
---|
552 | } |
---|
553 | |
---|
554 | .x-grid-empty { |
---|
555 | padding:10px; |
---|
556 | } |
---|
557 | |
---|
558 | /* fix floating toolbar issue */ |
---|
559 | .ext-ie7 .x-grid-panel .x-panel-bbar { |
---|
560 | position:relative; |
---|
561 | } |
---|
562 | |
---|
563 | |
---|
564 | /* Reset position to static when Grid Panel has been framed */ |
---|
565 | /* to resolve 'snapping' from top to bottom behavior. */ |
---|
566 | /* @forumThread 86656 */ |
---|
567 | .ext-ie7 .x-grid-panel .x-panel-mc .x-panel-bbar { |
---|
568 | position: static; |
---|
569 | } |
---|
570 | |
---|
571 | .ext-ie6 .x-grid3-header { |
---|
572 | position: relative; |
---|
573 | } |
---|
574 | |
---|
575 | /* Fix WebKit bug in Grids */ |
---|
576 | .ext-webkit .x-grid-panel .x-panel-bwrap{ |
---|
577 | -webkit-user-select:none; |
---|
578 | } |
---|
579 | .ext-webkit .x-tbar-page-number{ |
---|
580 | -webkit-user-select:ignore; |
---|
581 | } |
---|
582 | /* end*/ |
---|
583 | |
---|
584 | /* column lines */ |
---|
585 | .x-grid-with-col-lines .x-grid3-row td.x-grid3-cell { |
---|
586 | padding-right:0; |
---|
587 | border-right:1px solid; |
---|
588 | } |
---|