default.less 36 KB

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