style.css 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. /*font*/
  2. /*size*/
  3. /*icon*/
  4. /*color*/
  5. /*input/radio/checkbox*/
  6. /*popup*/
  7. /*table*/
  8. /*filter*/
  9. /*menu*/
  10. /*loading*/
  11. /*validate*/
  12. /*grid*/
  13. /*toolbar*/
  14. /*tooltip*/
  15. /*pager*/
  16. /*modal*/
  17. /*checkbox*/
  18. /*radio*/
  19. /*button*/
  20. /*input*/
  21. /*textarea*/
  22. /*form*/
  23. /*select*/
  24. /*switch*/
  25. /*pulldown*/
  26. .vxe-custom--option .vxe-checkbox--icon {
  27. font-size: 1.34em; }
  28. .vxe-custom--option .vxe-checkbox--icon {
  29. color: #dcdfe6;
  30. vertical-align: middle;
  31. font-weight: 700;
  32. -webkit-user-select: none;
  33. -moz-user-select: none;
  34. -ms-user-select: none;
  35. user-select: none; }
  36. .is--checked.vxe-custom--option, .is--indeterminate.vxe-custom--option {
  37. color: #409eff; }
  38. .is--checked.vxe-custom--option .vxe-checkbox--icon, .is--indeterminate.vxe-custom--option .vxe-checkbox--icon {
  39. color: #409eff; }
  40. .vxe-custom--option:not(.is--disabled) {
  41. cursor: pointer; }
  42. .vxe-custom--option:not(.is--disabled):hover .vxe-checkbox--icon {
  43. color: #409eff; }
  44. .is--disabled.vxe-custom--option {
  45. color: #BFBFBF;
  46. cursor: not-allowed; }
  47. .is--disabled.vxe-custom--option .vxe-checkbox--icon {
  48. color: #dcdfe6; }
  49. .vxe-custom--option .vxe-checkbox--label {
  50. padding-left: 0.5em;
  51. vertical-align: middle; }
  52. /*toolbar*/
  53. .vxe-toolbar {
  54. position: relative;
  55. display: -webkit-box;
  56. display: -ms-flexbox;
  57. display: flex;
  58. -webkit-box-orient: horizontal;
  59. -webkit-box-direction: normal;
  60. -ms-flex-direction: row;
  61. flex-direction: row;
  62. -webkit-box-align: center;
  63. -ms-flex-align: center;
  64. align-items: center;
  65. padding: 0.6em 0;
  66. color: #606266;
  67. font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
  68. background-color: #fff; }
  69. .vxe-toolbar:after {
  70. content: "";
  71. display: block;
  72. clear: both;
  73. height: 0;
  74. overflow: hidden;
  75. visibility: hidden; }
  76. .vxe-toolbar.is--perfect {
  77. border: 1px solid #e8eaec;
  78. border-bottom-width: 0;
  79. background-color: #f8f8f9; }
  80. .vxe-toolbar.is--loading:before {
  81. content: "";
  82. position: absolute;
  83. top: 0;
  84. left: 0;
  85. width: 100%;
  86. height: 100%;
  87. z-index: 999;
  88. -webkit-user-select: none;
  89. -moz-user-select: none;
  90. -ms-user-select: none;
  91. user-select: none;
  92. background-color: rgba(255, 255, 255, 0.5); }
  93. .vxe-toolbar .vxe-buttons--wrapper {
  94. -webkit-box-flex: 1;
  95. -ms-flex-positive: 1;
  96. flex-grow: 1; }
  97. .vxe-toolbar .vxe-buttons--wrapper > .vxe-button + .vxe-button--item,
  98. .vxe-toolbar .vxe-buttons--wrapper > .vxe-button--item + .vxe-button,
  99. .vxe-toolbar .vxe-buttons--wrapper > .vxe-button--item + .vxe-button--item {
  100. margin-left: 0.8em; }
  101. .vxe-toolbar .vxe-buttons--wrapper > .vxe-button--item {
  102. display: inline-block; }
  103. .vxe-toolbar .vxe-tools--wrapper > .vxe-button + .vxe-tool--item,
  104. .vxe-toolbar .vxe-tools--wrapper > .vxe-tool--item + .vxe-button,
  105. .vxe-toolbar .vxe-tools--wrapper > .vxe-tool--item + .vxe-tool--item {
  106. margin-left: 0.8em; }
  107. .vxe-toolbar .vxe-tools--wrapper > .vxe-tool--item {
  108. display: inline-block; }
  109. .vxe-toolbar .vxe-tools--wrapper > .vxe-button {
  110. display: -webkit-box;
  111. display: -ms-flexbox;
  112. display: flex;
  113. -webkit-box-align: center;
  114. -ms-flex-align: center;
  115. align-items: center;
  116. -webkit-box-pack: center;
  117. -ms-flex-pack: center;
  118. justify-content: center; }
  119. .vxe-toolbar .vxe-buttons--wrapper,
  120. .vxe-toolbar .vxe-tools--wrapper,
  121. .vxe-toolbar .vxe-tools--operate {
  122. display: -webkit-box;
  123. display: -ms-flexbox;
  124. display: flex;
  125. -webkit-box-align: center;
  126. -ms-flex-align: center;
  127. align-items: center; }
  128. .vxe-toolbar .vxe-buttons--wrapper,
  129. .vxe-toolbar .vxe-tools--wrapper {
  130. -ms-flex-wrap: wrap;
  131. flex-wrap: wrap; }
  132. .vxe-toolbar .vxe-tools--operate {
  133. -ms-flex-negative: 0;
  134. flex-shrink: 0; }
  135. .vxe-toolbar .vxe-custom--wrapper {
  136. position: relative;
  137. margin-left: 0.8em; }
  138. .vxe-toolbar .vxe-custom--wrapper.is--active > .vxe-button {
  139. background-color: #D9DADB;
  140. border-radius: 50%; }
  141. .vxe-toolbar .vxe-custom--wrapper.is--active .vxe-custom--option-wrapper {
  142. display: block; }
  143. .vxe-toolbar .vxe-custom--option-wrapper {
  144. display: none;
  145. position: absolute;
  146. right: 2px;
  147. text-align: left;
  148. background-color: #fff;
  149. z-index: 19;
  150. border: 1px solid #e8eaec;
  151. border-radius: 4px;
  152. -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  153. box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2); }
  154. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header {
  155. padding: 0.28em 0;
  156. font-weight: 700;
  157. border-bottom: 1px solid #DADCE0; }
  158. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body {
  159. padding: 0.2em 0;
  160. max-height: 17.6em; }
  161. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body .vxe-custom--option:hover {
  162. background-color: #f5f7fa; }
  163. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li,
  164. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li {
  165. max-width: 16em;
  166. min-width: 12.5em;
  167. padding: 0.2em 1em 0.2em 1em; }
  168. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--2,
  169. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--2 {
  170. padding-left: 3.5em; }
  171. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--2 .vxe-checkbox--icon,
  172. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--2 .vxe-checkbox--icon {
  173. left: 1.8em; }
  174. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--3,
  175. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--3 {
  176. padding-left: 4.5em; }
  177. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--3 .vxe-checkbox--icon,
  178. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--3 .vxe-checkbox--icon {
  179. left: 2.8em; }
  180. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--4,
  181. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--4 {
  182. padding-left: 5.5em; }
  183. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--4 .vxe-checkbox--icon,
  184. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--4 .vxe-checkbox--icon {
  185. left: 3.8em; }
  186. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--5,
  187. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--5 {
  188. padding-left: 6.5em; }
  189. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--5 .vxe-checkbox--icon,
  190. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--5 .vxe-checkbox--icon {
  191. left: 4.8em; }
  192. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--6,
  193. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--6 {
  194. padding-left: 7.5em; }
  195. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--6 .vxe-checkbox--icon,
  196. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--6 .vxe-checkbox--icon {
  197. left: 5.8em; }
  198. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--7,
  199. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--7 {
  200. padding-left: 8.5em; }
  201. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--7 .vxe-checkbox--icon,
  202. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--7 .vxe-checkbox--icon {
  203. left: 6.8em; }
  204. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--8,
  205. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--8 {
  206. padding-left: 9.5em; }
  207. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--8 .vxe-checkbox--icon,
  208. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--8 .vxe-checkbox--icon {
  209. left: 7.8em; }
  210. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer {
  211. border-top: 1px solid #DADCE0;
  212. text-align: right; }
  213. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button {
  214. background-color: transparent;
  215. width: 50%;
  216. height: 2.5em;
  217. border: 0;
  218. color: #606266;
  219. text-align: center;
  220. cursor: pointer; }
  221. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button:focus {
  222. outline: none; }
  223. .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button:hover {
  224. color: #409eff; }
  225. .vxe-custom--option-wrapper .vxe-custom--header,
  226. .vxe-custom--option-wrapper .vxe-custom--body {
  227. list-style-type: none;
  228. overflow-x: hidden;
  229. overflow-y: auto;
  230. margin: 0;
  231. padding: 0;
  232. -webkit-user-select: none;
  233. -moz-user-select: none;
  234. -ms-user-select: none;
  235. user-select: none; }
  236. .vxe-custom--option-wrapper .vxe-custom--header > li,
  237. .vxe-custom--option-wrapper .vxe-custom--body > li {
  238. overflow: hidden;
  239. text-overflow: ellipsis;
  240. white-space: nowrap; }
  241. .vxe-toolbar {
  242. font-size: 14px; }
  243. .vxe-toolbar.size--medium {
  244. font-size: 14px; }
  245. .vxe-toolbar.size--small {
  246. font-size: 13px; }
  247. .vxe-toolbar.size--mini {
  248. font-size: 12px; }