variable.scss 8.3 KB

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