yvanui.grid.css 2.5 KB

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