theme.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. .jsgrid-grid-header,
  2. .jsgrid-grid-body,
  3. .jsgrid-header-row > .jsgrid-header-cell,
  4. .jsgrid-filter-row > .jsgrid-cell,
  5. .jsgrid-insert-row > .jsgrid-cell,
  6. .jsgrid-edit-row > .jsgrid-cell {
  7. border: 1px solid #e9e9e9;
  8. }
  9. .jsgrid-header-row > .jsgrid-header-cell {
  10. border-top: 0;
  11. }
  12. .jsgrid-header-row > .jsgrid-header-cell,
  13. .jsgrid-filter-row > .jsgrid-cell,
  14. .jsgrid-insert-row > .jsgrid-cell {
  15. border-bottom: 0;
  16. }
  17. .jsgrid-header-row > .jsgrid-header-cell:first-child,
  18. .jsgrid-filter-row > .jsgrid-cell:first-child,
  19. .jsgrid-insert-row > .jsgrid-cell:first-child {
  20. border-left: none;
  21. }
  22. .jsgrid-header-row > .jsgrid-header-cell:last-child,
  23. .jsgrid-filter-row > .jsgrid-cell:last-child,
  24. .jsgrid-insert-row > .jsgrid-cell:last-child {
  25. border-right: none;
  26. }
  27. .jsgrid-header-row .jsgrid-align-right,
  28. .jsgrid-header-row .jsgrid-align-left {
  29. text-align: center;
  30. }
  31. .jsgrid-grid-header {
  32. background: #f9f9f9;
  33. }
  34. .jsgrid-header-scrollbar {
  35. scrollbar-arrow-color: #f1f1f1;
  36. scrollbar-base-color: #f1f1f1;
  37. scrollbar-3dlight-color: #f1f1f1;
  38. scrollbar-highlight-color: #f1f1f1;
  39. scrollbar-track-color: #f1f1f1;
  40. scrollbar-shadow-color: #f1f1f1;
  41. scrollbar-dark-shadow-color: #f1f1f1;
  42. }
  43. .jsgrid-header-scrollbar::-webkit-scrollbar {
  44. visibility: hidden;
  45. }
  46. .jsgrid-header-scrollbar::-webkit-scrollbar-track {
  47. background: #f1f1f1;
  48. }
  49. .jsgrid-header-sortable:hover {
  50. cursor: pointer;
  51. background: #fcfcfc;
  52. }
  53. .jsgrid-header-row .jsgrid-header-sort {
  54. background: #c4e2ff;
  55. }
  56. .jsgrid-header-sort:before {
  57. content: " ";
  58. display: block;
  59. float: left;
  60. width: 0;
  61. height: 0;
  62. border-style: solid;
  63. }
  64. .jsgrid-header-sort-asc:before {
  65. border-width: 0 5px 5px 5px;
  66. border-color: transparent transparent #009a67 transparent;
  67. }
  68. .jsgrid-header-sort-desc:before {
  69. border-width: 5px 5px 0 5px;
  70. border-color: #009a67 transparent transparent transparent;
  71. }
  72. .jsgrid-grid-body {
  73. border-top: none;
  74. }
  75. .jsgrid-cell {
  76. border: #f3f3f3 1px solid;
  77. }
  78. .jsgrid-grid-body .jsgrid-row:first-child .jsgrid-cell,
  79. .jsgrid-grid-body .jsgrid-alt-row:first-child .jsgrid-cell {
  80. border-top: none;
  81. }
  82. .jsgrid-grid-body .jsgrid-cell:first-child {
  83. border-left: none;
  84. }
  85. .jsgrid-grid-body .jsgrid-cell:last-child {
  86. border-right: none;
  87. }
  88. .jsgrid-row > .jsgrid-cell {
  89. background: #fff;
  90. }
  91. .jsgrid-alt-row > .jsgrid-cell {
  92. background: #fcfcfc;
  93. }
  94. .jsgrid-header-row > .jsgrid-header-cell {
  95. background: #f9f9f9;
  96. }
  97. .jsgrid-filter-row > .jsgrid-cell {
  98. background: #fcfcfc;
  99. }
  100. .jsgrid-insert-row > .jsgrid-cell {
  101. background: #e3ffe5;
  102. }
  103. .jsgrid-edit-row > .jsgrid-cell {
  104. background: #fdffe3;
  105. }
  106. .jsgrid-selected-row > .jsgrid-cell {
  107. background: #c4e2ff;
  108. border-color: #c4e2ff;
  109. }
  110. .jsgrid-nodata-row > .jsgrid-cell {
  111. background: #fff;
  112. }
  113. .jsgrid-invalid input,
  114. .jsgrid-invalid select,
  115. .jsgrid-invalid textarea {
  116. background: #ffe3e5;
  117. border: 1px solid #ff808a;
  118. }
  119. .jsgrid-pager-current-page {
  120. font-weight: bold;
  121. }
  122. .jsgrid-pager-nav-inactive-button a {
  123. color: #d3d3d3;
  124. }
  125. .jsgrid-button + .jsgrid-button {
  126. margin-left: 5px;
  127. }
  128. .jsgrid-button:hover {
  129. opacity: .5;
  130. transition: opacity 200ms linear;
  131. }
  132. .jsgrid .jsgrid-button {
  133. width: 16px;
  134. height: 16px;
  135. border: none;
  136. cursor: pointer;
  137. background-image: url(icons.png);
  138. background-repeat: no-repeat;
  139. background-color: transparent;
  140. }
  141. @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
  142. .jsgrid .jsgrid-button {
  143. background-image: url(icons-2x.png);
  144. background-size: 24px 352px;
  145. }
  146. }
  147. .jsgrid .jsgrid-mode-button {
  148. width: 24px;
  149. height: 24px;
  150. }
  151. .jsgrid-mode-on-button {
  152. opacity: .5;
  153. }
  154. .jsgrid-cancel-edit-button { background-position: 0 0; width: 16px; height: 16px; }
  155. .jsgrid-clear-filter-button { background-position: 0 -40px; width: 16px; height: 16px; }
  156. .jsgrid-delete-button { background-position: 0 -80px; width: 16px; height: 16px; }
  157. .jsgrid-edit-button { background-position: 0 -120px; width: 16px; height: 16px; }
  158. .jsgrid-insert-mode-button { background-position: 0 -160px; width: 24px; height: 24px; }
  159. .jsgrid-insert-button { background-position: 0 -208px; width: 16px; height: 16px; }
  160. .jsgrid-search-mode-button { background-position: 0 -248px; width: 24px; height: 24px; }
  161. .jsgrid-search-button { background-position: 0 -296px; width: 16px; height: 16px; }
  162. .jsgrid-update-button { background-position: 0 -336px; width: 16px; height: 16px; }
  163. .jsgrid-load-shader {
  164. background: #ddd;
  165. opacity: .5;
  166. filter: alpha(opacity=50);
  167. }
  168. .jsgrid-load-panel {
  169. width: 15em;
  170. height: 5em;
  171. background: #fff;
  172. border: 1px solid #e9e9e9;
  173. padding-top: 3em;
  174. text-align: center;
  175. }
  176. .jsgrid-load-panel:before {
  177. content: ' ';
  178. position: absolute;
  179. top: .5em;
  180. left: 50%;
  181. margin-left: -1em;
  182. width: 2em;
  183. height: 2em;
  184. border: 2px solid #009a67;
  185. border-right-color: transparent;
  186. border-radius: 50%;
  187. -webkit-animation: indicator 1s linear infinite;
  188. animation: indicator 1s linear infinite;
  189. }
  190. @-webkit-keyframes indicator
  191. {
  192. from { -webkit-transform: rotate(0deg); }
  193. 50% { -webkit-transform: rotate(180deg); }
  194. to { -webkit-transform: rotate(360deg); }
  195. }
  196. @keyframes indicator
  197. {
  198. from { transform: rotate(0deg); }
  199. 50% { transform: rotate(180deg); }
  200. to { transform: rotate(360deg); }
  201. }
  202. /* old IE */
  203. .jsgrid-load-panel {
  204. padding-top: 1.5em\9;
  205. }
  206. .jsgrid-load-panel:before {
  207. display: none\9;
  208. }