default.less 35 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067
  1. /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
  2. @import '../color/colors';
  3. @theme: default;
  4. // The prefix to use on all css classes from ant.
  5. @ant-prefix: ant;
  6. // An override for the html selector for theme prefixes
  7. @html-selector: html;
  8. // [CSS-VARIABLE-REPLACE-BEGIN: html-variables]
  9. // [CSS-VARIABLE-REPLACE-END: html-variables]
  10. // -------- Colors -----------
  11. // >>> Primary
  12. @primary-color: @blue-6;
  13. @primary-color-hover: color(~`colorPalette('@{primary-color}', 5) `);
  14. @primary-color-active: color(~`colorPalette('@{primary-color}', 7) `);
  15. @primary-color-outline: fade(@primary-color, @outline-fade);
  16. @processing-color: @blue-6;
  17. // >>> Info
  18. @info-color: @primary-color;
  19. @info-color-deprecated-bg: color(~`colorPalette('@{info-color}', 1) `);
  20. @info-color-deprecated-border: color(~`colorPalette('@{info-color}', 3) `);
  21. // >>> Success
  22. @success-color: @green-6;
  23. @success-color-hover: color(~`colorPalette('@{success-color}', 5) `);
  24. @success-color-active: color(~`colorPalette('@{success-color}', 7) `);
  25. @success-color-outline: fade(@success-color, @outline-fade);
  26. @success-color-deprecated-bg: color(~`colorPalette('@{success-color}', 1) `);
  27. @success-color-deprecated-border: color(~`colorPalette('@{success-color}', 3) `);
  28. // >>> Warning
  29. @warning-color: @gold-6;
  30. @warning-color-hover: color(~`colorPalette('@{warning-color}', 5) `);
  31. @warning-color-active: color(~`colorPalette('@{warning-color}', 7) `);
  32. @warning-color-outline: fade(@warning-color, @outline-fade);
  33. @warning-color-deprecated-bg: color(~`colorPalette('@{warning-color}', 1) `);
  34. @warning-color-deprecated-border: color(~`colorPalette('@{warning-color}', 3) `);
  35. // >>> Error
  36. @error-color: @red-5;
  37. @error-color-hover: color(~`colorPalette('@{error-color}', 5) `);
  38. @error-color-active: color(~`colorPalette('@{error-color}', 7) `);
  39. @error-color-outline: fade(@error-color, @outline-fade);
  40. @error-color-deprecated-bg: color(~`colorPalette('@{error-color}', 1) `);
  41. @error-color-deprecated-border: color(~`colorPalette('@{error-color}', 3) `);
  42. @highlight-color: @red-5;
  43. @normal-color: #d9d9d9;
  44. @white: #fff;
  45. @black: #000;
  46. // Color used by default to control hover and active backgrounds and for
  47. // alert info backgrounds.
  48. @primary-1: color(~`colorPalette('@{primary-color}', 1) `); // replace tint(@primary-color, 90%)
  49. @primary-2: color(~`colorPalette('@{primary-color}', 2) `); // replace tint(@primary-color, 80%)
  50. @primary-3: color(~`colorPalette('@{primary-color}', 3) `); // unused
  51. @primary-4: color(~`colorPalette('@{primary-color}', 4) `); // unused
  52. @primary-5: color(
  53. ~`colorPalette('@{primary-color}', 5) `
  54. ); // color used to control the text color in many active and hover states, replace tint(@primary-color, 20%)
  55. @primary-6: @primary-color; // color used to control the text color of active buttons, don't use, use @primary-color
  56. @primary-7: color(~`colorPalette('@{primary-color}', 7) `); // replace shade(@primary-color, 5%)
  57. @primary-8: color(~`colorPalette('@{primary-color}', 8) `); // unused
  58. @primary-9: color(~`colorPalette('@{primary-color}', 9) `); // unused
  59. @primary-10: color(~`colorPalette('@{primary-color}', 10) `); // unused
  60. // Base Scaffolding Variables
  61. // ---
  62. // Background color for `<body>`
  63. @body-background: #fff;
  64. // Base background color for most components
  65. @component-background: #fff;
  66. // Popover background color
  67. @popover-background: @component-background;
  68. @popover-customize-border-color: @border-color-split;
  69. @font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
  70. 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
  71. 'Noto Color Emoji';
  72. @code-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  73. @text-color: fade(@black, 85%);
  74. @text-color-secondary: fade(@black, 45%);
  75. @text-color-inverse: @white;
  76. @icon-color: inherit;
  77. @icon-color-hover: fade(@black, 75%);
  78. @heading-color: fade(@black, 85%);
  79. @text-color-dark: fade(@white, 85%);
  80. @text-color-secondary-dark: fade(@white, 65%);
  81. @text-selection-bg: @primary-color;
  82. @font-variant-base: tabular-nums;
  83. @font-feature-settings-base: 'tnum';
  84. @font-size-base: 14px;
  85. @font-size-lg: @font-size-base + 2px;
  86. @font-size-sm: 12px;
  87. @heading-1-size: ceil(@font-size-base * 2.71);
  88. @heading-2-size: ceil(@font-size-base * 2.14);
  89. @heading-3-size: ceil(@font-size-base * 1.71);
  90. @heading-4-size: ceil(@font-size-base * 1.42);
  91. @heading-5-size: ceil(@font-size-base * 1.14);
  92. // https://github.com/ant-design/ant-design/issues/20210
  93. @line-height-base: 1.5715;
  94. @border-radius-base: 2px;
  95. @border-radius-sm: @border-radius-base;
  96. // vertical paddings
  97. @padding-lg: 24px; // containers
  98. @padding-md: 16px; // small containers and buttons
  99. @padding-sm: 12px; // Form controls and items
  100. @padding-xs: 8px; // small items
  101. @padding-xss: 4px; // more small
  102. // vertical padding for all form controls
  103. @control-padding-horizontal: @padding-sm;
  104. @control-padding-horizontal-sm: @padding-xs;
  105. // vertical margins
  106. @margin-lg: 24px; // containers
  107. @margin-md: 16px; // small containers and buttons
  108. @margin-sm: 12px; // Form controls and items
  109. @margin-xs: 8px; // small items
  110. @margin-xss: 4px; // more small
  111. // height rules
  112. @height-base: 32px;
  113. @height-lg: 40px;
  114. @height-sm: 24px;
  115. // The background colors for active and hover states for things like
  116. // list items or table cells.
  117. @item-active-bg: @primary-1;
  118. @item-hover-bg: #f5f5f5;
  119. // ICONFONT
  120. @iconfont-css-prefix: anticon;
  121. // LINK
  122. @link-color: @primary-color;
  123. @link-hover-color: color(~`colorPalette('@{link-color}', 5) `);
  124. @link-active-color: color(~`colorPalette('@{link-color}', 7) `);
  125. @link-decoration: none;
  126. @link-hover-decoration: none;
  127. @link-focus-decoration: none;
  128. @link-focus-outline: 0;
  129. // Animation
  130. @ease-base-out: cubic-bezier(0.7, 0.3, 0.1, 1);
  131. @ease-base-in: cubic-bezier(0.9, 0, 0.3, 0.7);
  132. @ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  133. @ease-in: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  134. @ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
  135. @ease-out-back: cubic-bezier(0.12, 0.4, 0.29, 1.46);
  136. @ease-in-back: cubic-bezier(0.71, -0.46, 0.88, 0.6);
  137. @ease-in-out-back: cubic-bezier(0.71, -0.46, 0.29, 1.46);
  138. @ease-out-circ: cubic-bezier(0.08, 0.82, 0.17, 1);
  139. @ease-in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.34);
  140. @ease-in-out-circ: cubic-bezier(0.78, 0.14, 0.15, 0.86);
  141. @ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  142. @ease-in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  143. @ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1);
  144. // Border color
  145. @border-color-base: hsv(0, 0, 85%); // base border outline a component
  146. @border-color-split: hsv(0, 0, 94%); // split border inside a component
  147. @border-color-inverse: @white;
  148. @border-width-base: 1px; // width of the border for a component
  149. @border-style-base: solid; // style of a components border
  150. // Outline
  151. @outline-blur-size: 0;
  152. @outline-width: 2px;
  153. @outline-color: @primary-color; // No use anymore
  154. @outline-fade: 20%;
  155. @background-color-light: hsv(0, 0, 98%); // background of header and selected item
  156. @background-color-base: hsv(0, 0, 96%); // Default grey background color
  157. // Disabled states
  158. @disabled-color: fade(#000, 25%);
  159. @disabled-bg: @background-color-base;
  160. @disabled-active-bg: tint(@black, 90%);
  161. @disabled-color-dark: fade(#fff, 35%);
  162. // Shadow
  163. @shadow-color: rgba(0, 0, 0, 0.15);
  164. @shadow-color-inverse: @component-background;
  165. @box-shadow-base: @shadow-2;
  166. @shadow-1-up: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05),
  167. 0 -12px 48px 16px rgba(0, 0, 0, 0.03);
  168. @shadow-1-down: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05),
  169. 0 12px 48px 16px rgba(0, 0, 0, 0.03);
  170. @shadow-1-left: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05),
  171. -12px 0 48px 16px rgba(0, 0, 0, 0.03);
  172. @shadow-1-right: 6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05),
  173. 12px 0 48px 16px rgba(0, 0, 0, 0.03);
  174. @shadow-2: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
  175. 0 9px 28px 8px rgba(0, 0, 0, 0.05);
  176. // Buttons
  177. @btn-font-weight: 400;
  178. @btn-border-radius-base: @border-radius-base;
  179. @btn-border-radius-sm: @border-radius-base;
  180. @btn-border-width: @border-width-base;
  181. @btn-border-style: @border-style-base;
  182. @btn-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
  183. @btn-primary-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
  184. @btn-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
  185. @btn-primary-color: #fff;
  186. @btn-primary-bg: @primary-color;
  187. @btn-default-color: @text-color;
  188. @btn-default-bg: @component-background;
  189. @btn-default-border: @border-color-base;
  190. @btn-danger-color: #fff;
  191. @btn-danger-bg: @error-color;
  192. @btn-danger-border: @error-color;
  193. @btn-disable-color: @disabled-color;
  194. @btn-disable-bg: @disabled-bg;
  195. @btn-disable-border: @border-color-base;
  196. @btn-default-ghost-color: @component-background;
  197. @btn-default-ghost-bg: transparent;
  198. @btn-default-ghost-border: @component-background;
  199. @btn-font-size-lg: @font-size-lg;
  200. @btn-font-size-sm: @font-size-base;
  201. @btn-padding-horizontal-base: @padding-md - 1px;
  202. @btn-padding-horizontal-lg: @btn-padding-horizontal-base;
  203. @btn-padding-horizontal-sm: @padding-xs - 1px;
  204. @btn-height-base: @height-base;
  205. @btn-height-lg: @height-lg;
  206. @btn-height-sm: @height-sm;
  207. @btn-line-height: @line-height-base;
  208. @btn-circle-size: @btn-height-base;
  209. @btn-circle-size-lg: @btn-height-lg;
  210. @btn-circle-size-sm: @btn-height-sm;
  211. @btn-square-size: @btn-height-base;
  212. @btn-square-size-lg: @btn-height-lg;
  213. @btn-square-size-sm: @btn-height-sm;
  214. @btn-square-only-icon-size: @font-size-base + 2px;
  215. @btn-square-only-icon-size-sm: @font-size-base;
  216. @btn-square-only-icon-size-lg: @btn-font-size-lg + 2px;
  217. @btn-group-border: @primary-5;
  218. @btn-link-hover-bg: transparent;
  219. @btn-text-hover-bg: rgba(0, 0, 0, 0.018);
  220. // Checkbox
  221. @checkbox-size: 16px;
  222. @checkbox-color: @primary-color;
  223. @checkbox-check-color: #fff;
  224. @checkbox-check-bg: @checkbox-check-color;
  225. @checkbox-border-width: @border-width-base;
  226. @checkbox-border-radius: @border-radius-base;
  227. @checkbox-group-item-margin-right: 8px;
  228. // Descriptions
  229. @descriptions-bg: #fafafa;
  230. @descriptions-title-margin-bottom: 20px;
  231. @descriptions-default-padding: @padding-md @padding-lg;
  232. @descriptions-middle-padding: @padding-sm @padding-lg;
  233. @descriptions-small-padding: @padding-xs @padding-md;
  234. @descriptions-item-padding-bottom: @padding-md;
  235. @descriptions-item-trailing-colon: true;
  236. @descriptions-item-label-colon-margin-right: 8px;
  237. @descriptions-item-label-colon-margin-left: 2px;
  238. @descriptions-extra-color: @text-color;
  239. // Divider
  240. @divider-text-padding: 1em;
  241. @divider-orientation-margin: 5%;
  242. @divider-color: rgba(0, 0, 0, 6%);
  243. @divider-vertical-gutter: 8px;
  244. // Dropdown
  245. @dropdown-selected-color: @primary-color;
  246. @dropdown-menu-submenu-disabled-bg: @component-background;
  247. @dropdown-selected-bg: @item-active-bg;
  248. // Empty
  249. @empty-font-size: @font-size-base;
  250. // Radio
  251. @radio-size: 16px;
  252. @radio-top: 0.2em;
  253. @radio-border-width: 1px;
  254. @radio-dot-size: @radio-size - 8px;
  255. @radio-dot-color: @primary-color;
  256. @radio-dot-disabled-color: fade(@black, 20%);
  257. @radio-solid-checked-color: @component-background;
  258. // Radio buttons
  259. @radio-button-bg: @btn-default-bg;
  260. @radio-button-checked-bg: @btn-default-bg;
  261. @radio-button-color: @btn-default-color;
  262. @radio-button-hover-color: @primary-5;
  263. @radio-button-active-color: @primary-7;
  264. @radio-button-padding-horizontal: @padding-md - 1px;
  265. @radio-disabled-button-checked-bg: @disabled-active-bg;
  266. @radio-disabled-button-checked-color: @disabled-color;
  267. @radio-wrapper-margin-right: 8px;
  268. // Media queries breakpoints
  269. // @screen-xs and @screen-xs-min is not used in Grid
  270. // smallest break point is @screen-md
  271. @screen-xs: 480px;
  272. @screen-xs-min: @screen-xs;
  273. // 👆 Extra small screen / phone
  274. // 👇 Small screen / tablet
  275. @screen-sm: 576px;
  276. @screen-sm-min: @screen-sm;
  277. // Medium screen / desktop
  278. @screen-md: 768px;
  279. @screen-md-min: @screen-md;
  280. // Large screen / wide desktop
  281. @screen-lg: 992px;
  282. @screen-lg-min: @screen-lg;
  283. // Extra large screen / full hd
  284. @screen-xl: 1200px;
  285. @screen-xl-min: @screen-xl;
  286. // Extra extra large screen / large desktop
  287. @screen-xxl: 1600px;
  288. @screen-xxl-min: @screen-xxl;
  289. @screen-xxxl: 2000px;
  290. @screen-xxxl-min: @screen-xxxl;
  291. // provide a maximum
  292. @screen-xs-max: (@screen-sm-min - 1px);
  293. @screen-sm-max: (@screen-md-min - 1px);
  294. @screen-md-max: (@screen-lg-min - 1px);
  295. @screen-lg-max: (@screen-xl-min - 1px);
  296. @screen-xl-max: (@screen-xxl-min - 1px);
  297. @screen-xxl-max: (@screen-xxxl-min - 1px);
  298. // Grid system
  299. @grid-columns: 24;
  300. // Layout
  301. @layout-body-background: #f0f2f5;
  302. @layout-header-background: #001529;
  303. @layout-header-height: 64px;
  304. @layout-header-padding: 0 50px;
  305. @layout-header-color: @text-color;
  306. @layout-footer-padding: 24px 50px;
  307. @layout-footer-background: @layout-body-background;
  308. @layout-sider-background: @layout-header-background;
  309. @layout-trigger-height: 48px;
  310. @layout-trigger-background: #002140;
  311. @layout-trigger-color: #fff;
  312. @layout-zero-trigger-width: 36px;
  313. @layout-zero-trigger-height: 42px;
  314. // Layout light theme
  315. @layout-sider-background-light: #fff;
  316. @layout-trigger-background-light: #fff;
  317. @layout-trigger-color-light: @text-color;
  318. // z-index list, order by `z-index`
  319. @zindex-badge: auto;
  320. @zindex-table-fixed: 2;
  321. @zindex-affix: 10;
  322. @zindex-back-top: 10;
  323. @zindex-picker-panel: 10;
  324. @zindex-popup-close: 10;
  325. @zindex-modal: 1000;
  326. @zindex-modal-mask: 1000;
  327. @zindex-message: 1010;
  328. @zindex-notification: 1010;
  329. @zindex-popover: 1030;
  330. @zindex-dropdown: 1050;
  331. @zindex-picker: 1050;
  332. @zindex-popoconfirm: 1060;
  333. @zindex-tooltip: 1070;
  334. @zindex-image: 1080;
  335. // Animation
  336. @animation-duration-slow: 0.3s; // Modal
  337. @animation-duration-base: 0.2s;
  338. @animation-duration-fast: 0.1s; // Tooltip
  339. //CollapsePanel
  340. @collapse-panel-border-radius: @border-radius-base;
  341. //Dropdown
  342. @dropdown-menu-bg: @component-background;
  343. @dropdown-vertical-padding: 5px;
  344. @dropdown-edge-child-vertical-padding: 4px;
  345. @dropdown-font-size: @font-size-base;
  346. @dropdown-line-height: 22px;
  347. // Form
  348. // ---
  349. @label-required-color: @highlight-color;
  350. @label-color: @heading-color;
  351. @form-warning-input-bg: @input-bg;
  352. @form-item-margin-bottom: 24px;
  353. @form-item-trailing-colon: true;
  354. @form-vertical-label-padding: 0 0 8px;
  355. @form-vertical-label-margin: 0;
  356. @form-item-label-font-size: @font-size-base;
  357. @form-item-label-height: @input-height-base;
  358. @form-item-label-colon-margin-right: 8px;
  359. @form-item-label-colon-margin-left: 2px;
  360. @form-error-input-bg: @input-bg;
  361. // Input
  362. // ---
  363. @input-height-base: @height-base;
  364. @input-height-lg: @height-lg;
  365. @input-height-sm: @height-sm;
  366. @input-padding-horizontal: @control-padding-horizontal - 1px;
  367. @input-padding-horizontal-base: @input-padding-horizontal;
  368. @input-padding-horizontal-sm: @control-padding-horizontal-sm - 1px;
  369. @input-padding-horizontal-lg: @input-padding-horizontal;
  370. @input-padding-vertical-base: max(
  371. (round(((@input-height-base - @font-size-base * @line-height-base) / 2) * 10) / 10) -
  372. @border-width-base,
  373. 3px
  374. );
  375. @input-padding-vertical-sm: max(
  376. (round(((@input-height-sm - @font-size-base * @line-height-base) / 2) * 10) / 10) -
  377. @border-width-base,
  378. 0
  379. );
  380. @input-padding-vertical-lg: (
  381. ceil(((@input-height-lg - @font-size-lg * @line-height-base) / 2) * 10) / 10
  382. ) - @border-width-base;
  383. @input-placeholder-color: hsv(0, 0, 75%);
  384. @input-color: @text-color;
  385. @input-icon-color: @input-color;
  386. @input-border-color: @border-color-base;
  387. @input-bg: @component-background;
  388. @input-number-hover-border-color: @input-hover-border-color;
  389. @input-number-handler-active-bg: #f4f4f4;
  390. @input-number-handler-hover-bg: @primary-5;
  391. @input-number-handler-bg: @component-background;
  392. @input-number-handler-border-color: @border-color-base;
  393. @input-addon-bg: @background-color-light;
  394. @input-hover-border-color: @primary-5;
  395. @input-disabled-bg: @disabled-bg;
  396. @input-outline-offset: 0 0;
  397. @input-icon-hover-color: fade(@black, 85%);
  398. @input-disabled-color: @disabled-color;
  399. // Mentions
  400. // ---
  401. @mentions-dropdown-bg: @component-background;
  402. @mentions-dropdown-menu-item-hover-bg: @mentions-dropdown-bg;
  403. // Select
  404. // ---
  405. @select-border-color: @border-color-base;
  406. @select-item-selected-color: @text-color;
  407. @select-item-selected-font-weight: 600;
  408. @select-dropdown-bg: @component-background;
  409. @select-item-selected-bg: @primary-1;
  410. @select-item-active-bg: @item-hover-bg;
  411. @select-dropdown-vertical-padding: @dropdown-vertical-padding;
  412. @select-dropdown-font-size: @dropdown-font-size;
  413. @select-dropdown-line-height: @dropdown-line-height;
  414. @select-dropdown-height: 32px;
  415. @select-background: @component-background;
  416. @select-clear-background: @select-background;
  417. @select-selection-item-bg: @background-color-base;
  418. @select-selection-item-border-color: @border-color-split;
  419. @select-single-item-height-lg: 40px;
  420. @select-multiple-item-height: @input-height-base - @input-padding-vertical-base * 2; // Normal 24px
  421. @select-multiple-item-height-lg: 32px;
  422. @select-multiple-item-spacing-half: ceil((@input-padding-vertical-base / 2));
  423. @select-multiple-disabled-background: @input-disabled-bg;
  424. @select-multiple-item-disabled-color: #bfbfbf;
  425. @select-multiple-item-disabled-border-color: @select-border-color;
  426. // Cascader
  427. // ---
  428. @cascader-bg: @component-background;
  429. @cascader-item-selected-bg: @primary-1;
  430. @cascader-menu-bg: @component-background;
  431. @cascader-menu-border-color-split: @border-color-split;
  432. // Cascader
  433. // ----
  434. @cascader-dropdown-vertical-padding: @dropdown-vertical-padding;
  435. @cascader-dropdown-edge-child-vertical-padding: @dropdown-edge-child-vertical-padding;
  436. @cascader-dropdown-font-size: @dropdown-font-size;
  437. @cascader-dropdown-line-height: @dropdown-line-height;
  438. // Anchor
  439. // ---
  440. @anchor-bg: transparent;
  441. @anchor-border-color: @border-color-split;
  442. @anchor-link-top: 7px;
  443. @anchor-link-left: 16px;
  444. @anchor-link-padding: @anchor-link-top 0 @anchor-link-top @anchor-link-left;
  445. // Tooltip
  446. // ---
  447. // Tooltip max width
  448. @tooltip-max-width: 250px;
  449. // Tooltip text color
  450. @tooltip-color: #fff;
  451. // Tooltip background color
  452. @tooltip-bg: rgba(0, 0, 0, 0.75);
  453. // Tooltip arrow width
  454. @tooltip-arrow-width: 5px;
  455. // Tooltip distance with trigger
  456. @tooltip-distance: @tooltip-arrow-width - 1px + 4px;
  457. // Tooltip arrow color
  458. @tooltip-arrow-color: @tooltip-bg;
  459. // Popover
  460. // ---
  461. // Popover body background color
  462. @popover-bg: @component-background;
  463. // Popover text color
  464. @popover-color: @text-color;
  465. // Popover maximum width
  466. @popover-min-width: 177px;
  467. @popover-min-height: 32px;
  468. // Popover arrow width
  469. @popover-arrow-width: 6px;
  470. // Popover arrow color
  471. @popover-arrow-color: @popover-bg;
  472. // Popover outer arrow width
  473. // Popover outer arrow color
  474. @popover-arrow-outer-color: @popover-bg;
  475. // Popover distance with trigger
  476. @popover-distance: @popover-arrow-width + 4px;
  477. @popover-padding-horizontal: @padding-md;
  478. // Modal
  479. // --
  480. @modal-header-padding-vertical: @padding-md;
  481. @modal-header-padding-horizontal: @padding-lg;
  482. @modal-body-padding: @padding-lg;
  483. @modal-header-bg: @component-background;
  484. @modal-header-padding: @modal-header-padding-vertical @modal-header-padding-horizontal;
  485. @modal-header-border-width: @border-width-base;
  486. @modal-header-border-style: @border-style-base;
  487. @modal-header-title-line-height: 22px;
  488. @modal-header-title-font-size: @font-size-lg;
  489. @modal-header-border-color-split: @border-color-split;
  490. @modal-header-close-size: 56px;
  491. @modal-content-bg: @component-background;
  492. @modal-heading-color: @heading-color;
  493. @modal-close-color: @text-color-secondary;
  494. @modal-footer-bg: transparent;
  495. @modal-footer-border-color-split: @border-color-split;
  496. @modal-footer-border-style: @border-style-base;
  497. @modal-footer-padding-vertical: 10px;
  498. @modal-footer-padding-horizontal: 16px;
  499. @modal-footer-border-width: @border-width-base;
  500. @modal-mask-bg: fade(@black, 45%);
  501. @modal-confirm-body-padding: 32px 32px 24px;
  502. @modal-confirm-title-font-size: @font-size-lg;
  503. // Progress
  504. // --
  505. @progress-default-color: @processing-color;
  506. @progress-remaining-color: @background-color-base;
  507. @progress-info-text-color: @progress-text-color;
  508. @progress-radius: 100px;
  509. @progress-steps-item-bg: #f3f3f3;
  510. @progress-text-font-size: 1em;
  511. @progress-text-color: @text-color; // This is for circle text color, should be renamed better
  512. @progress-circle-text-font-size: 1em;
  513. // Menu
  514. // ---
  515. @menu-inline-toplevel-item-height: 40px;
  516. @menu-item-height: 40px;
  517. @menu-item-group-height: @line-height-base;
  518. @menu-collapsed-width: 80px;
  519. @menu-bg: @component-background;
  520. @menu-popup-bg: @component-background;
  521. @menu-item-color: @text-color;
  522. @menu-inline-submenu-bg: @background-color-light;
  523. @menu-highlight-color: @primary-color;
  524. @menu-highlight-danger-color: @error-color;
  525. @menu-item-active-bg: @primary-1;
  526. @menu-item-active-danger-bg: @red-1;
  527. @menu-item-active-border-width: 3px;
  528. @menu-item-group-title-color: @text-color-secondary;
  529. @menu-item-vertical-margin: 4px;
  530. @menu-item-font-size: @font-size-base;
  531. @menu-item-boundary-margin: 8px;
  532. @menu-item-padding-horizontal: 20px;
  533. @menu-item-padding: 0 @menu-item-padding-horizontal;
  534. @menu-horizontal-line-height: 46px;
  535. @menu-icon-margin-right: 10px;
  536. @menu-icon-size: @menu-item-font-size;
  537. @menu-icon-size-lg: @font-size-lg;
  538. @menu-item-group-title-font-size: @menu-item-font-size;
  539. // dark theme
  540. @menu-dark-color: @text-color-secondary-dark;
  541. @menu-dark-danger-color: @error-color;
  542. @menu-dark-bg: @layout-header-background;
  543. @menu-dark-arrow-color: #fff;
  544. @menu-dark-inline-submenu-bg: #000c17;
  545. @menu-dark-highlight-color: #fff;
  546. @menu-dark-item-active-bg: @primary-color;
  547. @menu-dark-item-active-danger-bg: @error-color;
  548. @menu-dark-selected-item-icon-color: @white;
  549. @menu-dark-selected-item-text-color: @white;
  550. @menu-dark-item-hover-bg: transparent;
  551. // Spin
  552. // ---
  553. @spin-dot-size-sm: 14px;
  554. @spin-dot-size: 20px;
  555. @spin-dot-size-lg: 32px;
  556. // Table
  557. // --
  558. @table-bg: @component-background;
  559. @table-header-bg: @background-color-light;
  560. @table-header-color: @heading-color;
  561. @table-header-sort-bg: @background-color-base;
  562. @table-body-sort-bg: #fafafa;
  563. @table-row-hover-bg: @background-color-light;
  564. @table-selected-row-color: inherit;
  565. @table-selected-row-bg: @primary-1;
  566. @table-body-selected-sort-bg: @table-selected-row-bg;
  567. @table-selected-row-hover-bg: darken(@table-selected-row-bg, 2%);
  568. @table-expanded-row-bg: #fbfbfb;
  569. @table-padding-vertical: 16px;
  570. @table-padding-horizontal: 16px;
  571. @table-padding-vertical-md: (@table-padding-vertical * 3 / 4);
  572. @table-padding-horizontal-md: (@table-padding-horizontal / 2);
  573. @table-padding-vertical-sm: (@table-padding-vertical / 2);
  574. @table-padding-horizontal-sm: (@table-padding-horizontal / 2);
  575. @table-border-color: @border-color-split;
  576. @table-border-radius-base: @border-radius-base;
  577. @table-footer-bg: @background-color-light;
  578. @table-footer-color: @heading-color;
  579. @table-header-bg-sm: @table-header-bg;
  580. @table-font-size: @font-size-base;
  581. @table-font-size-md: @table-font-size;
  582. @table-font-size-sm: @table-font-size;
  583. @table-header-cell-split-color: rgba(0, 0, 0, 0.06);
  584. // Sorter
  585. // Legacy: `table-header-sort-active-bg` is used for hover not real active
  586. @table-header-sort-active-bg: rgba(0, 0, 0, 0.04);
  587. @table-fixed-header-sort-active-bg: hsv(0, 0, 96%);
  588. // Filter
  589. @table-header-filter-active-bg: rgba(0, 0, 0, 0.04);
  590. @table-filter-btns-bg: inherit;
  591. @table-filter-dropdown-bg: @component-background;
  592. @table-expand-icon-bg: @component-background;
  593. @table-selection-column-width: 32px;
  594. // Sticky
  595. @table-sticky-scroll-bar-bg: fade(#000, 35%);
  596. @table-sticky-scroll-bar-radius: 4px;
  597. // Tag
  598. // --
  599. @tag-default-bg: @background-color-light;
  600. @tag-default-color: @text-color;
  601. @tag-font-size: @font-size-sm;
  602. @tag-line-height: 20px;
  603. // TimePicker
  604. // ---
  605. @picker-bg: @component-background;
  606. @picker-basic-cell-hover-color: @item-hover-bg;
  607. @picker-basic-cell-active-with-range-color: @primary-1;
  608. @picker-basic-cell-hover-with-range-color: lighten(@primary-color, 35%);
  609. @picker-basic-cell-disabled-bg: rgba(0, 0, 0, 0.04);
  610. @picker-border-color: @border-color-split;
  611. @picker-date-hover-range-border-color: lighten(@primary-color, 20%);
  612. @picker-date-hover-range-color: @picker-basic-cell-hover-with-range-color;
  613. @picker-time-panel-column-width: 56px;
  614. @picker-time-panel-column-height: 224px;
  615. @picker-time-panel-cell-height: 28px;
  616. @picker-panel-cell-height: 24px;
  617. @picker-panel-cell-width: 36px;
  618. @picker-text-height: 40px;
  619. @picker-panel-without-time-cell-height: 66px;
  620. // Calendar
  621. // ---
  622. @calendar-bg: @component-background;
  623. @calendar-input-bg: @input-bg;
  624. @calendar-border-color: @border-color-inverse;
  625. @calendar-item-active-bg: @item-active-bg;
  626. @calendar-column-active-bg: fade(@calendar-item-active-bg, 20%);
  627. @calendar-full-bg: @calendar-bg;
  628. @calendar-full-panel-bg: @calendar-full-bg;
  629. // Carousel
  630. // ---
  631. @carousel-dot-width: 16px;
  632. @carousel-dot-height: 3px;
  633. @carousel-dot-active-width: 24px;
  634. // Badge
  635. // ---
  636. @badge-height: 20px;
  637. @badge-height-sm: 14px;
  638. @badge-dot-size: 6px;
  639. @badge-font-size: @font-size-sm;
  640. @badge-font-size-sm: @font-size-sm;
  641. @badge-font-weight: normal;
  642. @badge-status-size: 6px;
  643. @badge-text-color: @component-background;
  644. @badge-color: @highlight-color;
  645. // Rate
  646. // ---
  647. @rate-star-color: @yellow-6;
  648. @rate-star-bg: @border-color-split;
  649. @rate-star-size: 20px;
  650. @rate-star-hover-scale: scale(1.1);
  651. // Card
  652. // ---
  653. @card-head-color: @heading-color;
  654. @card-head-background: transparent;
  655. @card-head-font-size: @font-size-lg;
  656. @card-head-font-size-sm: @font-size-base;
  657. @card-head-padding: 16px;
  658. @card-head-padding-sm: (@card-head-padding / 2);
  659. @card-head-height: 48px;
  660. @card-head-height-sm: 36px;
  661. @card-inner-head-padding: 12px;
  662. @card-padding-base: 24px;
  663. @card-padding-base-sm: (@card-padding-base / 2);
  664. @card-actions-background: @component-background;
  665. @card-actions-li-margin: 12px 0;
  666. @card-skeleton-bg: #cfd8dc;
  667. @card-background: @component-background;
  668. @card-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12),
  669. 0 5px 12px 4px rgba(0, 0, 0, 0.09);
  670. @card-radius: @border-radius-base;
  671. @card-head-tabs-margin-bottom: -17px;
  672. @card-head-extra-color: @text-color;
  673. // Comment
  674. // ---
  675. @comment-bg: inherit;
  676. @comment-padding-base: @padding-md 0;
  677. @comment-nest-indent: 44px;
  678. @comment-font-size-base: @font-size-base;
  679. @comment-font-size-sm: @font-size-sm;
  680. @comment-author-name-color: @text-color-secondary;
  681. @comment-author-time-color: #ccc;
  682. @comment-action-color: @text-color-secondary;
  683. @comment-action-hover-color: #595959;
  684. @comment-actions-margin-bottom: inherit;
  685. @comment-actions-margin-top: @margin-sm;
  686. @comment-content-detail-p-margin-bottom: inherit;
  687. // Tabs
  688. // ---
  689. @tabs-card-head-background: @background-color-light;
  690. @tabs-card-height: 40px;
  691. @tabs-card-active-color: @primary-color;
  692. @tabs-card-horizontal-padding: (
  693. (@tabs-card-height - floor(@font-size-base * @line-height-base)) / 2
  694. ) - @border-width-base @padding-md;
  695. @tabs-card-horizontal-padding-sm: 6px @padding-md;
  696. @tabs-card-horizontal-padding-lg: 7px @padding-md 6px;
  697. @tabs-title-font-size: @font-size-base;
  698. @tabs-title-font-size-lg: @font-size-lg;
  699. @tabs-title-font-size-sm: @font-size-base;
  700. @tabs-ink-bar-color: @primary-color;
  701. @tabs-bar-margin: 0 0 @margin-md 0;
  702. @tabs-horizontal-gutter: 32px;
  703. @tabs-horizontal-margin: 0 0 0 @tabs-horizontal-gutter;
  704. @tabs-horizontal-margin-rtl: 0 0 0 32px;
  705. @tabs-horizontal-padding: @padding-sm 0;
  706. @tabs-horizontal-padding-lg: @padding-md 0;
  707. @tabs-horizontal-padding-sm: @padding-xs 0;
  708. @tabs-vertical-padding: @padding-xs @padding-lg;
  709. @tabs-vertical-margin: @margin-md 0 0 0;
  710. @tabs-scrolling-size: 32px;
  711. @tabs-highlight-color: @primary-color;
  712. @tabs-hover-color: @primary-5;
  713. @tabs-active-color: @primary-7;
  714. @tabs-card-gutter: 2px;
  715. @tabs-card-tab-active-border-top: 2px solid transparent;
  716. // BackTop
  717. // ---
  718. @back-top-color: #fff;
  719. @back-top-bg: @text-color-secondary;
  720. @back-top-hover-bg: @text-color;
  721. // Avatar
  722. // ---
  723. @avatar-size-base: 32px;
  724. @avatar-size-lg: 40px;
  725. @avatar-size-sm: 24px;
  726. @avatar-font-size-base: 18px;
  727. @avatar-font-size-lg: 24px;
  728. @avatar-font-size-sm: 14px;
  729. @avatar-bg: #ccc;
  730. @avatar-color: #fff;
  731. @avatar-border-radius: @border-radius-base;
  732. @avatar-group-overlapping: -8px;
  733. @avatar-group-space: 3px;
  734. @avatar-group-border-color: #fff;
  735. // Switch
  736. // ---
  737. @switch-height: 22px;
  738. @switch-sm-height: 16px;
  739. @switch-min-width: 44px;
  740. @switch-sm-min-width: 28px;
  741. @switch-disabled-opacity: 0.4;
  742. @switch-color: @primary-color;
  743. @switch-bg: @component-background;
  744. @switch-shadow-color: fade(#00230b, 20%);
  745. @switch-padding: 2px;
  746. @switch-inner-margin-min: ceil(@switch-height * 0.3);
  747. @switch-inner-margin-max: ceil(@switch-height * 1.1);
  748. @switch-sm-inner-margin-min: ceil(@switch-sm-height * 0.3);
  749. @switch-sm-inner-margin-max: ceil(@switch-sm-height * 1.1);
  750. // Pagination
  751. // ---
  752. @pagination-item-bg: @component-background;
  753. @pagination-item-size: @height-base;
  754. @pagination-item-size-sm: 24px;
  755. @pagination-font-family: @font-family;
  756. @pagination-font-weight-active: 500;
  757. @pagination-item-bg-active: @component-background;
  758. @pagination-item-link-bg: @component-background;
  759. @pagination-item-disabled-color-active: @disabled-color;
  760. @pagination-item-disabled-bg-active: @disabled-active-bg;
  761. @pagination-item-input-bg: @component-background;
  762. @pagination-mini-options-size-changer-top: 0px;
  763. // PageHeader
  764. // ---
  765. @page-header-padding: @padding-lg;
  766. @page-header-padding-vertical: @padding-md;
  767. @page-header-padding-breadcrumb: @padding-sm;
  768. @page-header-content-padding-vertical: @padding-sm;
  769. @page-header-back-color: #000;
  770. @page-header-ghost-bg: inherit;
  771. @page-header-heading-title: @heading-4-size;
  772. @page-header-heading-sub-title: 14px;
  773. @page-header-tabs-tab-font-size: 16px;
  774. // Breadcrumb
  775. // ---
  776. @breadcrumb-base-color: @text-color-secondary;
  777. @breadcrumb-last-item-color: @text-color;
  778. @breadcrumb-font-size: @font-size-base;
  779. @breadcrumb-icon-font-size: @font-size-base;
  780. @breadcrumb-link-color: @text-color-secondary;
  781. @breadcrumb-link-color-hover: @primary-5;
  782. @breadcrumb-separator-color: @text-color-secondary;
  783. @breadcrumb-separator-margin: 0 @padding-xs;
  784. // Slider
  785. // ---
  786. @slider-margin: 10px 6px 10px;
  787. @slider-rail-background-color: @background-color-base;
  788. @slider-rail-background-color-hover: #e1e1e1;
  789. @slider-track-background-color: @primary-3;
  790. @slider-track-background-color-hover: @primary-4;
  791. @slider-handle-border-width: 2px;
  792. @slider-handle-background-color: @component-background;
  793. @slider-handle-color: @primary-3;
  794. @slider-handle-color-hover: @primary-4;
  795. @slider-handle-color-focus: tint(@primary-color, 20%);
  796. @slider-handle-color-focus-shadow: fade(@primary-color, 12%);
  797. @slider-handle-color-tooltip-open: @primary-color;
  798. @slider-handle-size: 14px;
  799. @slider-handle-margin-top: -5px;
  800. @slider-handle-shadow: 0;
  801. @slider-dot-border-color: @border-color-split;
  802. @slider-dot-border-color-active: tint(@primary-color, 50%);
  803. @slider-disabled-color: @disabled-color;
  804. @slider-disabled-background-color: @component-background;
  805. // Tree
  806. // ---
  807. @tree-bg: @component-background;
  808. @tree-title-height: 24px;
  809. @tree-child-padding: 18px;
  810. @tree-directory-selected-color: #fff;
  811. @tree-directory-selected-bg: @primary-color;
  812. @tree-node-hover-bg: @item-hover-bg;
  813. @tree-node-selected-bg: @primary-2;
  814. // Collapse
  815. // ---
  816. @collapse-header-padding: @padding-sm @padding-md;
  817. @collapse-header-padding-extra: 40px;
  818. @collapse-header-bg: @background-color-light;
  819. @collapse-content-padding: @padding-md;
  820. @collapse-content-bg: @component-background;
  821. @collapse-header-arrow-left: 16px;
  822. // Skeleton
  823. // ---
  824. @skeleton-color: rgba(190, 190, 190, 0.2);
  825. @skeleton-to-color: shade(@skeleton-color, 5%);
  826. @skeleton-paragraph-margin-top: 28px;
  827. @skeleton-paragraph-li-margin-top: @margin-md;
  828. @skeleton-paragraph-li-height: 16px;
  829. @skeleton-title-height: 16px;
  830. @skeleton-title-paragraph-margin-top: @margin-lg;
  831. // Transfer
  832. // ---
  833. @transfer-header-height: 40px;
  834. @transfer-item-height: @height-base;
  835. @transfer-disabled-bg: @disabled-bg;
  836. @transfer-list-height: 200px;
  837. @transfer-item-hover-bg: @item-hover-bg;
  838. @transfer-item-selected-hover-bg: darken(@item-active-bg, 2%);
  839. @transfer-item-padding-vertical: 6px;
  840. @transfer-list-search-icon-top: 12px;
  841. // Message
  842. // ---
  843. @message-notice-content-padding: 10px 16px;
  844. @message-notice-content-bg: @component-background;
  845. // Motion
  846. // ---
  847. @wave-animation-width: 6px;
  848. // Alert
  849. // ---
  850. @alert-success-border-color: ~`colorPalette('@{success-color}', 3) `;
  851. @alert-success-bg-color: ~`colorPalette('@{success-color}', 1) `;
  852. @alert-success-icon-color: @success-color;
  853. @alert-info-border-color: ~`colorPalette('@{info-color}', 3) `;
  854. @alert-info-bg-color: ~`colorPalette('@{info-color}', 1) `;
  855. @alert-info-icon-color: @info-color;
  856. @alert-warning-border-color: ~`colorPalette('@{warning-color}', 3) `;
  857. @alert-warning-bg-color: ~`colorPalette('@{warning-color}', 1) `;
  858. @alert-warning-icon-color: @warning-color;
  859. @alert-error-border-color: ~`colorPalette('@{error-color}', 3) `;
  860. @alert-error-bg-color: ~`colorPalette('@{error-color}', 1) `;
  861. @alert-error-icon-color: @error-color;
  862. @alert-message-color: @heading-color;
  863. @alert-text-color: @text-color;
  864. @alert-close-color: @text-color-secondary;
  865. @alert-close-hover-color: @icon-color-hover;
  866. @alert-no-icon-padding-vertical: @padding-xs;
  867. @alert-with-description-no-icon-padding-vertical: @padding-md - 1px;
  868. @alert-with-description-padding-vertical: @padding-md - 1px;
  869. @alert-with-description-padding: @alert-with-description-padding-vertical 15px
  870. @alert-with-description-no-icon-padding-vertical @alert-with-description-icon-size;
  871. @alert-icon-top: 8px + @font-size-base * (@line-height-base / 2) - (@font-size-base / 2);
  872. @alert-with-description-icon-size: 24px;
  873. // List
  874. // ---
  875. @list-header-background: transparent;
  876. @list-footer-background: transparent;
  877. @list-empty-text-padding: @padding-md;
  878. @list-item-padding: @padding-sm 0;
  879. @list-item-padding-sm: @padding-xs @padding-md;
  880. @list-item-padding-lg: 16px 24px;
  881. @list-item-meta-margin-bottom: @padding-md;
  882. @list-item-meta-avatar-margin-right: @padding-md;
  883. @list-item-meta-title-margin-bottom: @padding-sm;
  884. @list-customize-card-bg: @component-background;
  885. @list-item-meta-description-font-size: @font-size-base;
  886. // Statistic
  887. // ---
  888. @statistic-title-font-size: @font-size-base;
  889. @statistic-content-font-size: 24px;
  890. @statistic-unit-font-size: 24px;
  891. @statistic-font-family: @font-family;
  892. // Drawer
  893. // ---
  894. @drawer-header-padding: @padding-md @padding-lg;
  895. @drawer-body-padding: @padding-lg;
  896. @drawer-bg: @component-background;
  897. @drawer-footer-padding-vertical: @modal-footer-padding-vertical;
  898. @drawer-footer-padding-horizontal: @modal-footer-padding-horizontal;
  899. @drawer-header-close-size: 56px;
  900. @drawer-title-font-size: @font-size-lg;
  901. @drawer-title-line-height: 22px;
  902. // Timeline
  903. // ---
  904. @timeline-width: 2px;
  905. @timeline-color: @border-color-split;
  906. @timeline-dot-border-width: 2px;
  907. @timeline-dot-color: @primary-color;
  908. @timeline-dot-bg: @component-background;
  909. @timeline-item-padding-bottom: 20px;
  910. // Typography
  911. // ---
  912. @typography-title-font-weight: 600;
  913. @typography-title-margin-top: 1.2em;
  914. @typography-title-margin-bottom: 0.5em;
  915. // Upload
  916. // ---
  917. @upload-actions-color: @text-color-secondary;
  918. // Steps
  919. // ---
  920. @process-tail-color: @border-color-split;
  921. @steps-nav-arrow-color: fade(@black, 25%);
  922. @steps-background: @component-background;
  923. @steps-icon-size: 32px;
  924. @steps-icon-custom-size: @steps-icon-size;
  925. @steps-icon-custom-top: 0px;
  926. @steps-icon-custom-font-size: 24px;
  927. @steps-icon-top: -0.5px;
  928. @steps-icon-font-size: @font-size-lg;
  929. @steps-icon-margin: 0 8px 0 0;
  930. @steps-title-line-height: @height-base;
  931. @steps-small-icon-size: 24px;
  932. @steps-small-icon-margin: 0 8px 0 0;
  933. @steps-dot-size: 8px;
  934. @steps-dot-top: 2px;
  935. @steps-current-dot-size: 10px;
  936. @steps-description-max-width: 140px;
  937. @steps-nav-content-max-width: auto;
  938. @steps-vertical-icon-width: 16px;
  939. @steps-vertical-tail-width: 16px;
  940. @steps-vertical-tail-width-sm: 12px;
  941. // Notification
  942. // ---
  943. @notification-bg: @component-background;
  944. @notification-padding-vertical: 16px;
  945. @notification-padding-horizontal: 24px;
  946. // Result
  947. // ---
  948. @result-title-font-size: 24px;
  949. @result-subtitle-font-size: @font-size-base;
  950. @result-icon-font-size: 72px;
  951. @result-extra-margin: 24px 0 0 0;
  952. // Image
  953. // ---
  954. @image-size-base: 48px;
  955. @image-font-size-base: 24px;
  956. @image-bg: #f5f5f5;
  957. @image-color: #fff;
  958. @image-mask-font-size: 16px;
  959. @image-preview-operation-size: 18px;
  960. @image-preview-operation-color: @text-color-dark;
  961. @image-preview-operation-disabled-color: fade(@image-preview-operation-color, 25%);