style.css 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  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. [class*="vxe-"], [class*="vxe-"]:after, [class*="vxe-"]:before,
  27. [class*="vxe-"] *:after, [class*="vxe-"] *:before {
  28. -webkit-box-sizing: border-box;
  29. box-sizing: border-box; }
  30. .vxe-checkbox .vxe-checkbox--label {
  31. overflow: hidden;
  32. text-overflow: ellipsis;
  33. white-space: nowrap; }
  34. [class*="vxe-"] {
  35. font-variant: tabular-nums;
  36. -webkit-font-feature-settings: 'tnum';
  37. font-feature-settings: 'tnum'; }
  38. .vxe-primary-color {
  39. color: #409eff; }
  40. .vxe-success-color {
  41. color: #67c23a; }
  42. .vxe-info-color {
  43. color: #909399; }
  44. .vxe-warning-color {
  45. color: #e6a23c; }
  46. .vxe-danger-color {
  47. color: #f56c6c; }
  48. .vxe-perfect-color {
  49. color: #f8f8f9; }
  50. .vxe-row:after {
  51. content: '';
  52. display: block;
  53. clear: both;
  54. height: 0;
  55. overflow: hidden;
  56. visibility: hidden; }
  57. .vxe-row > .vxe-col--1 {
  58. float: left;
  59. width: 4.16667%; }
  60. .vxe-row > .vxe-col--2 {
  61. float: left;
  62. width: 8.33333%; }
  63. .vxe-row > .vxe-col--3 {
  64. float: left;
  65. width: 12.5%; }
  66. .vxe-row > .vxe-col--4 {
  67. float: left;
  68. width: 16.66667%; }
  69. .vxe-row > .vxe-col--5 {
  70. float: left;
  71. width: 20.83333%; }
  72. .vxe-row > .vxe-col--6 {
  73. float: left;
  74. width: 25%; }
  75. .vxe-row > .vxe-col--7 {
  76. float: left;
  77. width: 29.16667%; }
  78. .vxe-row > .vxe-col--8 {
  79. float: left;
  80. width: 33.33333%; }
  81. .vxe-row > .vxe-col--9 {
  82. float: left;
  83. width: 37.5%; }
  84. .vxe-row > .vxe-col--10 {
  85. float: left;
  86. width: 41.66667%; }
  87. .vxe-row > .vxe-col--11 {
  88. float: left;
  89. width: 45.83333%; }
  90. .vxe-row > .vxe-col--12 {
  91. float: left;
  92. width: 50%; }
  93. .vxe-row > .vxe-col--13 {
  94. float: left;
  95. width: 54.16667%; }
  96. .vxe-row > .vxe-col--14 {
  97. float: left;
  98. width: 58.33333%; }
  99. .vxe-row > .vxe-col--15 {
  100. float: left;
  101. width: 62.5%; }
  102. .vxe-row > .vxe-col--16 {
  103. float: left;
  104. width: 66.66667%; }
  105. .vxe-row > .vxe-col--17 {
  106. float: left;
  107. width: 70.83333%; }
  108. .vxe-row > .vxe-col--18 {
  109. float: left;
  110. width: 75%; }
  111. .vxe-row > .vxe-col--19 {
  112. float: left;
  113. width: 79.16667%; }
  114. .vxe-row > .vxe-col--20 {
  115. float: left;
  116. width: 83.33333%; }
  117. .vxe-row > .vxe-col--21 {
  118. float: left;
  119. width: 87.5%; }
  120. .vxe-row > .vxe-col--22 {
  121. float: left;
  122. width: 91.66667%; }
  123. .vxe-row > .vxe-col--23 {
  124. float: left;
  125. width: 95.83333%; }
  126. .vxe-row > .vxe-col--24 {
  127. float: left;
  128. width: 100%; }
  129. /*animat*/
  130. .is--animat .vxe-sort--asc-btn:before, .is--animat .vxe-sort--asc-btn:after,
  131. .is--animat .vxe-sort--desc-btn:before,
  132. .is--animat .vxe-sort--desc-btn:after,
  133. .is--animat .vxe-filter--btn:before,
  134. .is--animat .vxe-filter--btn:after {
  135. -webkit-transition: border 0.1s ease-in-out;
  136. transition: border 0.1s ease-in-out; }
  137. .is--animat .vxe-input--wrapper .vxe-input {
  138. -webkit-transition: border 0.1s ease-in-out;
  139. transition: border 0.1s ease-in-out; }
  140. .is--animat .vxe-table--expand-btn,
  141. .is--animat .vxe-tree--node-btn {
  142. -webkit-transition: -webkit-transform 0.1s ease-in-out;
  143. transition: -webkit-transform 0.1s ease-in-out;
  144. transition: transform 0.1s ease-in-out;
  145. transition: transform 0.1s ease-in-out, -webkit-transform 0.1s ease-in-out; }
  146. .is--animat .vxe-checkbox > input:checked + span,
  147. .is--animat .vxe-radio > input:checked + span {
  148. -webkit-transition: background-color 0.1s ease-in-out;
  149. transition: background-color 0.1s ease-in-out; }
  150. /*checkbox-group*/
  151. .vxe-checkbox-group {
  152. display: inline-block;
  153. vertical-align: middle;
  154. line-height: 1; }
  155. /*checkbox*/
  156. .vxe-checkbox {
  157. display: inline-block;
  158. vertical-align: middle;
  159. white-space: nowrap;
  160. -webkit-user-select: none;
  161. -moz-user-select: none;
  162. -ms-user-select: none;
  163. user-select: none;
  164. line-height: 1;
  165. cursor: pointer; }
  166. .vxe-checkbox + .vxe-checkbox {
  167. margin-left: 10px; }
  168. .vxe-checkbox > input[type="checkbox"] {
  169. position: absolute;
  170. width: 0;
  171. height: 0;
  172. border: 0;
  173. -webkit-appearance: none;
  174. -moz-appearance: none;
  175. appearance: none; }
  176. .vxe-checkbox > input + .vxe-checkbox--icon {
  177. position: relative;
  178. display: inline-block;
  179. width: 1em;
  180. height: 1em;
  181. background-color: #fff;
  182. vertical-align: middle;
  183. border-radius: 2px;
  184. border: 2px solid #dcdfe6; }
  185. .vxe-checkbox > input + .vxe-checkbox--icon:before {
  186. content: "";
  187. position: absolute; }
  188. .vxe-checkbox > input:checked + .vxe-checkbox--icon {
  189. background-color: #409eff;
  190. border-color: #409eff; }
  191. .vxe-checkbox > input:checked + .vxe-checkbox--icon:before {
  192. height: 0.64em;
  193. width: 0.32em;
  194. left: 50%;
  195. top: 50%;
  196. border: 2px solid #fff;
  197. border-left: 0;
  198. border-top: 0;
  199. -webkit-transform: translate(-50%, -50%) rotate(45deg);
  200. transform: translate(-50%, -50%) rotate(45deg); }
  201. .vxe-checkbox > input:checked + .vxe-checkbox--icon + .vxe-checkbox--label {
  202. color: #409eff; }
  203. .vxe-checkbox.is--indeterminate > input:not(:checked) + .vxe-checkbox--icon {
  204. background-color: #409eff;
  205. border-color: #409eff; }
  206. .vxe-checkbox.is--indeterminate > input:not(:checked) + .vxe-checkbox--icon:before {
  207. border: 0;
  208. left: 50%;
  209. top: 50%;
  210. height: 2px;
  211. width: 0.6em;
  212. background-color: #fff;
  213. -webkit-transform: translate(-50%, -50%);
  214. transform: translate(-50%, -50%); }
  215. .vxe-checkbox:not(.is--disabled) > input:focus + .vxe-checkbox--icon {
  216. border-color: #409eff;
  217. -webkit-box-shadow: 0 0 0.2em 0 #409eff;
  218. box-shadow: 0 0 0.2em 0 #409eff; }
  219. .vxe-checkbox:not(.is--disabled):hover > input + .vxe-checkbox--icon {
  220. border-color: #409eff; }
  221. .vxe-checkbox.is--disabled {
  222. cursor: not-allowed; }
  223. .vxe-checkbox.is--disabled > input + .vxe-checkbox--icon {
  224. border-color: #dcdfe6;
  225. background-color: #f3f3f3; }
  226. .vxe-checkbox.is--disabled > input + .vxe-checkbox--icon:before {
  227. border-color: #c0c4cc; }
  228. .vxe-checkbox.is--disabled > input + .vxe-checkbox--icon + .vxe-checkbox--label {
  229. color: #BFBFBF; }
  230. .vxe-checkbox.is--disabled > input:checked + .vxe-checkbox--icon {
  231. border-color: #dcdfe6;
  232. background-color: #f3f3f3; }
  233. .vxe-checkbox .vxe-checkbox--label {
  234. padding-left: 0.5em;
  235. vertical-align: middle;
  236. display: inline-block;
  237. max-width: 50em; }
  238. .vxe-checkbox {
  239. font-size: 14px; }
  240. .vxe-checkbox .vxe-checkbox--icon {
  241. font-size: 16px; }
  242. .vxe-checkbox.size--medium {
  243. font-size: 14px; }
  244. .vxe-checkbox.size--medium .vxe-checkbox--icon {
  245. font-size: 15px; }
  246. .vxe-checkbox.size--small {
  247. font-size: 13px; }
  248. .vxe-checkbox.size--small .vxe-checkbox--icon {
  249. font-size: 14px; }
  250. .vxe-checkbox.size--mini {
  251. font-size: 12px; }
  252. .vxe-checkbox.size--mini .vxe-checkbox--icon {
  253. font-size: 14px; }