You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

jfgrid.css 8.2 KiB

4 years ago
4 years ago
4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  1. .jfgrid-layout {
  2. position: relative;
  3. height: 100%;
  4. width: 100%;
  5. color: #333;
  6. overflow: hidden;
  7. padding-top: 28px;
  8. }
  9. .jfgrid-move-line {
  10. position: absolute;
  11. height: 100%;
  12. width: 2px;
  13. background: #666;
  14. top: 0;
  15. left: 10px;
  16. display: none;
  17. z-index: 11;
  18. cursor: col-resize;
  19. }
  20. /*表头区域*/
  21. .jfgrid-head {
  22. position: absolute;
  23. top: 0;
  24. left: 0;
  25. width: 100%;
  26. overflow: hidden;
  27. background-color: #f8f8f8;
  28. }
  29. /*交界区域*/
  30. .jfgrid-border {
  31. -moz-user-select: none;
  32. -webkit-user-select: none;
  33. -ms-user-select: none;
  34. -khtml-user-select: none;
  35. user-select: none;
  36. position: absolute;
  37. top: 0;
  38. left: 0;
  39. border-bottom: 1px solid #ccc;
  40. height: 28px;
  41. z-index: 2;
  42. background-color: #f8f8f8;
  43. }
  44. .jfgrid-border-cell {
  45. position: absolute;
  46. top: 0;
  47. left: 0;
  48. width: 60px;
  49. height: 100%;
  50. border-right: 1px solid #ccc;
  51. }
  52. .jfgrid-border-cb {
  53. text-align: center;
  54. }
  55. .jfgrid-border-cb img {
  56. cursor: pointer;
  57. }
  58. /*头部显示区域*/
  59. .jfgrid-head-col {
  60. -moz-user-select: none;
  61. -webkit-user-select: none;
  62. -ms-user-select: none;
  63. -khtml-user-select: none;
  64. user-select: none;
  65. position: absolute;
  66. top: 0;
  67. height: 100%;
  68. z-index: 1;
  69. }
  70. .jfgrid-head-cell {
  71. position: absolute;
  72. line-height: 27px;
  73. height: 28px;
  74. width: 100px;
  75. top: 0;
  76. left: 0;
  77. padding: 0px 3px;
  78. border-right: 1px solid #ccc;
  79. border-bottom: 1px solid #ccc;
  80. cursor: pointer;
  81. overflow: hidden;
  82. white-space: nowrap;
  83. text-overflow: ellipsis;
  84. }
  85. .jfgrid-heed-sort {
  86. position: absolute;
  87. top: 50%;
  88. right: 0px;
  89. width: 16px;
  90. text-align: center;
  91. line-height: initial;
  92. margin-top: -12px;
  93. display: none;
  94. }
  95. .jfgrid-heed-sort > i {
  96. font-size: 16px;
  97. color: #B3B7BA;
  98. display: block;
  99. }
  100. .jfgrid-heed-sort > i.active {
  101. color: #475059;
  102. }
  103. .jfgrid-heed-sort > i.fa-caret-up {
  104. margin-bottom: -8px;
  105. }
  106. .jfgrid-heed-sort > i.fa-caret-down {
  107. margin-top: -8px;
  108. }
  109. .jfgrid-heed-move {
  110. position: absolute;
  111. width: 5px;
  112. height: 100%;
  113. top: 0;
  114. right: -2px;
  115. cursor: col-resize;
  116. z-index: 10;
  117. }
  118. /*数据显示区域*/
  119. .jfgrid-body {
  120. position: relative;
  121. width: 100%;
  122. height: 100%;
  123. overflow: hidden;
  124. background-color: #fff;
  125. }
  126. .jfgrid-left {
  127. position: absolute;
  128. min-height: 100%;
  129. width: 30px;
  130. top: 0;
  131. left: 0;
  132. background-color: #fff;
  133. z-index: 2;
  134. }
  135. .jfgrid-right {
  136. position: relative;
  137. min-height: 100%;
  138. background-color: #fff;
  139. z-index:1;
  140. }
  141. /*单元格*/
  142. .jfgrid-data-cell {
  143. position: absolute;
  144. top: 0;
  145. left: 0;
  146. font-size: 12px;
  147. color: #333;
  148. width: 60px;
  149. line-height: 27px;
  150. border-bottom: 1px solid #ccc;
  151. border-right: 1px solid #ccc;
  152. padding: 0px 3px;
  153. cursor: pointer;
  154. overflow: hidden;
  155. white-space: nowrap;
  156. text-overflow: ellipsis;
  157. }
  158. .jfgrid-layout:hover .jfgrid-data-cell-over {
  159. background-color: #eee;
  160. }
  161. .jfgrid-selected {
  162. background-color: #2F94EE !important;
  163. border-bottom: 1px solid #2F94EE !important;
  164. border-right: 1px solid #2F94EE !important;
  165. color: #fff;
  166. }
  167. .jfgrid-data-cell .fa-toggle-on {
  168. color: #039cfd;
  169. font-size: 13pt;
  170. vertical-align: middle;
  171. }
  172. .jfgrid-data-cell .fa-toggle-off {
  173. color: #aaa;
  174. font-size: 13pt;
  175. vertical-align: middle;
  176. }
  177. .jfgrid-edit-cell {
  178. display: none;
  179. position: absolute;
  180. top: 0;
  181. left: 0;
  182. z-index: 1;
  183. background-color: #fff;
  184. border-bottom: 1px solid #ccc;
  185. border-right: 1px solid #ccc;
  186. }
  187. .jfgrid-edit-cell > div {
  188. position: relative;
  189. width: 100%;
  190. height: 100%;
  191. border: 0 !important;
  192. }
  193. .jfgrid-edit-cell > input {
  194. position: relative;
  195. width: 100%;
  196. height: 100%;
  197. border: 0 !important;
  198. outline:0;
  199. padding-left:4px;
  200. }
  201. .jfgrid-edit-cell .radio, .jfgrid-edit-cell .checkbox {
  202. moz-user-select: none;
  203. -webkit-user-select: none;
  204. -ms-user-select: none;
  205. -khtml-user-select: none;
  206. user-select: none;
  207. margin-top: 6px;
  208. margin-bottom: initial;
  209. }
  210. .jfgrid-edit-cell .checkbox input[type=checkbox], .jfgrid-edit-cell .radio input[type=radio] {
  211. margin-top: 3px;
  212. margin-left: -15px;
  213. }
  214. .jfgrid-data-cell > .fa-ellipsis-h {
  215. display: block;
  216. position: absolute;
  217. top: 9px;
  218. right: 4px;
  219. color: #888;
  220. cursor: pointer;
  221. }
  222. /*子表展开项*/
  223. .jfgrid-sub {
  224. position: absolute;
  225. top: 0;
  226. left: 0;
  227. padding-left: 29px;
  228. border-bottom: 1px solid #ccc;
  229. }
  230. .jfgrid-sub > div {
  231. position: relative;
  232. width: 100%;
  233. height: 100%;
  234. border-left: 1px solid #ccc;
  235. }
  236. /*列表底部区域*/
  237. .jfgrid-footer {
  238. position: absolute;
  239. bottom: 0;
  240. left: 0;
  241. width: 100%;
  242. overflow: hidden;
  243. }
  244. /*翻页条*/
  245. .jfgrid-page-bar {
  246. -moz-user-select: none;
  247. -webkit-user-select: none;
  248. -ms-user-select: none;
  249. -khtml-user-select: none;
  250. user-select: none;
  251. position: relative;
  252. bottom: 0;
  253. left: 0;
  254. width: 100%;
  255. height: 35px;
  256. border-top: 1px solid #ddd;
  257. background-color: #fff;
  258. border-radius: 0px 0px 3px 3px;
  259. z-index: 5;
  260. }
  261. .jfgrid-page-bar-info {
  262. position: absolute;
  263. top: 0;
  264. left: 10px;
  265. font-size: 12px;
  266. height: 100%;
  267. line-height: 34px;
  268. color: #475059;
  269. }
  270. .jfgrid-page-bar-info > span {
  271. position: relative;
  272. top: -1px;
  273. color: #475059;
  274. }
  275. .jfgrid-page-bar .paginations {
  276. margin: 0px;
  277. position: absolute;
  278. right: 4px;
  279. top: 4px;
  280. height: 26px;
  281. line-height: 26px;
  282. }
  283. .jfgrid-page-bar .pagination input {
  284. display: block;
  285. top: 0;
  286. left: 0;
  287. height: 26px;
  288. margin: 0;
  289. top: 0;
  290. border-radius: 4px;
  291. width: 45px;
  292. line-height: 1.5;
  293. position: relative;
  294. float: left;
  295. text-align: center;
  296. }
  297. .jfgrid-page-bar .pagination {
  298. margin: 0px;
  299. }
  300. .jfgrid-page-bar .pagination > li > a, .pagination > li > span {
  301. color: #475059;
  302. }
  303. .jfgrid-page-bar .pagination-sm > li > a {
  304. padding: 3px 8px;
  305. font-size: 12px;
  306. line-height: 1.5;
  307. }
  308. .jfgrid-page-bar .pagination > li > span {
  309. padding: 3px 0px;
  310. font-size: 12px;
  311. line-height: 1.5;
  312. border: 0px;
  313. }
  314. .pagination > li > a.active,
  315. .pagination > li > a:focus {
  316. color: #ffffff;
  317. background-color: #3498DB;
  318. border-color: #3498DB;
  319. }
  320. .pagination > li > span.active,
  321. .pagination > li > span:focus {
  322. color: #475059;
  323. }
  324. .pagination > li > span:hover {
  325. background-color: #fff;
  326. color: #475059;
  327. }
  328. /*添加工具条*/
  329. .jfgrid-toolbar {
  330. position: relative;
  331. bottom: 0;
  332. left: 0;
  333. height: 29px;
  334. width: 100%;
  335. background: #f8f8f8;
  336. border-top: 1px solid #ccc;
  337. z-index: 2;
  338. }
  339. .jfgrid-toolbar > span {
  340. line-height: 28px;
  341. margin-left: 10px;
  342. cursor: pointer;
  343. color: #555;
  344. }
  345. .jfgrid-toolbar > span:hover {
  346. color: #000;
  347. }
  348. /*树形*/
  349. .jfgrid-data-cell-expend {
  350. position: relative;
  351. float: left;
  352. text-align: right;
  353. height: 100%;
  354. }
  355. .jfgrid-data-cell-expend > i {
  356. width: 16px;
  357. text-align: center;
  358. height: 100%;
  359. line-height: 28px;
  360. }
  361. /*统计条*/
  362. .jfgrid-statistic {
  363. position: absolute;
  364. top: 0;
  365. left: 0;
  366. height: 29px;
  367. width: 100%;
  368. border-top: 1px solid #ccc;
  369. background: #f8f8f8;
  370. }
  371. .jfgrid-statistic-left {
  372. position: absolute;
  373. top: 0;
  374. left: 0;
  375. height: 28px;
  376. background: #f8f8f8;
  377. z-index:1;
  378. }
  379. .jfgrid-statistic-right {
  380. position: relative;
  381. height: 28px;
  382. }
  383. .jfGird-statistic-cell {
  384. position:absolute;
  385. border-right: 1px solid #ccc;
  386. height: 100%;
  387. line-height: 27px;
  388. padding: 0px 3px;
  389. overflow: hidden;
  390. white-space: nowrap;
  391. text-overflow: ellipsis;
  392. }
  393. /**/
  394. .jfgrid-nodata-img {
  395. position: absolute;
  396. top: 50%;
  397. left: 50%;
  398. height: 180px;
  399. width: 380px;
  400. margin: -90px 0px 0px -190px;
  401. z-index: 1;
  402. }