Grid.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. .dojoxGrid {
  2. position: relative;
  3. background-color: #EBEADB;
  4. font-family: Geneva, Arial, Helvetica, sans-serif;
  5. -moz-outline-style: none;
  6. outline: none;
  7. overflow: hidden;
  8. height: 0;
  9. }
  10. .dojoxGrid table {
  11. padding: 0;
  12. }
  13. .dojoxGrid td {
  14. -moz-outline: none;
  15. }
  16. /* master header */
  17. .dojoxGridMasterHeader {
  18. position: relative;
  19. }
  20. /* master view */
  21. .dojoxGridMasterView {
  22. position: relative;
  23. }
  24. /* master messages */
  25. .dojoxGridMasterMessages {
  26. position: relative;
  27. padding: 1em;
  28. text-align: center;
  29. background-color: white;
  30. }
  31. /* views */
  32. .dojoxGridView {
  33. position: absolute;
  34. overflow: hidden;
  35. }
  36. /* header */
  37. .dojoxGridHeader {
  38. position: absolute;
  39. overflow: hidden;
  40. cursor: default;
  41. }
  42. .dojoxGridHeader {
  43. background-color: #E8E1CF;
  44. }
  45. .dojoxGridHeader table {
  46. text-align: center;
  47. }
  48. .dojoxGridHeader .dojoxGridCell {
  49. border: 1px solid;
  50. border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB;
  51. background: url(images/grid_dx_gradient.gif) #E8E1CF top repeat-x;
  52. padding-bottom: 2px;
  53. }
  54. .dojoxGridHeader .dojoxGridCellOver {
  55. background-image: none;
  56. background-color: white;
  57. border-bottom-color: #FEBE47;
  58. margin-bottom: 0;
  59. padding-bottom: 0;
  60. border-bottom-width: 3px;
  61. }
  62. .dojoxGridHeader .dojoxGridCellFocus {
  63. border: 1px dashed blue;
  64. }
  65. .dojoxGridHeader.dojoxGridCellFocus.dojoxGridCellOver {
  66. background-image: none;
  67. background-color: white;
  68. border-bottom-color: #FEBE47;
  69. margin-bottom: 0;
  70. padding-bottom: 0;
  71. border-bottom-width: 3px;
  72. }
  73. .dojoxGridArrowButtonNode {
  74. display: none;
  75. padding-left: 16px;
  76. }
  77. .dojoxGridArrowButtonChar {
  78. display:inline;
  79. }
  80. /* Need to explicitly define how to treat hovering over the arrow on IE */
  81. .dojoxGridArrowButtonNode:hover {
  82. cursor: default;
  83. }
  84. .dojoxGridArrowButtonChar:hover {
  85. cursor: default;
  86. }
  87. .dojoxGridSortUp:hover {
  88. cursor: default;
  89. }
  90. .dojoxGridSortDown:hover {
  91. cursor: default;
  92. }
  93. .dijit_a11y .dojoxGridArrowButtonChar {
  94. display:inline !important;
  95. }
  96. /* content */
  97. .dojoxGridScrollbox {
  98. position: relative;
  99. overflow: auto;
  100. background-color: white;
  101. width: 100%;
  102. }
  103. .dojoxGridContent {
  104. position: relative;
  105. overflow: hidden;
  106. -moz-outline-style: none;
  107. outline: none;
  108. }
  109. /* rowbar */
  110. .dojoxGridRowbar {
  111. border: 1px solid;
  112. border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB;
  113. border-top: none;
  114. background: url(images/grid_dx_gradient.gif) #E8E1CF top repeat-x;
  115. }
  116. .dojoxGridRowbarInner {
  117. border-top: 1px solid #F6F4EB;
  118. }
  119. .dojoxGridRowbarOver {
  120. background-image: none;
  121. background-color: white;
  122. border-top-color: #FEBE47;
  123. border-bottom-color: #FEBE47;
  124. }
  125. .dojoxGridRowbarSelected {
  126. background-color: #D9E8F9;
  127. }
  128. /* rows */
  129. .dojoxGridRow {
  130. position: relative;
  131. width: 9000em;
  132. }
  133. .dojoxGridRow {
  134. /*border: 1px solid #E8E4D8;*/
  135. border: 1px solid #E8E4D8;
  136. border-color: #F8F7F1;
  137. /*padding: 0 0 1px 0;*/
  138. border-left: none;
  139. border-right: none;
  140. background-color: white;
  141. border-top: none;
  142. }
  143. .dojoxGridRowOver {
  144. border-top-color: #FEBE47;
  145. border-bottom-color: #FEBE47;
  146. /*border-bottom-width: 2px;
  147. padding-bottom: 0;*/
  148. /*background-color: #FFDD9D;*/
  149. /*background-color: #FDFDFD;*/
  150. }
  151. .dojoxGridRowOdd {
  152. background-color: #FFFDF3;
  153. /*background-color: #F9F7E8;*/
  154. }
  155. .dojoxGridRowSelected {
  156. background-color: #D9E8F9;
  157. }
  158. .dojoxGridRowTable {
  159. table-layout: fixed;
  160. width: 0;
  161. empty-cells: show;
  162. }
  163. .dj_ie .dojoxGridRowTable {
  164. border-collapse: collapse;
  165. }
  166. .dojoxGridInvisible {
  167. visibility: hidden;
  168. }
  169. .Xdojo-ie .dojoxGridInvisible {
  170. display: none;
  171. }
  172. .dojoxGridInvisible td, .dojoxGridHeader .dojoxGridInvisible td {
  173. border-top-width: 0;
  174. border-bottom-width: 0;
  175. padding-top: 0;
  176. padding-bottom: 0;
  177. height: 0;
  178. overflow: hidden;
  179. }
  180. /* cells */
  181. .dojoxGridCell {
  182. border: 1px solid;
  183. border-color: #EBEADB;
  184. border-right-color: #D5CDB5;
  185. padding: 3px 3px 3px 3px;
  186. text-align: left;
  187. overflow: hidden;
  188. }
  189. .dojoxGridCellFocus {
  190. border: 1px dashed blue;
  191. }
  192. .dojoxGridCellOver {
  193. border: 1px dotted #FEBE47;
  194. }
  195. .dojoxGridCellFocus.dojoxGridCellOver {
  196. border: 1px dashed green;
  197. }
  198. /* editing */
  199. .dojoxGridRowEditing td {
  200. background-color: #F4FFF4;
  201. }
  202. .dojoxGridRow-inserting td {
  203. background-color: #F4FFF4;
  204. }
  205. .dojoxGridRow-inflight td {
  206. background-color: #F2F7B7;
  207. }
  208. .dojoxGridRow-error td {
  209. background-color: #F8B8B6;
  210. }
  211. .dojoxGridInput, .dojoxGridSelect, .dojoxGridTextarea {
  212. margin: 0;
  213. padding: 0;
  214. border-style: none;
  215. width: 100%;
  216. font-size: 100%;
  217. font-family: inherit;
  218. }
  219. .dojoxGridHiddenFocus {
  220. position: absolute;
  221. top: -1000px;
  222. height: 0;
  223. width: 0;
  224. }
  225. .dijit_a11y .dojoxGridRowbarSelected {
  226. border-top: 1px solid white;
  227. border-bottom: 1px dashed black;
  228. border-top: 0;
  229. background: none;
  230. }
  231. .dijit_a11y .dojoxGridRowbarSelected .dojoxGridRowbarInner {
  232. border: 0;
  233. border-top: 1px solid white;
  234. }
  235. .dijit_a11y .dojoxGridRowSelected {
  236. border: 1px solid black !important;
  237. }
  238. /* Drag and Drop */
  239. .dojoxGridDndAvatar {
  240. font-size: 100%;
  241. }
  242. .dojoxGrid .dojoDndItemBefore {
  243. border-left-color: red;
  244. }
  245. .dojoxGrid .dojoDndItemAfter {
  246. border-right-color: red;
  247. }
  248. .dijit_a11y .dojoDndItemBefore {
  249. border-left: double;
  250. }
  251. .dijit_a11y .dojoDndItemAfter {
  252. border-right: double;
  253. }
  254. .dojoxGridDndAvatarItem td {
  255. border: 1px solid;
  256. border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB;
  257. background: url(images/grid_dx_gradient.gif) #E8E1CF top repeat-x;
  258. padding: 0pt;
  259. margin: 0pt;
  260. }
  261. .dojoxGridDndAvatarItem td.dojoxGridDndAvatarItemImage {
  262. border: 0;
  263. border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB;
  264. background-color: transparent;
  265. padding: 3px;
  266. padding-bottom: 2px;
  267. margin: 0;
  268. }
  269. .dojoDndMove .dojoxGridDndAvatarItem .dojoxGridDndAvatarItemImage {
  270. background-image: url(../../../dojo/resources/images/dndNoMove.png);
  271. background-repeat: no-repeat;
  272. background-position: center center;
  273. }
  274. .dojoDndCopy .dojoxGridDndAvatarItem .dojoxGridDndAvatarItemImage {
  275. background-image: url(../../../dojo/resources/images/dndNoCopy.png);
  276. background-repeat: no-repeat;
  277. background-position: center center;
  278. }
  279. .dojoDndMove .dojoDndAvatarCanDrop .dojoxGridDndAvatarItem .dojoxGridDndAvatarItemImage {
  280. background-image: url(../../../dojo/resources/images/dndMove.png);
  281. background-repeat: no-repeat;
  282. background-position: center center;
  283. }
  284. .dojoDndCopy .dojoDndAvatarCanDrop .dojoxGridDndAvatarItem .dojoxGridDndAvatarItemImage {
  285. background-image: url(../../../dojo/resources/images/dndCopy.png);
  286. background-repeat: no-repeat;
  287. background-position: center center;
  288. }
  289. .dojoxGridColPlaceBottom {
  290. background: transparent url(images/grid_sort_up.gif) no-repeat scroll left top;
  291. }
  292. .dojoxGridColPlaceTop {
  293. background: transparent url(images/grid_sort_down.gif) no-repeat scroll left top;
  294. }
  295. .dojoxGridColPlaceTop, .dojoxGridColPlaceBottom {
  296. font-size:1px;
  297. height:6px;
  298. z-index:10000;
  299. top:0;
  300. overflow:hidden;
  301. position:absolute;
  302. line-height:1px;
  303. width:8px;
  304. }
  305. .dojoxGridResizeColLine {
  306. width: 1px;
  307. background-color: #777;
  308. position: absolute;
  309. cursor: col-resize;
  310. z-index:10000;
  311. }
  312. .dojoxGridColNoResize,
  313. .dojoxGridColNoResize .dojoDndItemOver {
  314. cursor: not-allowed !important;
  315. }
  316. .dojoxGridColResize,
  317. .dojoxGridColResize .dojoDndItemOver,
  318. .dojoxGridColumnResizing,
  319. .dojoxGridColumnResizing .dojoDndItemOver,
  320. .dojoxGridColumnResizing .dojoxGridHeader {
  321. cursor: col-resize !important;
  322. }
  323. .dojoxGridColPlaceBottom {
  324. background: transparent url(images/grid_sort_up.gif) no-repeat scroll left top;
  325. }
  326. .dojoxGridColPlaceTop {
  327. background: transparent url(images/grid_sort_down.gif) no-repeat scroll left top;
  328. }
  329. .dojoxGridColPlaceTop, .dojoxGridColPlaceBottom {
  330. font-size:1px;
  331. height:6px;
  332. z-index:10000;
  333. top:0;
  334. overflow:hidden;
  335. position:absolute;
  336. line-height:1px;
  337. width:8px;
  338. }
  339. .dojoxGridResizeColLine {
  340. width: 1px;
  341. background-color: #777;
  342. position: absolute;
  343. }
  344. /* Tree Grid */
  345. .dojoxGridExpandoCell {
  346. vertical-align: middle;
  347. }
  348. .dojoxGridSummarySpan {
  349. visibility: hidden;
  350. }
  351. .dojoxGridSummaryRow .dojoxGridSummarySpan,
  352. .dojoxGridRowCollapsed .dojoxGridSummarySpan {
  353. visibility: visible;
  354. }
  355. .dojoxGridNoChildren .dojoxGridExpando {
  356. visibility: hidden !important;
  357. width: 0px !important;
  358. }