hust.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. /** 只读框 **/
  2. .textbox-readonly {
  3. background: white;
  4. border: 0;
  5. }
  6. .textbox-disabled .textbox-text, .textbox-readonly .textbox-text {
  7. background: white;
  8. border: 0;
  9. cursor: default;
  10. box-shadow: none;
  11. }
  12. .yvgrid-searchbox {
  13. background: url(/static/images/searchbox.png) right no-repeat !important;
  14. background-size: 48px 30px;
  15. padding-right: 50px;
  16. }
  17. .yvgrid-searchbox-hilight {
  18. background: url(/static/images/searchbox-hover.png) right no-repeat !important;
  19. background-size: 48px 30px;
  20. cursor: pointer;
  21. }
  22. .yvgrid-searchbox-hilight1 {
  23. background: url(/static/images/searchbox-hover1.png) right no-repeat !important;
  24. background-size: 40px 25px;
  25. cursor: pointer;
  26. }
  27. .yvgrid-searchbox-hilight2 {
  28. background: url(/static/images/searchbox-hover2.png) right no-repeat !important;
  29. background-size: 40px 25px;
  30. cursor: pointer;
  31. }
  32. .yvgrid-presentrow-disable{
  33. height: 100%;
  34. width: 100%;
  35. background-color:#e5e5e5 !important;
  36. }
  37. /*
  38. .yvgrid-searchbox:hover, .yvgrid-searchbox:focus {
  39. background: url(/static/images/searchbox-hover.png) right no-repeat!important;;
  40. background-size: 40px 25px;
  41. }
  42. */
  43. [yv-grid-cell-selected] {
  44. color: #ffffff !important;
  45. background-color: #428bca !important;
  46. border-color: #357ebd !important;
  47. }
  48. /* 禁用掉勾选用的 checkbox 列*/
  49. .jqx-grid-cell > .jqx-checkbox{
  50. display: none;
  51. }
  52. .jqx-widget-header > div > .jqx-checkbox{
  53. display: none;
  54. }
  55. .jqx-grid-cell-filter-row.jqx-grid-cell > .jqx-checkbox {
  56. display: block;
  57. }
  58. .jqx-tooltip-main .jqx-fill-state-normal {
  59. background-color: RED;
  60. color: WHITE
  61. }
  62. .asterisk{
  63. line-height: 34px;
  64. width: 100%;
  65. height: 30px;
  66. text-align: center;
  67. }
  68. .yvgrid-yvdate{
  69. background: url(/static/images/datebox_arrow.png) right 7px center no-repeat !important;
  70. background-size: 48px 30px;
  71. padding-right: 30px;
  72. }
  73. .yvgrid-numberbox {
  74. border: 0;
  75. padding: 4px;
  76. text-align: right;
  77. }
  78. /* 去掉 input[type=number] 右边的上下箭头图标 */
  79. input::-webkit-outer-spin-button,
  80. input::-webkit-inner-spin-button{
  81. -webkit-appearance: none !important;
  82. }
  83. input[type="number"]{
  84. -moz-appearance:textfield;
  85. }
  86. .jqx-grid-cell-edit input{
  87. width:100%!important;
  88. height:100%!important;
  89. }
  90. .jqx-grid-cell-selected.jqx-grid-cell-edit{
  91. border-color: #ababab !important;
  92. }
  93. .jqx-combobox-arrow-normal{
  94. width:19px!important;
  95. }
  96. .jqx-grid-cell-checkbox{
  97. text-align: center;
  98. }
  99. .jqx-grid-cell-checkbox .yvgrid-checkbox{
  100. margin-top:8px;
  101. }
  102. .jqx-grid-cell-center-align{
  103. text-align: center;
  104. }
  105. .textbox .select2-container{
  106. width:100%!important;
  107. padding:0;
  108. }
  109. .textbox .select2-container .select2-choice{
  110. height:100%;
  111. line-height: 30px;
  112. border:0;
  113. border-radius: 0;
  114. background:#fff;
  115. }
  116. .textbox .select2-container .select2-choice .select2-arrow{
  117. border-radius: 0;
  118. }
  119. .select2-drop-active{
  120. border:1px solid #aaa;
  121. }
  122. .select2-search input{
  123. margin-top:4px;
  124. }
  125. .select2-choices{
  126. border: none!important;
  127. display: flex;
  128. overflow-x: auto!important;
  129. white-space: nowrap;
  130. }