variable.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. /*font-family*/
  2. $vxe-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 !default;
  3. $vxe-font-color: #606266 !default;
  4. $vxe-font-size: 14px !default;
  5. $vxe-font-size-medium: 14px !default;
  6. $vxe-font-size-small: 13px !default;
  7. $vxe-font-size-mini: 12px !default;
  8. $vxe-border-radius: 4px !default;
  9. /*icon*/
  10. $vxe-icon-font-family: Verdana,Arial,Tahoma !default;
  11. $vxe-icon-background-color: #fff !default;
  12. /*color*/
  13. $vxe-primary-color: #409eff !default;
  14. $vxe-success-color: #67c23a !default;
  15. $vxe-info-color: #909399 !default;
  16. $vxe-warning-color: #e6a23c !default;
  17. $vxe-danger-color: #f56c6c !default;
  18. $vxe-disabled-color: #BFBFBF !default;
  19. $vxe-primary-disabled-color: #c0c4cc !default;
  20. /*input/radio/checkbox*/
  21. $vxe-input-border-color: #dcdfe6 !default;
  22. $vxe-input-disabled-color: #dcdfe6 !default;
  23. $vxe-input-disabled-background-color: #f3f3f3 !default;
  24. $vxe-input-placeholder-color: #C0C4CC !default;
  25. /*popup*/
  26. $vxe-table-popup-border-color: #DADCE0 !default;
  27. /*table*/
  28. $vxe-table-font-color: $vxe-font-color !default;
  29. $vxe-table-border-radius: $vxe-border-radius !default;
  30. $vxe-table-border-color: #e8eaec !default;
  31. $vxe-table-resizable-line-color: #D9DDDF !default;
  32. $vxe-table-resizable-drag-line-color: $vxe-primary-color !default;
  33. $vxe-table-background-color: #ffffff !default;
  34. $vxe-table-header-background-color: #f8f8f9 !default;
  35. $vxe-table-body-background-color: $vxe-table-background-color !default;
  36. $vxe-table-footer-background-color: $vxe-table-background-color !default;
  37. $vxe-table-tree-node-line-color:#909399 !default;
  38. $vxe-table-tree-node-line-style: dotted !default;
  39. $vxe-table-header-font-weight: 700 !default;
  40. $vxe-table-row-height-default: 48px !default;
  41. $vxe-table-row-height-medium: 44px !default;
  42. $vxe-table-row-height-small: 40px !default;
  43. $vxe-table-row-height-mini: 36px !default;
  44. $vxe-table-row-line-height: 24px !default;
  45. $vxe-table-row-hover-background-color: #f5f7fa !default;
  46. $vxe-table-row-striped-background-color: #fafafa !default;
  47. $vxe-table-row-hover-striped-background-color: #f5f7fa !default;
  48. $vxe-table-row-radio-checked-background-color: #fff3e0 !default;
  49. $vxe-table-row-hover-radio-checked-background-color: #ffebbc !default;
  50. $vxe-table-row-checkbox-checked-background-color: #fff3e0 !default;
  51. $vxe-table-row-hover-checkbox-checked-background-color: #ffebbc !default;
  52. $vxe-table-row-current-background-color: #e6f7ff !default;
  53. $vxe-table-row-hover-current-background-color: #d7effb !default;
  54. $vxe-table-column-hover-background-color: #d7effb !default;
  55. $vxe-table-column-current-background-color: #e6f7ff !default;
  56. $vxe-table-column-icon-border-color: #c0c4cc !default;
  57. $vxe-table-column-icon-border-hover-color: #515A6E !default;
  58. $vxe-table-cell-placeholder-color: #C0C4CC !default;
  59. $vxe-table-cell-padding-left: 10px !default;
  60. $vxe-table-cell-padding-right: 10px !default;
  61. $vxe-table-cell-input-height-default: $vxe-table-row-height-default - 6 !default;
  62. $vxe-table-cell-input-height-medium: $vxe-table-row-height-medium - 6 !default;
  63. $vxe-table-cell-input-height-small: $vxe-table-row-height-small - 6 !default;
  64. $vxe-table-cell-input-height-mini: $vxe-table-row-height-mini - 6 !default;
  65. $vxe-table-cell-dirty-width: 5px !default;
  66. $vxe-table-cell-dirty-update-color: #f56c6c !default;
  67. $vxe-table-cell-dirty-insert-color: #19A15F !default;
  68. $vxe-table-cell-area-border-color: $vxe-primary-color !default;
  69. $vxe-table-cell-area-border-width: 1px !default;
  70. $vxe-table-cell-main-area-extension-border-color: #fff !default;
  71. $vxe-table-cell-main-area-extension-background-color: $vxe-primary-color !default;
  72. $vxe-table-cell-extend-area-border-width: 2px !default;
  73. $vxe-table-cell-copy-area-border-width: 3px !default;
  74. $vxe-table-cell-active-area-border-width: 2px !default;
  75. $vxe-table-cell-copy-area-border-color: $vxe-table-cell-area-border-color !default;
  76. $vxe-table-cell-extend-area-border-color: $vxe-table-cell-area-border-color !default;
  77. $vxe-table-cell-active-area-border-color: $vxe-table-cell-area-border-color !default;
  78. $vxe-table-cell-area-background-color: rgba(64,158,255,0.2) !default;
  79. $vxe-table-checkbox-range-border-width: 1px !default;
  80. $vxe-table-checkbox-range-border-color: #006af1 !default;
  81. $vxe-table-checkbox-range-background-color: rgba(50,128,252,0.2) !default;
  82. $vxe-table-column-checked-border-width: 2px !default;
  83. $vxe-table-header-column-checked-border-color: #cccfd6 !default;
  84. $vxe-table-body-seq-column-checked-border-color: $vxe-table-header-column-checked-border-color !default;
  85. $vxe-table-body-column-checked-border-color: #D4D4D4 !default;
  86. $vxe-table-column-header-checked-background-color: #DCDCDC !default;
  87. $vxe-table-column-body-seq-checked-background-color: $vxe-table-column-header-checked-background-color !default;
  88. $vxe-table-column-checked-background-color: #e6f7ff !default;
  89. /*filter*/
  90. $vxe-table-filter-panel-background-color: #fff !default;
  91. /*menu*/
  92. $vxe-table-menu-item-width: 178px !default;
  93. $vxe-table-menu-background-color: #fff !default;
  94. /*loading*/
  95. $vxe-loading-background-color: rgba(0, 0, 0, 0.2) !default;
  96. $vxe-loading-z-index: 999 !default;
  97. /*validate*/
  98. $vxe-table-validate-error-color: #f56c6c !default;
  99. $vxe-table-validate-tooltip-error-color: #fff !default;
  100. $vxe-table-validate-tooltip-error-background-color: $vxe-table-validate-error-color !default;
  101. /*grid*/
  102. $vxe-grid-maximize-background-color: #fff !default;
  103. /*toolbar*/
  104. $vxe-toolbar-background-color: #fff !default;
  105. $vxe-toolbar-height-default: 52px !default;
  106. $vxe-toolbar-height-medium: 50px !default;
  107. $vxe-toolbar-height-small: 48px !default;
  108. $vxe-toolbar-height-mini: 46px !default;
  109. $vxe-toolbar-custom-active-background-color: #D9DADB !default;
  110. $vxe-toolbar-panel-background-color: #fff !default;
  111. /*tooltip*/
  112. $vxe-tooltip-dark-color: #fff !default;
  113. $vxe-tooltip-dark-background-color: #303133 !default;
  114. $vxe-tooltip-light-background-color: #fff !default;
  115. $vxe-tooltip-validate-error-color: #fff !default;
  116. $vxe-tooltip-validate-error-background-color: #f56c6c !default;
  117. /*pager*/
  118. $vxe-pager-background-color: #fff !default;
  119. $vxe-pager-perfect-button-background-color: #f4f4f5 !default;
  120. /*modal*/
  121. $vxe-modal-header-background-color: #F8F8F8 !default;
  122. $vxe-modal-body-background-color: #fff !default;
  123. $vxe-modal-border-color: #ebeef5 !default;
  124. /*checkbox*/
  125. $vxe-checkbox-font-size-default: 16px !default;
  126. $vxe-checkbox-font-size-medium: 15px !default;
  127. $vxe-checkbox-font-size-small: 14px !default;
  128. $vxe-checkbox-font-size-mini: 14px !default;
  129. $vxe-checkbox-checked-width: 0.32em !default;
  130. $vxe-checkbox-checked-height: 0.64em !default;
  131. $vxe-checkbox-indeterminate-width: 0.6em !default;
  132. $vxe-checkbox-indeterminate-height: 2px !default;
  133. $vxe-checkbox-border-width: 2px !default;
  134. $vxe-checkbox-border-radius: 2px !default;
  135. $vxe-checkbox-icon-background-color: #fff !default;
  136. $vxe-checkbox-checked-icon-border-color: #fff !default;
  137. $vxe-checkbox-indeterminate-icon-background-color: #fff !default;
  138. /*radio*/
  139. $vxe-radio-font-size-default: $vxe-checkbox-font-size-default !default;
  140. $vxe-radio-font-size-medium: $vxe-checkbox-font-size-medium !default;
  141. $vxe-radio-font-size-small: $vxe-checkbox-font-size-small !default;
  142. $vxe-radio-font-size-mini: $vxe-checkbox-font-size-mini !default;
  143. $vxe-radio-border-width: $vxe-checkbox-border-width !default;
  144. $vxe-radio-icon-background-color: #fff !default;
  145. $vxe-radio-checked-icon-background-color: #fff !default;
  146. $vxe-radio-indeterminate-icon-background-color: #fff !default;
  147. /*button*/
  148. $vxe-button-max-width: 500px !default;
  149. $vxe-button-default-background-color: #fff !default;
  150. $vxe-button-height-default: 34px !default;
  151. $vxe-button-height-medium: 32px !default;
  152. $vxe-button-height-small: 30px !default;
  153. $vxe-button-height-mini: 28px !default;
  154. /*input*/
  155. $vxe-input-background-color: #fff !default;
  156. $vxe-input-panel-background-color: $vxe-input-background-color !default;
  157. $vxe-input-date-festival-color: #999999 !default;
  158. $vxe-input-date-festival-important-color: $vxe-primary-color !default;
  159. $vxe-input-date-notice-background-color: #FF0000 !default;
  160. $vxe-input-date-header-background-color: #f8f8f9 !default;
  161. $vxe-input-date-picker-hover-background-color: #f2f6fc !default;
  162. $vxe-input-date-picker-selected-color: #fff !default;
  163. $vxe-input-date-time-confirm-button-color: #fff !default;
  164. $vxe-input-date-picker-festival-selected-color: $vxe-input-date-picker-selected-color !default;
  165. $vxe-input-date-picker-notice-selected-background-color: $vxe-input-date-picker-selected-color !default;
  166. $vxe-input-date-extra-color: #67c23a !default;
  167. $vxe-input-date-extra-important-color: #fd2222 !default;
  168. $vxe-input-date-title-height-default: 30px !default;
  169. $vxe-input-date-title-height-medium: 29px !default;
  170. $vxe-input-date-title-height-small: 28px !default;
  171. $vxe-input-date-title-height-mini: 26px !default;
  172. $vxe-input-date-time-week-row-height-default: 38px !default;
  173. $vxe-input-date-time-week-row-height-medium: 36px !default;
  174. $vxe-input-date-time-week-row-height-small: 34px !default;
  175. $vxe-input-date-time-week-row-height-mini: 32px !default;
  176. $vxe-input-date-month-year-row-height-default: 48px !default;
  177. $vxe-input-date-month-year-row-height-medium: 46px !default;
  178. $vxe-input-date-month-year-row-height-small: 44px !default;
  179. $vxe-input-date-month-year-row-height-mini: 42px !default;
  180. $vxe-input-height-default: $vxe-button-height-default !default;
  181. $vxe-input-height-medium: $vxe-button-height-medium !default;
  182. $vxe-input-height-small: $vxe-button-height-small !default;
  183. $vxe-input-height-mini: $vxe-button-height-mini !default;
  184. /*textarea*/
  185. $vxe-textarea-line-height: 1.5715 !default;
  186. $vxe-textarea-background-color: #fff !default;
  187. $vxe-textarea-count-color: #999 !default;
  188. $vxe-textarea-count-background-color: #fff !default;
  189. $vxe-textarea-count-error-color: $vxe-table-validate-error-color !default;
  190. /*form*/
  191. $vxe-form-item-min-height-default: 36px !default;
  192. $vxe-form-item-min-height-medium: 34px !default;
  193. $vxe-form-item-min-height-small: 32px !default;
  194. $vxe-form-item-min-height-mini: 30px !default;
  195. $vxe-form-background-color: #fff !default;
  196. $vxe-form-validate-error-color: $vxe-table-validate-error-color !default;
  197. $vxe-form-validate-error-background-color: inherit !default;
  198. /*select*/
  199. $vxe-select-option-height-default: 30px !default;
  200. $vxe-select-option-height-medium: 28px !default;
  201. $vxe-select-option-height-small: 26px !default;
  202. $vxe-select-option-height-mini: 24px !default;
  203. $vxe-select-option-hover-background-color: #f5f7fa !default;
  204. $vxe-select-panel-background-color: #fff !default;
  205. $vxe-optgroup-title-color:#909399 !default;
  206. /*switch*/
  207. $vxe-switch-font-color: #fff !default;
  208. $vxe-switch-icon-background-color: #fff !default;
  209. /*pulldown*/
  210. $vxe-pulldown-panel-background-color: #fff !default;