datagrid.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. .datagrid .panel-body {
  2. overflow: hidden;
  3. position: relative;
  4. }
  5. .datagrid-view {
  6. position: relative;
  7. overflow: hidden;
  8. }
  9. .datagrid-view1,
  10. .datagrid-view2 {
  11. position: absolute;
  12. overflow: hidden;
  13. top: 0;
  14. }
  15. .datagrid-view1 {
  16. left: 0;
  17. }
  18. .datagrid-view2 {
  19. right: 0;
  20. }
  21. .datagrid-mask {
  22. position: absolute;
  23. left: 0;
  24. top: 0;
  25. width: 100%;
  26. height: 100%;
  27. opacity: 0.3;
  28. filter: alpha(opacity=30);
  29. display: none;
  30. }
  31. .datagrid-mask-msg {
  32. position: absolute;
  33. top: 50%;
  34. margin-top: -20px;
  35. padding: 10px 5px 10px 30px;
  36. width: auto;
  37. height: 16px;
  38. border-width: 2px;
  39. border-style: solid;
  40. display: none;
  41. }
  42. .datagrid-sort-icon {
  43. padding: 0;
  44. display: none;
  45. }
  46. .datagrid-toolbar {
  47. height: auto;
  48. padding: 1px 2px;
  49. border-width: 0 0 1px 0;
  50. border-style: solid;
  51. }
  52. .datagrid-btn-separator {
  53. float: left;
  54. height: 24px;
  55. border-left: 1px solid #ddd;
  56. border-right: 1px solid #fff;
  57. margin: 2px 1px;
  58. }
  59. .datagrid .datagrid-pager {
  60. display: block;
  61. margin: 0;
  62. border-width: 1px 0 0 0;
  63. border-style: solid;
  64. }
  65. .datagrid .datagrid-pager-top {
  66. border-width: 0 0 1px 0;
  67. }
  68. .datagrid-header {
  69. overflow: hidden;
  70. cursor: default;
  71. border-width: 0 0 1px 0;
  72. border-style: solid;
  73. }
  74. .datagrid-header-inner {
  75. float: left;
  76. width: 10000px;
  77. }
  78. .datagrid-header-row,
  79. .datagrid-row {
  80. height: 25px;
  81. }
  82. .datagrid-header td,
  83. .datagrid-body td,
  84. .datagrid-footer td {
  85. border-width: 0 1px 1px 0;
  86. border-style: dotted;
  87. margin: 0;
  88. padding: 0;
  89. }
  90. .datagrid-cell,
  91. .datagrid-cell-group,
  92. .datagrid-header-rownumber,
  93. .datagrid-cell-rownumber {
  94. margin: 0;
  95. padding: 0 4px;
  96. white-space: nowrap;
  97. word-wrap: normal;
  98. overflow: hidden;
  99. height: 18px;
  100. line-height: 18px;
  101. font-size: 12px;
  102. }
  103. .datagrid-header .datagrid-cell {
  104. height: auto;
  105. }
  106. .datagrid-header .datagrid-cell span {
  107. font-size: 12px;
  108. }
  109. .datagrid-cell-group {
  110. text-align: center;
  111. text-overflow: ellipsis;
  112. }
  113. .datagrid-header-rownumber,
  114. .datagrid-cell-rownumber {
  115. width: 30px;
  116. text-align: center;
  117. margin: 0;
  118. padding: 0;
  119. }
  120. .datagrid-body {
  121. margin: 0;
  122. padding: 0;
  123. overflow: auto;
  124. zoom: 1;
  125. }
  126. .datagrid-view1 .datagrid-body-inner {
  127. padding-bottom: 20px;
  128. }
  129. .datagrid-view1 .datagrid-body {
  130. overflow: hidden;
  131. }
  132. .datagrid-footer {
  133. overflow: hidden;
  134. }
  135. .datagrid-footer-inner {
  136. border-width: 1px 0 0 0;
  137. border-style: solid;
  138. width: 10000px;
  139. float: left;
  140. }
  141. .datagrid-row-editing .datagrid-cell {
  142. height: auto;
  143. }
  144. .datagrid-header-check,
  145. .datagrid-cell-check {
  146. padding: 0;
  147. width: 27px;
  148. height: 18px;
  149. font-size: 1px;
  150. text-align: center;
  151. overflow: hidden;
  152. }
  153. .datagrid-header-check input,
  154. .datagrid-cell-check input {
  155. margin: 0;
  156. padding: 0;
  157. width: 15px;
  158. height: 18px;
  159. }
  160. .datagrid-resize-proxy {
  161. position: absolute;
  162. width: 1px;
  163. height: 10000px;
  164. top: 0;
  165. cursor: e-resize;
  166. display: none;
  167. }
  168. .datagrid-body .datagrid-editable {
  169. margin: 0;
  170. padding: 0;
  171. }
  172. .datagrid-body .datagrid-editable table {
  173. width: 100%;
  174. height: 100%;
  175. }
  176. .datagrid-body .datagrid-editable td {
  177. border: 0;
  178. margin: 0;
  179. padding: 0;
  180. }
  181. .datagrid-view .datagrid-editable-input {
  182. margin: 0;
  183. padding: 2px 4px;
  184. border: 1px solid #c3d9e0;
  185. font-size: 12px;
  186. outline-style: none;
  187. -moz-border-radius: 0 0 0 0;
  188. -webkit-border-radius: 0 0 0 0;
  189. border-radius: 0 0 0 0;
  190. }
  191. .datagrid-view .validatebox-invalid {
  192. border-color: #ffa8a8;
  193. }
  194. .datagrid-sort .datagrid-sort-icon {
  195. display: inline;
  196. padding: 0 13px 0 0;
  197. background: url('images/datagrid_icons.png') no-repeat -64px center;
  198. }
  199. .datagrid-sort-desc .datagrid-sort-icon {
  200. display: inline;
  201. padding: 0 13px 0 0;
  202. background: url('images/datagrid_icons.png') no-repeat -16px center;
  203. }
  204. .datagrid-sort-asc .datagrid-sort-icon {
  205. display: inline;
  206. padding: 0 13px 0 0;
  207. background: url('images/datagrid_icons.png') no-repeat 0px center;
  208. }
  209. .datagrid-row-collapse {
  210. background: url('images/datagrid_icons.png') no-repeat -48px center;
  211. }
  212. .datagrid-row-expand {
  213. background: url('images/datagrid_icons.png') no-repeat -32px center;
  214. }
  215. .datagrid-mask-msg {
  216. background: #fafafa url('images/loading.gif') no-repeat scroll 5px center;
  217. }
  218. .datagrid-header,
  219. .datagrid-td-rownumber {
  220. background-color: #ebeced;
  221. }
  222. .datagrid-cell-rownumber {
  223. color: #404040;
  224. }
  225. .datagrid-resize-proxy {
  226. background: #1a7bc9;
  227. }
  228. .datagrid-mask {
  229. background: #eee;
  230. }
  231. .datagrid-mask-msg {
  232. border-color: #c3d9e0;
  233. }
  234. .datagrid-toolbar,
  235. .datagrid-pager {
  236. background: #f5f5f5;
  237. }
  238. .datagrid-header,
  239. .datagrid-toolbar,
  240. .datagrid-pager,
  241. .datagrid-footer-inner {
  242. border-color: #dedede;
  243. }
  244. .datagrid-header td,
  245. .datagrid-body td,
  246. .datagrid-footer td {
  247. border-color: #ccc;
  248. }
  249. .datagrid-htable,
  250. .datagrid-btable,
  251. .datagrid-ftable {
  252. color: #404040;
  253. border-collapse: separate;
  254. }
  255. .datagrid-row-alt {
  256. background: #f5f5f5;
  257. }
  258. .datagrid-row-over,
  259. .datagrid-header td.datagrid-header-over {
  260. background: #9cc8f7;
  261. color: #404040;
  262. cursor: default;
  263. }
  264. .datagrid-row-selected {
  265. background: #6caef5;
  266. color: #fff;
  267. }
  268. .datagrid-row-editing .textbox,
  269. .datagrid-row-editing .textbox-text {
  270. -moz-border-radius: 0 0 0 0;
  271. -webkit-border-radius: 0 0 0 0;
  272. border-radius: 0 0 0 0;
  273. }