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 .#{$prefix}grid-header-ct-hidden {
13 border-width: 0 0 0 0 !important;
17 .#{$prefix}grid-header-hidden .#{$prefix}grid-body {
18 border-top-color: $panel-body-border-color !important;
21 .#{$prefix}grid-view {
27 .#{$prefix}grid-table {
29 border-collapse: separate;
32 .#{$prefix}grid-locked .#{$prefix}grid-inner-locked {
33 border-width: 0 1px 0 0 !important;
37 @if $include-ie or $compile-all {
38 .#{$prefix}ie .#{$prefix}grid-table {
39 border-collapse: collapse;
43 .#{$prefix}grid-header-ct {
47 border: 1px solid $panel-body-border-color;
49 @if $supports-gradients or $compile-all {
50 @include background-gradient($grid-header-background-color, $grid-header-background-gradient);
54 @if $include-ie or $compile-all {
55 .#{$prefix}border-box .#{$prefix}ie9 {
56 .#{$prefix}grid-header-ct {
60 .#{$prefix}ie6, .#{$prefix}ie7 {
61 .#{$prefix}grid-header-ct {
68 .#{$prefix}column-header {
73 border-right: 1px solid $grid-header-background-color;
76 border-bottom: 0 none;
78 text-shadow: 0 1px 0 rgba(255, 255, 255, .3);
79 font: normal 11px/15px $font-family;
81 @if $grid-header-color {
82 color: $grid-header-color;
84 font: normal ceil($font-size * .9) $font-family;
86 @if $supports-gradients or $compile-all {
87 @include background-gradient($grid-header-background-color, $grid-header-background-gradient);
91 .#{$prefix}group-header {
95 .#{$prefix}group-sub-header {
96 background: transparent;
97 border-top: 1px solid $grid-header-background-color;
101 .#{$prefix}column-header-inner {
106 padding: $grid-header-padding;
108 .#{$prefix}column-header-text {
113 .#{$prefix}column-header-over,
114 .#{$prefix}column-header-sort-ASC,
115 .#{$prefix}column-header-sort-DESC {
116 border-left-color: $grid-header-over-border-color;
117 border-right-color: $grid-header-over-border-color;
119 @if $supports-gradients or $compile-all {
120 @include background-gradient($grid-header-over-background-color, $grid-header-over-background-gradient);
124 @if not $supports-gradients or $compile-all {
126 .#{$prefix}grid-header-ct,
127 .#{$prefix}column-header {
128 background: theme-image($theme-name, 'grid/column-header-bg.gif') repeat-x 0 top;
131 .#{$prefix}column-header-over,
132 .#{$prefix}column-header-sort-ASC,
133 .#{$prefix}column-header-sort-DESC {
134 background: #ebf3fd theme-image($theme-name, 'grid/column-header-over-bg.gif') repeat-x 0 top;
139 .#{$prefix}column-header-trigger {
142 width: $grid-header-trigger-width;
143 background: no-repeat left center;
144 background-color: #c3daf9;
145 background-image: theme-image($theme-name, 'grid/grid3-hd-btn.gif');
153 .#{$prefix}column-header-over, .#{$prefix}column-header-open {
154 .#{$prefix}column-header-trigger {
159 .#{$prefix}column-header-align-right {
162 .#{$prefix}column-header-text {
163 padding-right: 0.5ex;
166 .#{$prefix}column-header-align-center {
169 .#{$prefix}column-header-align-left {
173 // Sort direction indicator is a background of the text span.
174 .#{$prefix}column-header-sort-ASC .#{$prefix}column-header-text {
176 background: theme-image($theme-name, 'grid/sort_asc.gif') no-repeat right 6px;
178 .#{$prefix}column-header-sort-DESC .#{$prefix}column-header-text {
180 background: theme-image($theme-name, 'grid/sort_desc.gif') no-repeat right 6px;
184 .#{$prefix}grid-row {
189 padding: $grid-row-padding;
191 -moz-user-select: none;
192 -khtml-user-select: none;
193 -webkit-user-select: ignore;
195 .#{$prefix}grid-cell {
196 @if $grid-row-cell-color {
197 color: $grid-row-cell-color;
199 font: $grid-row-cell-font;
201 border-color: $grid-row-cell-border-color;
202 border-style: $grid-row-cell-border-style;
203 border-width: $grid-row-cell-border-width;
204 border-top-color: lighten($grid-row-cell-border-color, 5);
208 .#{$prefix}grid-rowwrap-div {
209 border-width: $grid-row-wrap-border-width;
210 border-color: $grid-row-wrap-border-color;
211 border-style: $grid-row-wrap-border-style;
212 border-top-color: lighten($grid-row-wrap-border-color, 5);
217 .#{$prefix}grid-row-alt .#{$prefix}grid-cell,
218 .#{$prefix}grid-row-alt .#{$prefix}grid-rowwrap-div {
219 background-color: $grid-row-cell-alt-background;
222 .#{$prefix}grid-row-over .#{$prefix}grid-cell,
223 .#{$prefix}grid-row-over .#{$prefix}grid-rowwrap-div {
224 border-color: $grid-row-cell-over-border-color;
226 background-color: $grid-row-cell-over-background-color;
229 .#{$prefix}grid-row-focused .#{$prefix}grid-cell,
230 .#{$prefix}grid-row-focused .#{$prefix}grid-rowwrap-div {
231 border-color: $grid-row-cell-focus-border-color;
233 background-color: $grid-row-cell-focus-background-color;
236 .#{$prefix}grid-row-selected .#{$prefix}grid-cell,
237 .#{$prefix}grid-row-selected .#{$prefix}grid-rowwrap-div {
238 border-style: $grid-row-cell-selected-border-style;
239 border-color: $grid-row-cell-selected-border-color;
241 background-color: $grid-row-cell-selected-background-color !important;
246 .#{$prefix}grid-cell {
250 .#{$prefix}grid-cell-inner {
251 border-color: $grid-row-cell-border-color;
252 border-style: $grid-row-cell-border-style;
253 border-width: $grid-row-cell-border-width;
254 border-top-color: lighten($grid-row-cell-border-color, 5);
258 .#{$prefix}grid-row-over .#{$prefix}grid-cell-inner {
259 border-color: $grid-row-cell-over-border-color;
262 .#{$prefix}grid-row-focused .#{$prefix}grid-cell-inner {
263 border-color: $grid-row-cell-focus-border-color;
266 .#{$prefix}grid-row-selected .#{$prefix}grid-cell-inner {
267 border-style: $grid-row-cell-selected-border-style;
268 border-color: $grid-row-cell-selected-border-color;
273 .#{$prefix}grid-rowwrap-div {
274 .#{$prefix}grid-cell,
275 .#{$prefix}grid-cell-inner {
278 background: transparent;
282 .#{$prefix}grid-row-body-hidden {
286 .#{$prefix}grid-rowbody {
287 font: $grid-row-body-font;
289 padding: $grid-row-body-padding;
292 margin: 5px 5px 10px 5px;
297 .#{$prefix}grid-cell {
300 font: $grid-cell-font;
302 -moz-user-select: none;
303 -khtml-user-select:none;
304 -webkit-user-select:ignore;
307 .#{$prefix}grid-cell-inner {
310 -o-text-overflow: ellipsis;
311 text-overflow: ellipsis;
313 padding: $grid-cell-inner-padding;
318 // Action columns with a standard, 16x16 icon require less padding
319 .#{$prefix}action-col-cell .#{$prefix}grid-cell-inner {
320 padding: 1px 2px 0 2px;
325 .#{$prefix}quirks .#{$prefix}ie9,
326 .#{$prefix}quirks .#{$prefix}ie8,
327 .#{$prefix}strict .#{$prefix}ie8 {
328 .#{$prefix}action-col-cell .#{$prefix}grid-cell-inner {
329 padding: 2px 2px 1px 2px;
333 .#{$prefix}grid-row .#{$prefix}grid-cell-special {
335 border-right: 1px solid $grid-cell-with-col-lines-border-color;
337 @include background-gradient(#f6f6f6, 'grid-cell-special');
342 .#{$prefix}quirks .#{$prefix}ie8,
343 .#{$prefix}strict .#{$prefix}ie8 {
344 .#{$prefix}grid-row .#{$prefix}grid-cell-special .#{$prefix}grid-cell-inner {
351 .#{$prefix}ie6, .#{$prefix}ie7 {
352 .#{$prefix}grid-cell-inner {
359 .#{$prefix}grid-row-selected .#{$prefix}grid-cell-special {
360 border-right: 1px solid adjust-color($base-color, $hue: -0.175deg, $saturation: 25.296%, $lightness: -2.549%);
362 @include background-gradient($grid-row-cell-selected-background-color, 'grid-cell-special');
365 .#{$prefix}grid-dirty-cell {
366 background-image: theme-image($theme-name, 'grid/dirty.gif');
367 background-position: 0 0;
368 background-repeat: no-repeat;
371 .#{$prefix}grid-cell-selected {
372 background-color: #B8CFEE !important;
375 @if not $supports-gradients or $compile-all {
377 .#{$prefix}grid-cell-special {
378 background-repeat: repeat-y;
379 background-position: top right;
382 .#{$prefix}grid-row .#{$prefix}grid-cell-special,
383 .#{$prefix}grid-row-over .#{$prefix}grid-cell-special {
384 background-image: theme-image($theme-name, 'grid/cell-special-bg.gif');
388 .#{$prefix}grid-row-focused .#{$prefix}grid-cell-special,
389 .#{$prefix}grid-row-selected .#{$prefix}grid-cell-special {
390 background-image: theme-image($theme-name, 'grid/cell-special-selected-bg.gif');
395 //this is panel as gridpanel doesnt use a baseCls..........
396 .#{$prefix}panel-with-col-lines .#{$prefix}grid-row .#{$prefix}grid-cell {
398 border-right: 1px solid $grid-cell-with-col-lines-border-color;
403 .#{$prefix}grid-cell-special {
404 border-right-width: 0 !important;
409 .#{$prefix}property-grid {
410 .#{$prefix}grid-row .#{$prefix}grid-cell-inner {
411 padding: 3px 6px 5px;
414 .#{$prefix}grid-row .#{$prefix}grid-property-name .#{$prefix}grid-cell-inner,
415 .#{$prefix}grid-row-over .#{$prefix}grid-property-name .#{$prefix}grid-cell-inner {
417 background: theme-image($theme-name, 'grid/property-cell-bg.gif');
418 background-repeat: no-repeat;
419 background-position: -16px 1px;
424 .#{$prefix}quirks .#{$prefix}ie .#{$prefix}grid-row .#{$prefix}grid-property-name .#{$prefix}grid-cell-inner {
425 background-position: -16px 2px;
429 .#{$prefix}unselectable {
430 -moz-user-select: none;
431 -khtml-user-select: none;
432 -webkit-user-select: ignore;
435 .#{$prefix}grid-row-body-hidden {
439 .#{$prefix}grid-group-collapsed {
444 .#{$prefix}grid-view {
445 .#{$prefix}grid-td-expander {
450 .#{$prefix}grid-td-expander {
451 background: repeat-y right transparent;
454 .#{$prefix}grid-view {
455 .#{$prefix}grid-td-expander {
456 .#{$prefix}grid-cell-inner {
457 padding: 0 !important;
462 .#{$prefix}grid-row-expander {
463 background-image: theme-image($theme-name, 'grid/group-collapse.gif');
464 background-color: transparent;
471 background-repeat: no-repeat;
472 background-position: 0 -2px;
475 .#{$prefix}grid-row-collapsed {
476 .#{$prefix}grid-row-expander {
477 background-image: theme-image($theme-name, 'grid/group-expand.gif');
481 .#{$prefix}grid-resize-marker {
486 background-color: #0f0f0f;
489 //column move icons, when moving columns
500 background: no-repeat left top transparent;
504 background-image: theme-image($theme-name, 'grid/col-move-top.gif');
508 background-image: theme-image($theme-name, 'grid/col-move-bottom.gif');
512 .#{$prefix}tbar-page-number {
517 .#{$prefix}grid-group,
518 .#{$prefix}grid-group-body,
519 .#{$prefix}grid-group-hd {
523 .#{$prefix}grid-group-hd {
526 .#{$prefix}grid-cell-inner {
527 padding: 10px 4px 4px 4px;
529 background: $grid-grouped-header-background-color;
531 border-width: $grid-grouped-header-border-width;
532 border-style: $grid-grouped-header-border-style;
533 border-color: $grid-grouped-header-border-color;
539 .#{$prefix}grid-group-title {
540 background: transparent no-repeat 0 -1px;
541 background-image: theme-image($theme-name, 'grid/group-collapse.gif');
543 color: $grid-grouped-title-color;
544 font: $grid-grouped-title-font;
549 .#{$prefix}grid-group-hd-collapsed {
550 .#{$prefix}grid-group-title {
551 background-image: theme-image($theme-name, 'grid/group-expand.gif');
555 .#{$prefix}grid-group-collapsed .#{$prefix}grid-group-body {
559 .#{$prefix}grid-group-collapsed .#{$prefix}grid-group-title {
560 background-image: theme-image($theme-name, 'grid/group-expand.gif');
563 .#{$prefix}group-by-icon {
564 background-image: theme-image($theme-name, 'grid/group-by.gif');
567 .#{$prefix}show-groups-icon {
568 background-image: theme-image($theme-name, 'grid/group-by.gif');
571 .#{$prefix}column-header-checkbox .#{$prefix}column-header-inner {
575 .#{$prefix}grid-cell-special .#{$prefix}grid-cell-inner {
579 .#{$prefix}grid-row-checker,
580 .#{$prefix}column-header-checkbox .#{$prefix}column-header-text {
583 background-image: theme-image($theme-name, 'grid/unchecked.gif');
584 background-position: -1px -1px;
585 background-repeat: no-repeat;
586 background-color: transparent;
589 // Row checker is a div but column header checker is the text span element, so make it display: block
590 // Header checkbox element needs centering
591 .#{$prefix}column-header-checkbox .#{$prefix}column-header-text {
597 @if $include-ie or $compile-all {
598 /* All IE Quirks mode need to squish the header height or the line-height will become too tall */
599 /* IE6 always needs the hack regardless of quirks/strict */
600 .#{$prefix}quirks .#{$prefix}ie, .#{$prefix}ie6 {
601 .#{$prefix}column-header-checkbox .#{$prefix}column-header-inner {
606 /* IE 6, 7 & 9 are 1px too far to the right when centering, drop the margin 1px. */
607 .#{$prefix}ie6, .#{$prefix}ie7, .#{$prefix}ie9 {
608 .#{$prefix}column-header-checkbox .#{$prefix}column-header-text {
614 .#{$prefix}grid-hd-checker-on .#{$prefix}column-header-text {
615 background-image: theme-image($theme-name, 'grid/checked.gif');
618 .#{$prefix}grid-row-checker {
621 background-position: 50% -2px;
624 .#{$prefix}grid-row-selected .#{$prefix}grid-row-checker,
625 .#{$prefix}grid-row-checked .#{$prefix}grid-row-checker {
626 background-image: theme-image($theme-name, 'grid/checked.gif');
630 .#{$prefix}tbar-page-first {
631 background-image: theme-image($theme-name, 'grid/page-first.gif') !important;
634 .#{$prefix}tbar-loading {
635 background-image: theme-image($theme-name, 'grid/refresh.gif') !important;
638 .#{$prefix}tbar-page-last {
639 background-image: theme-image($theme-name, 'grid/page-last.gif') !important;
642 .#{$prefix}tbar-page-next {
643 background-image: theme-image($theme-name, 'grid/page-next.gif') !important;
646 .#{$prefix}tbar-page-prev {
647 background-image: theme-image($theme-name, 'grid/page-prev.gif') !important;
650 .#{$prefix}item-disabled {
651 .#{$prefix}tbar-loading {
652 background-image: theme-image($theme-name, 'grid/refresh-disabled.gif') !important;
655 .#{$prefix}tbar-page-first {
656 background-image: theme-image($theme-name, 'grid/page-first-disabled.gif') !important;
659 .#{$prefix}tbar-page-last {
660 background-image: theme-image($theme-name, 'grid/page-last-disabled.gif') !important;
663 .#{$prefix}tbar-page-next {
664 background-image: theme-image($theme-name, 'grid/page-next-disabled.gif') !important;
667 .#{$prefix}tbar-page-prev {
668 background-image: theme-image($theme-name, 'grid/page-prev-disabled.gif') !important;
673 .xg-hmenu-sort-asc .#{$prefix}menu-item-icon {
674 background-image: theme-image($theme-name, 'grid/hmenu-asc.gif');
677 .xg-hmenu-sort-desc .#{$prefix}menu-item-icon {
678 background-image: theme-image($theme-name, 'grid/hmenu-desc.gif');
681 .xg-hmenu-lock .#{$prefix}menu-item-icon {
682 background-image: theme-image($theme-name, 'grid/hmenu-lock.gif');
685 .xg-hmenu-unlock .#{$prefix}menu-item-icon {
686 background-image: theme-image($theme-name, 'grid/hmenu-unlock.gif');
689 .#{$prefix}group-by-icon {
690 background-image: theme-image($theme-name, 'grid/group-by.gif');
693 .#{$prefix}cols-icon .#{$prefix}menu-item-icon {
694 background-image: theme-image($theme-name, 'grid/columns.gif');
697 .#{$prefix}show-groups-icon {
698 background-image: theme-image($theme-name, 'grid/group-by.gif');
701 // Drag/drop indicator styles
702 .#{$prefix}grid-drop-indicator {
706 background-color: #77BC71;
709 .#{$prefix}grid-drop-indicator-left {
713 background-image: theme-image($theme-name, 'grid/dd-insert-arrow-right.png');
718 .#{$prefix}grid-drop-indicator-right {
722 background-image: theme-image($theme-name, 'grid/dd-insert-arrow-left.png');
729 .#{$prefix}grid-drop-indicator-left {
730 background-image: theme-image($theme-name, 'grid/dd-insert-arrow-right.gif');
733 .#{$prefix}grid-drop-indicator-right {
734 background-image: theme-image($theme-name, 'grid/dd-insert-arrow-left.gif');
739 .#{$prefix}grid-row-editor {
740 position: absolute !important;
743 overflow: visible !important;
745 .#{$prefix}form-field {
746 font: $grid-row-editor-font;
748 .#{$prefix}form-display-field {
749 font: $grid-row-editor-font;
753 .#{$prefix}panel-body {
754 background-color: $grid-row-editor-background-color;
755 border-top: $grid-row-editor-border;
756 border-bottom: $grid-row-editor-border;
760 // Perfect alignment of input text with cell text
761 .#{$prefix}grid-row-editor {
762 // Align input text with text value in cell
763 .#{$prefix}form-text {
767 .#{$prefix}grid-editor {
768 // Align checkboxes input
769 .#{$prefix}form-cb-wrap {
774 .#{$prefix}grid-row-editor-buttons {
775 background-color: $grid-row-editor-background-color;
782 .#{$prefix}strict & {
801 background-image: theme-image($theme-name, 'panel/panel-default-framed-corners.gif');
805 background-position: 0px -16px;
809 background-position: 0px -20px;
818 background-color: $grid-row-editor-border-color;
826 background-color: $grid-row-editor-border-color;
832 background-position: 0px -20px;
837 .#{$prefix}grid-row-editor-errors {