nihiloGrid.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. @import url("Grid.css");
  2. .nihilo .dojoxGrid {
  3. background-color: #e9e9e9;
  4. font-size: 0.85em; /* inherit font-family from dojo.css */
  5. }
  6. /* master messages */
  7. .nihilo .dojoxGridMasterMessages {
  8. background-color: #fefefe;
  9. }
  10. /* header */
  11. .nihilo .dojoxGridHeader {
  12. background-color: #e9e9e9;
  13. }
  14. .nihilo .dojoxGridHeader .dojoxGridCell {
  15. border-width: 1px;
  16. padding-bottom: 0px;
  17. border-color: transparent #ACA899 #919191 transparent;
  18. background: url(../../../dijit/themes/nihilo/images/titleBar.png) #e9e9e9 repeat-x top;
  19. color: #000 !important;
  20. }
  21. .nihilo .dojoxGridHeader .dojoxGridCellOver {
  22. background: url(../../../dijit/themes/nihilo/images/titleBarActive.png) #e9e9e9 repeat-x top;
  23. }
  24. .nihilo .dojoxGridHeader .dojoxGridCellFocus {
  25. border-color: #ACA899 #919191;
  26. border-style: dashed;
  27. }
  28. .nihilo .dojoxGridArrowButtonChar {
  29. float: right;
  30. display: none;
  31. }
  32. .nihilo .dojoxGridArrowButtonNode {
  33. display: block !important;
  34. padding-left: 0px;
  35. float: right;
  36. background:url("../../../dijit/themes/nihilo/images/spriteArrows.png") left center no-repeat;
  37. width: 11px;
  38. height: 1em;
  39. margin-top: 1px;
  40. }
  41. .dj_ie6 .nihilo .dojoxGridArrowButtonNode {
  42. background-image:url("../../../dijit/themes/nihilo/images/spriteArrows.gif");
  43. margin-left: 0px;
  44. }
  45. .nihilo .dojoxGridSortUp .dojoxGridArrowButtonNode {
  46. background-position: -21px;
  47. }
  48. .dijit_a11y .nihilo .dojoxGridArrowButtonNode {
  49. display: none !important;
  50. }
  51. /* content */
  52. .nihilo .dojoxGridScrollbox {
  53. background-color: #fefefe;
  54. }
  55. /* rowbar */
  56. .nihilo .dojoxGridRowbar {
  57. border: none;
  58. background: url(../../../dijit/themes/nihilo/images/titleBar.png) #e9e9e9 repeat-y right;
  59. border-right: 1px solid #ccc;
  60. padding: 0px;
  61. }
  62. .nihilo .dojoxGridRowbarInner {
  63. border: none;
  64. border-bottom: 1px solid #ccc;
  65. }
  66. .nihilo .dojoxGridRowbarOver {
  67. background: url(../../../dijit/themes/nihilo/images/titleBarActive.png) #e9e9e9 repeat-y right;
  68. }
  69. .nihilo .dojoxGridRowbarSelected {
  70. background: url(../../../dijit/themes/nihilo/images/titleBar.png) #D9E8F9 no-repeat center;
  71. border-right: 1px solid #ccc;
  72. }
  73. /* rows */
  74. .nihilo .dojoxGridRow {
  75. border: none;
  76. background-color: white;
  77. }
  78. .nihilo .dojoxGridRowOver {
  79. border-top-color: #ccc;
  80. border-bottom-color: #ccc;
  81. }
  82. .nihilo .dojoxGridRowOver .dojoxGridCell {
  83. background-color: #ffe284;
  84. }
  85. .nihilo .dojoxGridRowOdd {
  86. background-color: #f2f5f9;
  87. }
  88. .nihilo .dojoxGridRowSelected {
  89. background-color: #aec7e3;
  90. }
  91. .dijit_a11y .nihilo .dojoxGridRowSelected {
  92. background-color: #aec7e3;
  93. border-style: solid;
  94. }
  95. /* cells */
  96. .nihilo .dojoxGridCell {
  97. border: 1px dotted #D5CDB5;
  98. border-left-color: transparent;
  99. border-top-color: transparent;
  100. }
  101. .dj_ff2 .nihilo .dojoxGridCell {
  102. border-left-width: 0px;
  103. border-top-width: 0px;
  104. }
  105. .dj_ie6 .nihilo .dojoxGridCell {
  106. border: 1px solid white;
  107. border-right: 1px solid #D5CDB5;
  108. }
  109. .nihilo .dojoxGridCellFocus {
  110. border: 1px dashed darkblue;
  111. }
  112. .nihilo .dojoxGridCellOver {
  113. border: 1px dotted #a6a6a6;
  114. }
  115. .nihilo .dojoxGridCellFocus.dojoxGridCellOver {
  116. border: 1px dashed darkblue;
  117. }
  118. /* editing */
  119. /* FIXME: these colors are off! */
  120. .nihilo .dojoxGridRowEditing td {
  121. /* background-color: #F4FFF4; */
  122. background-color: #ffe284;
  123. /* padding: 0px 3px 0px 3px; */
  124. }
  125. .nihilo .dojoxGridRow-inserting td {
  126. background-color: #F4FFF4;
  127. }
  128. .nihilo .dojoxGridRow-inflight td {
  129. background-color: #F2F7B7;
  130. }
  131. .nihilo .dojoxGridRow-error td {
  132. background-color: #F8B8B6;
  133. }
  134. /* Drag and Drop */
  135. .nihilo .dojoxGrid .dojoDndItemBefore {
  136. border-left-color: #ffe284;
  137. }
  138. .nihilo .dojoxGrid .dojoDndItemAfter {
  139. border-right-color: #ffe284;
  140. }
  141. /* Tree Grid */
  142. .nihilo .dojoxGridExpando {
  143. float: left;
  144. height: 18px;
  145. width: 18px;
  146. text-align: center;
  147. margin-top: -3px;
  148. }
  149. .dijitRtl .nihilo .dojoxGridExpando {
  150. float: right;
  151. }
  152. .nihilo .dojoxGridExpandoCell {
  153. padding-top: 5px;
  154. }
  155. .nihilo .dojoxGridExpandoNode {
  156. height: 18px;
  157. background-image: url('../../../dijit/themes/nihilo/images/spriteTree.gif');
  158. }
  159. .nihilo .dojoxGridExpandoOpened .dojoxGridExpandoNode {
  160. background: url('../../../dijit/themes/nihilo/images/spriteTree.gif') no-repeat -18px top;
  161. }
  162. .nihilo .dojoxGridExpandoLoading .dojoxGridExpandoNode {
  163. background: url('../../../dijit/themes/nihilo/images/treeExpand_loading.gif');
  164. }
  165. .nihilo .dojoxGridTreeModel .dojoxGridNoChildren .dojoxGridExpando {
  166. visibility: visible !important;
  167. width: 18px !important;
  168. }
  169. .nihilo .dojoxGridTreeModel .dojoxGridNoChildren .dojoxGridExpandoNode {
  170. background: url('../../../dijit/themes/nihilo/images/spriteTree.gif') no-repeat -36px top;
  171. }
  172. .nihilo .dojoxGridExpandoNodeInner {
  173. visibility: hidden;
  174. }
  175. .dijit_a11y .dojoxGridExpandoNodeInner {
  176. visibility: visible;
  177. }
  178. .nihilo .dojoxGridSummaryRow .dojoxGridCell {
  179. border-top-color: #999;
  180. border-top-style: solid;
  181. }
  182. .nihilo .dojoxGridSpacerCell,
  183. .nihilo .dojoxGridExpandoCell,
  184. .nihilo .dojoxGridSummaryRow .dojoxGridSpacerCell {
  185. border-color: transparent;
  186. border-right-color: #D5CDB5;
  187. }
  188. .nihilo .dojoxGridSummaryRow .dojoxGridTotalCell,
  189. .nihilo .dojoxGridRowCollapsed .dojoxGridExpandoCell,
  190. .nihilo .dojoxGridTreeModel .dojoxGridExpandoCell {
  191. border-bottom-color: #D5CDB5;
  192. }
  193. .nihilo .dojoxGridSubRowAlt {
  194. background-color: #F8F8F8;
  195. }
  196. .nihilo .dojoxGridRowOdd .dojoxGridSubRowAlt {
  197. background-color: #EDEFF3;
  198. }