5 background: $panel-body-background-color;
6 border-color: $panel-body-border-color;
7 border-style: $panel-body-border-style;
9 border-top-color: $grid-header-background-color;
12 // Still needs left and right border even if it's not visible so that its available width can be calculated correctly
13 .#{$prefix}grid-header-ct-hidden {
14 border-top-width: 0 !important;
18 .#{$prefix}grid-header-hidden .#{$prefix}grid-body {
19 border-top-color: $panel-body-border-color !important;
22 .#{$prefix}grid-view {
28 .#{$prefix}grid-table {
30 border-collapse: separate;
33 .#{$prefix}grid-row .#{$prefix}grid-table {
34 border-collapse: collapse;
37 .#{$prefix}grid-locked .#{$prefix}grid-inner-locked {
38 border-width: 0 1px 0 0 !important;
42 .#{$prefix}grid-header-ct {
46 border: 1px solid $panel-body-border-color;
48 @if $supports-gradients or $compile-all {
49 @include background-gradient($grid-header-background-color, $grid-header-background-gradient);
53 .#{$prefix}accordion-item .#{$prefix}grid-header-ct {
57 @if $include-ie or $compile-all {
58 .#{$prefix}border-box .#{$prefix}ie9 {
59 .#{$prefix}grid-header-ct {
63 .#{$prefix}ie6, .#{$prefix}ie7 {
64 .#{$prefix}grid-header-ct {
71 .#{$prefix}column-header {
76 border-right: 1px solid $grid-header-background-color;
79 border-bottom: 0 none;
81 text-shadow: 0 1px 0 rgba(255, 255, 255, .3);
82 font: normal 11px/15px $font-family;
84 @if $grid-header-color {
85 color: $grid-header-color;
87 font: normal ceil($font-size * .9) $font-family;
89 @if $supports-gradients or $compile-all {
90 @include background-gradient($grid-header-background-color, $grid-header-background-gradient);
94 .#{$prefix}group-header {
98 .#{$prefix}group-sub-header {
99 background: transparent;
100 border-top: 1px solid $grid-header-background-color;
101 border-left-width: 0;
104 .#{$prefix}column-header-inner {
109 padding: $grid-header-padding;
111 .#{$prefix}column-header-text {
116 .#{$prefix}column-header-over,
117 .#{$prefix}column-header-sort-ASC,
118 .#{$prefix}column-header-sort-DESC {
119 border-left-color: $grid-header-over-border-color;
120 border-right-color: $grid-header-over-border-color;
122 @if $supports-gradients or $compile-all {
123 @include background-gradient($grid-header-over-background-color, $grid-header-over-background-gradient);
127 @if not $supports-gradients or $compile-all {
129 .#{$prefix}grid-header-ct,
130 .#{$prefix}column-header {
131 background: repeat-x 0 top;
132 background-image: theme-background-image($theme-name, 'grid/column-header-bg.gif');
135 .#{$prefix}column-header-over,
136 .#{$prefix}column-header-sort-ASC,
137 .#{$prefix}column-header-sort-DESC {
138 background: #ebf3fd repeat-x 0 top;
139 background-image: theme-background-image($theme-name, 'grid/column-header-over-bg.gif');
144 .#{$prefix}column-header-trigger {
147 width: $grid-header-trigger-width;
148 background: no-repeat left center;
149 background-color: #c3daf9;
150 background-image: theme-background-image($theme-name, 'grid/grid3-hd-btn.gif');
158 .#{$prefix}column-header-over, .#{$prefix}column-header-open {
159 .#{$prefix}column-header-trigger {
164 .#{$prefix}column-header-align-right {
167 .#{$prefix}column-header-text {
168 padding-right: 0.5ex;
172 .#{$prefix}column-header-align-center {
175 .#{$prefix}column-header-align-left {
179 // Sort direction indicator is a background of the text span.
180 .#{$prefix}column-header-sort-ASC .#{$prefix}column-header-text {
182 background: no-repeat right 6px;
183 background-image: theme-background-image($theme-name, 'grid/sort_asc.gif');
185 .#{$prefix}column-header-sort-DESC .#{$prefix}column-header-text {
187 background: no-repeat right 6px;
188 background-image: theme-background-image($theme-name, 'grid/sort_desc.gif');
192 .#{$prefix}grid-row {
197 padding: $grid-row-padding;
201 .#{$prefix}grid-cell {
202 @if $grid-row-cell-color {
203 color: $grid-row-cell-color;
205 font: $grid-row-cell-font;
206 background-color: $grid-row-cell-background;
207 border-color: $grid-row-cell-border-color;
208 border-style: $grid-row-cell-border-style;
209 border-width: $grid-row-cell-border-width;
210 border-top-color: lighten($grid-row-cell-border-color, 5);
214 .#{$prefix}grid-rowwrap-div {
215 border-width: $grid-row-wrap-border-width;
216 border-color: $grid-row-wrap-border-color;
217 border-style: $grid-row-wrap-border-style;
218 border-top-color: lighten($grid-row-wrap-border-color, 5);
223 .#{$prefix}grid-row-alt .#{$prefix}grid-cell,
224 .#{$prefix}grid-row-alt .#{$prefix}grid-rowwrap-div {
225 background-color: $grid-row-cell-alt-background;
228 .#{$prefix}grid-row-over .#{$prefix}grid-cell,
229 .#{$prefix}grid-row-over .#{$prefix}grid-rowwrap-div {
230 border-color: $grid-row-cell-over-border-color;
232 background-color: $grid-row-cell-over-background-color;
235 .#{$prefix}grid-row-focused .#{$prefix}grid-cell,
236 .#{$prefix}grid-row-focused .#{$prefix}grid-rowwrap-div {
237 border-color: $grid-row-cell-focus-border-color;
239 background-color: $grid-row-cell-focus-background-color;
242 .#{$prefix}grid-row-selected .#{$prefix}grid-cell,
243 .#{$prefix}grid-row-selected .#{$prefix}grid-rowwrap-div {
244 border-style: $grid-row-cell-selected-border-style;
245 border-color: $grid-row-cell-selected-border-color;
247 background-color: $grid-row-cell-selected-background-color !important;
250 .#{$prefix}grid-rowwrap-div {
251 .#{$prefix}grid-cell,
252 .#{$prefix}grid-cell-inner {
255 background: transparent;
259 .#{$prefix}grid-row-body-hidden {
263 .#{$prefix}grid-rowbody {
264 font: $grid-row-body-font;
266 padding: $grid-row-body-padding;
269 margin: 5px 5px 10px 5px;
274 .#{$prefix}grid-cell {
277 font: $grid-cell-font;
282 .#{$prefix}grid-cell-inner {
285 -o-text-overflow: ellipsis;
286 text-overflow: ellipsis;
288 padding: $grid-cell-inner-padding;
293 // Action columns with a standard, 16x16 icon require less padding
294 .#{$prefix}action-col-cell .#{$prefix}grid-cell-inner {
295 padding: 1px 2px 0 2px;
300 .#{$prefix}quirks .#{$prefix}ie9,
301 .#{$prefix}quirks .#{$prefix}ie8,
302 .#{$prefix}strict .#{$prefix}ie8 {
303 .#{$prefix}action-col-cell .#{$prefix}grid-cell-inner {
304 padding: 2px 2px 1px 2px;
308 .#{$prefix}grid-row .#{$prefix}grid-cell-special {
310 border-right: 1px solid $grid-cell-with-col-lines-border-color;
312 @include background-gradient(#f6f6f6, 'grid-cell-special');
316 IE6-8 have issues with shrinking the TR to 0px (even w/line-height=0), so we
317 use an IE-specific trick to make the row disappear. We cannot do this on any
318 other browser, because it is not a non-standard thing to do and those other
319 browsers will do whacky things with it.
324 .#{$prefix}quirks .#{$prefix}ie8,
325 .#{$prefix}strict .#{$prefix}ie8 {
326 .#{$prefix}grid-header-row {
331 .#{$prefix}grid-row-selected .#{$prefix}grid-cell-special {
332 border-right: 1px solid adjust-color($base-color, $hue: -0.175deg, $saturation: 25.296%, $lightness: -2.549%);
334 @include background-gradient($grid-row-cell-selected-background-color, 'grid-cell-special');
337 .#{$prefix}grid-dirty-cell {
338 background-image: theme-background-image($theme-name, 'grid/dirty.gif');
339 background-position: 0 0;
340 background-repeat: no-repeat;
343 .#{$prefix}grid-cell-selected {
344 background-color: #B8CFEE !important;
347 @if not $supports-gradients or $compile-all {
349 .#{$prefix}grid-cell-special {
350 background-repeat: repeat-y;
351 background-position: top right;
354 .#{$prefix}grid-row .#{$prefix}grid-cell-special,
355 .#{$prefix}grid-row-over .#{$prefix}grid-cell-special {
356 background-image: theme-background-image($theme-name, 'grid/cell-special-bg.gif');
360 .#{$prefix}grid-row-focused .#{$prefix}grid-cell-special,
361 .#{$prefix}grid-row-selected .#{$prefix}grid-cell-special {
362 background-image: theme-background-image($theme-name, 'grid/cell-special-selected-bg.gif');
367 //this is panel as gridpanel doesn't use a baseCls
368 .#{$prefix}panel-with-col-lines .#{$prefix}grid-row .#{$prefix}grid-cell {
370 border-right: 1px solid $grid-cell-with-col-lines-border-color;
375 .#{$prefix}grid-cell-special {
376 border-right-width: 0 !important;
381 .#{$prefix}property-grid {
382 .#{$prefix}grid-row .#{$prefix}grid-cell-inner {
383 padding: 3px 6px 5px;
386 .#{$prefix}grid-row .#{$prefix}grid-property-name .#{$prefix}grid-cell-inner,
387 .#{$prefix}grid-row-over .#{$prefix}grid-property-name .#{$prefix}grid-cell-inner {
389 background-image: theme-background-image($theme-name, 'grid/property-cell-bg.gif');
390 background-repeat: no-repeat;
391 background-position: -16px 1px;
396 .#{$prefix}quirks .#{$prefix}ie .#{$prefix}grid-row .#{$prefix}grid-property-name .#{$prefix}grid-cell-inner {
397 background-position: -16px 2px;
401 .#{$prefix}unselectable {
405 .#{$prefix}grid-row-body-hidden {
409 .#{$prefix}grid-group-collapsed {
414 .#{$prefix}grid-view {
415 .#{$prefix}grid-td-expander {
420 .#{$prefix}grid-td-expander {
421 background: repeat-y right transparent;
424 .#{$prefix}grid-view {
425 .#{$prefix}grid-td-expander {
426 .#{$prefix}grid-cell-inner {
427 padding: 0 !important;
432 .#{$prefix}grid-row-expander {
433 background-image: theme-background-image($theme-name, 'grid/group-collapse.gif');
434 background-color: transparent;
441 background-repeat: no-repeat;
442 background-position: 0 -2px;
445 .#{$prefix}grid-row-collapsed {
446 .#{$prefix}grid-row-expander {
447 background-image: theme-background-image($theme-name, 'grid/group-expand.gif');
451 .#{$prefix}grid-resize-marker {
456 background-color: #0f0f0f;
459 //column move icons, when moving columns
470 background: no-repeat left top transparent;
474 background-image: theme-background-image($theme-name, 'grid/col-move-top.gif');
478 background-image: theme-background-image($theme-name, 'grid/col-move-bottom.gif');
482 .#{$prefix}tbar-page-number {
487 .#{$prefix}grid-group,
488 .#{$prefix}grid-group-body,
489 .#{$prefix}grid-group-hd {
493 .#{$prefix}grid-group-hd {
496 .#{$prefix}grid-cell-inner {
497 padding: 10px 4px 4px 4px;
499 background: $grid-grouped-header-background-color;
501 border-width: $grid-grouped-header-border-width;
502 border-style: $grid-grouped-header-border-style;
503 border-color: $grid-grouped-header-border-color;
509 .#{$prefix}grid-group-title {
510 background: transparent no-repeat 0 -1px;
511 background-image: theme-background-image($theme-name, 'grid/group-collapse.gif');
513 color: $grid-grouped-title-color;
514 font: $grid-grouped-title-font;
519 .#{$prefix}grid-group-hd-collapsed {
520 .#{$prefix}grid-group-title {
521 background-image: theme-background-image($theme-name, 'grid/group-expand.gif');
525 .#{$prefix}grid-group-collapsed .#{$prefix}grid-group-body {
529 .#{$prefix}grid-group-collapsed .#{$prefix}grid-group-title {
530 background-image: theme-background-image($theme-name, 'grid/group-expand.gif');
533 .#{$prefix}group-by-icon {
534 background-image: theme-background-image($theme-name, 'grid/group-by.gif');
537 .#{$prefix}show-groups-icon {
538 background-image: theme-background-image($theme-name, 'grid/group-by.gif');
541 .#{$prefix}column-header-checkbox .#{$prefix}column-header-inner {
545 .#{$prefix}grid-cell-special .#{$prefix}grid-cell-inner {
549 .#{$prefix}grid-row-checker,
550 .#{$prefix}column-header-checkbox .#{$prefix}column-header-text {
553 background-image: theme-background-image($theme-name, 'grid/unchecked.gif');
554 background-position: -1px -1px;
555 background-repeat: no-repeat;
556 background-color: transparent;
559 // Row checker is a div but column header checker is the text span element, so make it display: block
560 // Header checkbox element needs centering
561 .#{$prefix}column-header-checkbox .#{$prefix}column-header-text {
567 @if $include-ie or $compile-all {
568 /* All IE Quirks mode need to squish the header height or the line-height will become too tall */
569 /* IE6 always needs the hack regardless of quirks/strict */
570 .#{$prefix}quirks .#{$prefix}ie, .#{$prefix}ie6 {
571 .#{$prefix}column-header-checkbox .#{$prefix}column-header-inner {
576 /* IE 6, 7 & 9 are 1px too far to the right when centering, drop the margin 1px. */
577 .#{$prefix}ie6, .#{$prefix}ie7, .#{$prefix}ie9 {
578 .#{$prefix}column-header-checkbox .#{$prefix}column-header-text {
584 .#{$prefix}grid-hd-checker-on .#{$prefix}column-header-text {
585 background-image: theme-background-image($theme-name, 'grid/checked.gif');
588 .#{$prefix}grid-row-checker {
591 background-position: 50% -2px;
594 .#{$prefix}grid-row-selected .#{$prefix}grid-row-checker,
595 .#{$prefix}grid-row-checked .#{$prefix}grid-row-checker {
596 background-image: theme-background-image($theme-name, 'grid/checked.gif');
600 .#{$prefix}tbar-page-first {
601 background-image: theme-background-image($theme-name, 'grid/page-first.gif') !important;
604 .#{$prefix}tbar-loading {
605 background-image: theme-background-image($theme-name, 'grid/refresh.gif') !important;
608 .#{$prefix}tbar-page-last {
609 background-image: theme-background-image($theme-name, 'grid/page-last.gif') !important;
612 .#{$prefix}tbar-page-next {
613 background-image: theme-background-image($theme-name, 'grid/page-next.gif') !important;
616 .#{$prefix}tbar-page-prev {
617 background-image: theme-background-image($theme-name, 'grid/page-prev.gif') !important;
620 .#{$prefix}item-disabled {
621 .#{$prefix}tbar-loading {
622 background-image: theme-background-image($theme-name, 'grid/refresh-disabled.gif') !important;
625 .#{$prefix}tbar-page-first {
626 background-image: theme-background-image($theme-name, 'grid/page-first-disabled.gif') !important;
629 .#{$prefix}tbar-page-last {
630 background-image: theme-background-image($theme-name, 'grid/page-last-disabled.gif') !important;
633 .#{$prefix}tbar-page-next {
634 background-image: theme-background-image($theme-name, 'grid/page-next-disabled.gif') !important;
637 .#{$prefix}tbar-page-prev {
638 background-image: theme-background-image($theme-name, 'grid/page-prev-disabled.gif') !important;
643 .#{$prefix}hmenu-sort-asc .#{$prefix}menu-item-icon {
644 background-image: theme-background-image($theme-name, 'grid/hmenu-asc.gif');
647 .#{$prefix}hmenu-sort-desc .#{$prefix}menu-item-icon {
648 background-image: theme-background-image($theme-name, 'grid/hmenu-desc.gif');
651 .#{$prefix}hmenu-lock .#{$prefix}menu-item-icon {
652 background-image: theme-background-image($theme-name, 'grid/hmenu-lock.gif');
655 .#{$prefix}hmenu-unlock .#{$prefix}menu-item-icon {
656 background-image: theme-background-image($theme-name, 'grid/hmenu-unlock.gif');
659 .#{$prefix}group-by-icon {
660 background-image: theme-background-image($theme-name, 'grid/group-by.gif');
663 .#{$prefix}cols-icon .#{$prefix}menu-item-icon {
664 background-image: theme-background-image($theme-name, 'grid/columns.gif');
667 .#{$prefix}show-groups-icon {
668 background-image: theme-background-image($theme-name, 'grid/group-by.gif');
671 // Drag/drop indicator styles
672 .#{$prefix}grid-drop-indicator {
676 background-color: #77BC71;
679 .#{$prefix}grid-drop-indicator-left {
683 background-image: theme-background-image($theme-name, 'grid/dd-insert-arrow-right.png');
688 .#{$prefix}grid-drop-indicator-right {
692 background-image: theme-background-image($theme-name, 'grid/dd-insert-arrow-left.png');
699 .#{$prefix}grid-drop-indicator-left {
700 background-image: theme-background-image($theme-name, 'grid/dd-insert-arrow-right.gif');
703 .#{$prefix}grid-drop-indicator-right {
704 background-image: theme-background-image($theme-name, 'grid/dd-insert-arrow-left.gif');
709 .#{$prefix}grid-row-editor {
710 position: absolute !important;
713 overflow: visible !important;
715 .#{$prefix}form-field {
716 font: $grid-row-editor-font;
718 .#{$prefix}form-display-field {
719 font: $grid-row-editor-font;
724 .#{$prefix}panel-body {
725 background-color: $grid-row-editor-background-color;
726 border-top: $grid-row-editor-border;
727 border-bottom: $grid-row-editor-border;
731 // Perfect alignment of input text with cell text
732 .#{$prefix}grid-row-editor {
733 // Align input text with text value in cell
734 .#{$prefix}form-text {
738 .#{$prefix}grid-editor {
739 // Align checkboxes input
740 .#{$prefix}form-cb-wrap {
745 .#{$prefix}grid-row-editor-buttons {
746 background-color: $grid-row-editor-background-color;
753 .#{$prefix}strict & {
772 background-image: theme-background-image($theme-name, 'panel/panel-default-framed-corners.gif');
776 background-position: 0px -16px;
780 background-position: 0px -20px;
789 background-color: $grid-row-editor-border-color;
797 background-color: $grid-row-editor-border-color;
803 background-position: 0px -20px;
808 .#{$prefix}grid-row-editor-errors {