datagrid.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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 #ddd;
  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-sort .datagrid-sort-icon {
  192. display: inline;
  193. padding: 0 13px 0 0;
  194. background: url('images/datagrid_icons.png') no-repeat -64px center;
  195. }
  196. .datagrid-sort-desc .datagrid-sort-icon {
  197. display: inline;
  198. padding: 0 13px 0 0;
  199. background: url('images/datagrid_icons.png') no-repeat -16px center;
  200. }
  201. .datagrid-sort-asc .datagrid-sort-icon {
  202. display: inline;
  203. padding: 0 13px 0 0;
  204. background: url('images/datagrid_icons.png') no-repeat 0px center;
  205. }
  206. .datagrid-row-collapse {
  207. background: url('images/datagrid_icons.png') no-repeat -48px center;
  208. }
  209. .datagrid-row-expand {
  210. background: url('images/datagrid_icons.png') no-repeat -32px center;
  211. }
  212. .datagrid-mask-msg {
  213. background: #fff url('images/loading.gif') no-repeat scroll 5px center;
  214. }
  215. .datagrid-header,
  216. .datagrid-td-rownumber {
  217. background-color: #ffffff;
  218. }
  219. .datagrid-cell-rownumber {
  220. color: #444;
  221. }
  222. .datagrid-resize-proxy {
  223. background: #b3b3b3;
  224. }
  225. .datagrid-mask {
  226. background: #eee;
  227. }
  228. .datagrid-mask-msg {
  229. border-color: #ddd;
  230. }
  231. .datagrid-toolbar,
  232. .datagrid-pager {
  233. background: #fff;
  234. }
  235. .datagrid-header,
  236. .datagrid-toolbar,
  237. .datagrid-pager,
  238. .datagrid-footer-inner {
  239. border-color: #ddd;
  240. }
  241. .datagrid-header td,
  242. .datagrid-body td,
  243. .datagrid-footer td {
  244. border-color: #ddd;
  245. }
  246. .datagrid-htable,
  247. .datagrid-btable,
  248. .datagrid-ftable {
  249. color: #444;
  250. border-collapse: separate;
  251. }
  252. .datagrid-row-alt {
  253. background: #f5f5f5;
  254. }
  255. .datagrid-row-over,
  256. .datagrid-header td.datagrid-header-over {
  257. background: #E6E6E6;
  258. color: #444;
  259. cursor: default;
  260. }
  261. .datagrid-row-selected {
  262. background: #CCE6FF;
  263. color: #000;
  264. }
  265. .datagrid-row-editing .textbox,
  266. .datagrid-row-editing .textbox-text {
  267. -moz-border-radius: 0 0 0 0;
  268. -webkit-border-radius: 0 0 0 0;
  269. border-radius: 0 0 0 0;
  270. }