yvanui.grid.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. /*解决鼠标指针*/
  2. .ui-jqgrid td {
  3. cursor: default;
  4. }
  5. /*解决标题栏颜色*/
  6. .ui-jqgrid-view > .ui-jqgrid-titlebar {
  7. background: #004c8b;
  8. }
  9. /*解决表格框架的问题*/
  10. .ui-widget.ui-widget-content {
  11. border: none
  12. }
  13. /*解决 grid 工具条自适应高度问题*/
  14. .ui-jqgrid > .ui-jqgrid-view > .ui-userdata {
  15. height: auto;
  16. border: none;
  17. border-bottom: 1px solid #ccc !important;
  18. }
  19. /*解决分页栏高度*/
  20. .ui-jqgrid .ui-jqgrid-pager {
  21. height: 30px;
  22. padding: 0 !important;
  23. }
  24. .ui-jqgrid .ui-pager-control {
  25. height: 30px
  26. }
  27. /*分页栏左边不要按钮*/
  28. .ui-jqgrid .ui-pg-table td[align=left] {
  29. width: 0
  30. }
  31. /*解决高度问题*/
  32. .ui-jqgrid tr.jqgrow {
  33. height: 36px !important;
  34. padding: 2px 6px;
  35. }
  36. .ui-jqgrid tr.jqgrow td {
  37. height: auto !important;
  38. padding: 0 3px;
  39. }
  40. /*拖动列 宽度不够的问题*/
  41. .ui-jqgrid .ui-jqgrid-htable th span.ui-jqgrid-resize {
  42. width: 35px;
  43. }
  44. .ui-jqgrid .ui-jqgrid-htable th.ui-th-ltr, .ui-th-ltr {
  45. height: 38px;
  46. }
  47. .ui-userdata {
  48. background: none !important;
  49. }
  50. .ui-jqgrid-jquery-ui.ui-jqgrid .ui-jqgrid-bdiv tr.ui-row-ltr > td {
  51. padding: 0 10px;
  52. overflow: hidden;
  53. white-space: nowrap;
  54. text-overflow: ellipsis;
  55. }
  56. .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
  57. background: #e1e6e9 !important;
  58. color: #000;
  59. border: 1px solid #ccc;
  60. }
  61. .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus {
  62. background: #e4efff;
  63. }
  64. .ui-icon, .ui-widget-content .ui-icon {
  65. background-image: url(/static/plugins/jquery-ui-1.12.1.custom/images/pagination_icons.png);
  66. }
  67. .ui-icon-seek-first {
  68. background-position: 0 0;
  69. }
  70. .ui-icon-seek-prev {
  71. background-position: -16px -0;
  72. }
  73. .ui-icon-seek-next {
  74. background-position: -32px 0px;
  75. }
  76. .ui-icon-seek-end {
  77. background-position: -48px 0px;
  78. }
  79. .ui-jqgrid .ui-pg-table .ui-pg-input, .ui-jqgrid .ui-pg-table .ui-pg-selbox {
  80. height: 22px;
  81. padding: 0 5px;
  82. }
  83. .ui-pager-control .ui-jqgrid-pg-left {
  84. display: none;
  85. }
  86. .ui-jqgrid-view > .ui-jqgrid-titlebar {
  87. height: 38px;
  88. color: #fff;
  89. line-height: 30px;
  90. padding-left: 10px;
  91. }
  92. .ui-corner-top {
  93. border-radius: 0;
  94. }
  95. .ui-jqgrid > .loading {
  96. display: block;
  97. background: #fff url(/yvanui/themes/default/images/list-loding.gif) 4px 3px no-repeat;
  98. color: #333;
  99. padding-left: 45px;
  100. border: 2px solid #999;
  101. height: 26px;
  102. line-height: 26px;
  103. }