_variables.scss 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143
  1. // Variables
  2. //
  3. // Variables should follow the `$component-state-property-size` formula for
  4. // consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
  5. // Color system
  6. $white: #fff !default;
  7. $gray-100: #f8f9fa !default;
  8. $gray-200: #e9ecef !default;
  9. $gray-300: #dee2e6 !default;
  10. $gray-400: #ced4da !default;
  11. $gray-500: #adb5bd !default;
  12. $gray-600: #6c757d !default;
  13. $gray-700: #495057 !default;
  14. $gray-800: #343a40 !default;
  15. $gray-900: #212529 !default;
  16. $black: #000 !default;
  17. $grays: () !default;
  18. // stylelint-disable-next-line scss/dollar-variable-default
  19. $grays: map-merge(
  20. (
  21. "100": $gray-100,
  22. "200": $gray-200,
  23. "300": $gray-300,
  24. "400": $gray-400,
  25. "500": $gray-500,
  26. "600": $gray-600,
  27. "700": $gray-700,
  28. "800": $gray-800,
  29. "900": $gray-900
  30. ),
  31. $grays
  32. );
  33. $blue: #007bff !default;
  34. $indigo: #6610f2 !default;
  35. $purple: #6f42c1 !default;
  36. $pink: #e83e8c !default;
  37. $red: #dc3545 !default;
  38. $orange: #fd7e14 !default;
  39. $yellow: #ffc107 !default;
  40. $green: #28a745 !default;
  41. $teal: #20c997 !default;
  42. $cyan: #17a2b8 !default;
  43. $colors: () !default;
  44. // stylelint-disable-next-line scss/dollar-variable-default
  45. $colors: map-merge(
  46. (
  47. "blue": $blue,
  48. "indigo": $indigo,
  49. "purple": $purple,
  50. "pink": $pink,
  51. "red": $red,
  52. "orange": $orange,
  53. "yellow": $yellow,
  54. "green": $green,
  55. "teal": $teal,
  56. "cyan": $cyan,
  57. "white": $white,
  58. "gray": $gray-600,
  59. "gray-dark": $gray-800
  60. ),
  61. $colors
  62. );
  63. $primary: $blue !default;
  64. $secondary: $gray-600 !default;
  65. $success: $green !default;
  66. $info: $cyan !default;
  67. $warning: $yellow !default;
  68. $danger: $red !default;
  69. $light: $gray-100 !default;
  70. $dark: $gray-800 !default;
  71. $theme-colors: () !default;
  72. // stylelint-disable-next-line scss/dollar-variable-default
  73. $theme-colors: map-merge(
  74. (
  75. "primary": $primary,
  76. "secondary": $secondary,
  77. "success": $success,
  78. "info": $info,
  79. "warning": $warning,
  80. "danger": $danger,
  81. "light": $light,
  82. "dark": $dark
  83. ),
  84. $theme-colors
  85. );
  86. // Set a specific jump point for requesting color jumps
  87. $theme-color-interval: 8% !default;
  88. // The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
  89. $yiq-contrasted-threshold: 150 !default;
  90. // Customize the light and dark text colors for use in our YIQ color contrast function.
  91. $yiq-text-dark: $gray-900 !default;
  92. $yiq-text-light: $white !default;
  93. // Characters which are escaped by the escape-svg function
  94. $escaped-characters: (
  95. ("<","%3c"),
  96. (">","%3e"),
  97. ("#","%23"),
  98. ) !default;
  99. // Options
  100. //
  101. // Quickly modify global styling by enabling or disabling optional features.
  102. $enable-caret: true !default;
  103. $enable-rounded: true !default;
  104. $enable-shadows: false !default;
  105. $enable-gradients: false !default;
  106. $enable-transitions: true !default;
  107. $enable-prefers-reduced-motion-media-query: true !default;
  108. $enable-hover-media-query: false !default; // Deprecated, no longer affects any compiled CSS
  109. $enable-grid-classes: true !default;
  110. $enable-pointer-cursor-for-buttons: true !default;
  111. $enable-print-styles: true !default;
  112. $enable-responsive-font-sizes: false !default;
  113. $enable-validation-icons: true !default;
  114. $enable-deprecation-messages: true !default;
  115. // Spacing
  116. //
  117. // Control the default styling of most Bootstrap elements by modifying these
  118. // variables. Mostly focused on spacing.
  119. // You can add more entries to the $spacers map, should you need more variation.
  120. $spacer: 1rem !default;
  121. $spacers: () !default;
  122. // stylelint-disable-next-line scss/dollar-variable-default
  123. $spacers: map-merge(
  124. (
  125. 0: 0,
  126. 1: ($spacer * .25),
  127. 2: ($spacer * .5),
  128. 3: $spacer,
  129. 4: ($spacer * 1.5),
  130. 5: ($spacer * 3)
  131. ),
  132. $spacers
  133. );
  134. // This variable affects the `.h-*` and `.w-*` classes.
  135. $sizes: () !default;
  136. // stylelint-disable-next-line scss/dollar-variable-default
  137. $sizes: map-merge(
  138. (
  139. 25: 25%,
  140. 50: 50%,
  141. 75: 75%,
  142. 100: 100%,
  143. auto: auto
  144. ),
  145. $sizes
  146. );
  147. // Body
  148. //
  149. // Settings for the `<body>` element.
  150. $body-bg: $white !default;
  151. $body-color: $gray-900 !default;
  152. // Links
  153. //
  154. // Style anchor elements.
  155. $link-color: theme-color("primary") !default;
  156. $link-decoration: none !default;
  157. $link-hover-color: darken($link-color, 15%) !default;
  158. $link-hover-decoration: underline !default;
  159. // Darken percentage for links with `.text-*` class (e.g. `.text-success`)
  160. $emphasized-link-hover-darken-percentage: 15% !default;
  161. // Paragraphs
  162. //
  163. // Style p element.
  164. $paragraph-margin-bottom: 1rem !default;
  165. // Grid breakpoints
  166. //
  167. // Define the minimum dimensions at which your layout will change,
  168. // adapting to different screen sizes, for use in media queries.
  169. $grid-breakpoints: (
  170. xs: 0,
  171. sm: 576px,
  172. md: 768px,
  173. lg: 992px,
  174. xl: 1200px
  175. ) !default;
  176. @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
  177. @include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints");
  178. // Grid containers
  179. //
  180. // Define the maximum width of `.container` for different screen sizes.
  181. $container-max-widths: (
  182. sm: 540px,
  183. md: 720px,
  184. lg: 960px,
  185. xl: 1140px
  186. ) !default;
  187. @include _assert-ascending($container-max-widths, "$container-max-widths");
  188. // Grid columns
  189. //
  190. // Set the number of columns and specify the width of the gutters.
  191. $grid-columns: 12 !default;
  192. $grid-gutter-width: 30px !default;
  193. $grid-row-columns: 6 !default;
  194. // Components
  195. //
  196. // Define common padding and border radius sizes and more.
  197. $line-height-lg: 1.5 !default;
  198. $line-height-sm: 1.5 !default;
  199. $border-width: 1px !default;
  200. $border-color: $gray-300 !default;
  201. $border-radius: .25rem !default;
  202. $border-radius-lg: .3rem !default;
  203. $border-radius-sm: .2rem !default;
  204. $rounded-pill: 50rem !default;
  205. $box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
  206. $box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
  207. $box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
  208. $component-active-color: $white !default;
  209. $component-active-bg: theme-color("primary") !default;
  210. $caret-width: .3em !default;
  211. $caret-vertical-align: $caret-width * .85 !default;
  212. $caret-spacing: $caret-width * .85 !default;
  213. $transition-base: all .2s ease-in-out !default;
  214. $transition-fade: opacity .15s linear !default;
  215. $transition-collapse: height .35s ease !default;
  216. $embed-responsive-aspect-ratios: () !default;
  217. // stylelint-disable-next-line scss/dollar-variable-default
  218. $embed-responsive-aspect-ratios: join(
  219. (
  220. (21 9),
  221. (16 9),
  222. (4 3),
  223. (1 1),
  224. ),
  225. $embed-responsive-aspect-ratios
  226. );
  227. // Typography
  228. //
  229. // Font, line-height, and color for body text, headings, and more.
  230. // stylelint-disable value-keyword-case
  231. $font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
  232. $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
  233. $font-family-base: $font-family-sans-serif !default;
  234. // stylelint-enable value-keyword-case
  235. $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
  236. $font-size-lg: $font-size-base * 1.25 !default;
  237. $font-size-sm: $font-size-base * .875 !default;
  238. $font-weight-lighter: lighter !default;
  239. $font-weight-light: 300 !default;
  240. $font-weight-normal: 400 !default;
  241. $font-weight-bold: 700 !default;
  242. $font-weight-bolder: bolder !default;
  243. $font-weight-base: $font-weight-normal !default;
  244. $line-height-base: 1.5 !default;
  245. $h1-font-size: $font-size-base * 2.5 !default;
  246. $h2-font-size: $font-size-base * 2 !default;
  247. $h3-font-size: $font-size-base * 1.75 !default;
  248. $h4-font-size: $font-size-base * 1.5 !default;
  249. $h5-font-size: $font-size-base * 1.25 !default;
  250. $h6-font-size: $font-size-base !default;
  251. $headings-margin-bottom: $spacer / 2 !default;
  252. $headings-font-family: null !default;
  253. $headings-font-weight: 500 !default;
  254. $headings-line-height: 1.2 !default;
  255. $headings-color: null !default;
  256. $display1-size: 6rem !default;
  257. $display2-size: 5.5rem !default;
  258. $display3-size: 4.5rem !default;
  259. $display4-size: 3.5rem !default;
  260. $display1-weight: 300 !default;
  261. $display2-weight: 300 !default;
  262. $display3-weight: 300 !default;
  263. $display4-weight: 300 !default;
  264. $display-line-height: $headings-line-height !default;
  265. $lead-font-size: $font-size-base * 1.25 !default;
  266. $lead-font-weight: 300 !default;
  267. $small-font-size: 80% !default;
  268. $text-muted: $gray-600 !default;
  269. $blockquote-small-color: $gray-600 !default;
  270. $blockquote-small-font-size: $small-font-size !default;
  271. $blockquote-font-size: $font-size-base * 1.25 !default;
  272. $hr-border-color: rgba($black, .1) !default;
  273. $hr-border-width: $border-width !default;
  274. $mark-padding: .2em !default;
  275. $dt-font-weight: $font-weight-bold !default;
  276. $kbd-box-shadow: inset 0 -.1rem 0 rgba($black, .25) !default;
  277. $nested-kbd-font-weight: $font-weight-bold !default;
  278. $list-inline-padding: .5rem !default;
  279. $mark-bg: #fcf8e3 !default;
  280. $hr-margin-y: $spacer !default;
  281. // Tables
  282. //
  283. // Customizes the `.table` component with basic values, each used across all table variations.
  284. $table-cell-padding: .75rem !default;
  285. $table-cell-padding-sm: .3rem !default;
  286. $table-color: $body-color !default;
  287. $table-bg: null !default;
  288. $table-accent-bg: rgba($black, .05) !default;
  289. $table-hover-color: $table-color !default;
  290. $table-hover-bg: rgba($black, .075) !default;
  291. $table-active-bg: $table-hover-bg !default;
  292. $table-border-width: $border-width !default;
  293. $table-border-color: $border-color !default;
  294. $table-head-bg: $gray-200 !default;
  295. $table-head-color: $gray-700 !default;
  296. $table-dark-color: $white !default;
  297. $table-dark-bg: $gray-800 !default;
  298. $table-dark-accent-bg: rgba($white, .05) !default;
  299. $table-dark-hover-color: $table-dark-color !default;
  300. $table-dark-hover-bg: rgba($white, .075) !default;
  301. $table-dark-border-color: lighten($table-dark-bg, 7.5%) !default;
  302. $table-striped-order: odd !default;
  303. $table-caption-color: $text-muted !default;
  304. $table-bg-level: -9 !default;
  305. $table-border-level: -6 !default;
  306. // Buttons + Forms
  307. //
  308. // Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
  309. $input-btn-padding-y: .375rem !default;
  310. $input-btn-padding-x: .75rem !default;
  311. $input-btn-font-family: null !default;
  312. $input-btn-font-size: $font-size-base !default;
  313. $input-btn-line-height: $line-height-base !default;
  314. $input-btn-focus-width: .2rem !default;
  315. $input-btn-focus-color: rgba($component-active-bg, .25) !default;
  316. $input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color !default;
  317. $input-btn-padding-y-sm: .25rem !default;
  318. $input-btn-padding-x-sm: .5rem !default;
  319. $input-btn-font-size-sm: $font-size-sm !default;
  320. $input-btn-line-height-sm: $line-height-sm !default;
  321. $input-btn-padding-y-lg: .5rem !default;
  322. $input-btn-padding-x-lg: 1rem !default;
  323. $input-btn-font-size-lg: $font-size-lg !default;
  324. $input-btn-line-height-lg: $line-height-lg !default;
  325. $input-btn-border-width: $border-width !default;
  326. // Buttons
  327. //
  328. // For each of Bootstrap's buttons, define text, background, and border color.
  329. $btn-padding-y: $input-btn-padding-y !default;
  330. $btn-padding-x: $input-btn-padding-x !default;
  331. $btn-font-family: $input-btn-font-family !default;
  332. $btn-font-size: $input-btn-font-size !default;
  333. $btn-line-height: $input-btn-line-height !default;
  334. $btn-white-space: null !default; // Set to `nowrap` to prevent text wrapping
  335. $btn-padding-y-sm: $input-btn-padding-y-sm !default;
  336. $btn-padding-x-sm: $input-btn-padding-x-sm !default;
  337. $btn-font-size-sm: $input-btn-font-size-sm !default;
  338. $btn-line-height-sm: $input-btn-line-height-sm !default;
  339. $btn-padding-y-lg: $input-btn-padding-y-lg !default;
  340. $btn-padding-x-lg: $input-btn-padding-x-lg !default;
  341. $btn-font-size-lg: $input-btn-font-size-lg !default;
  342. $btn-line-height-lg: $input-btn-line-height-lg !default;
  343. $btn-border-width: $input-btn-border-width !default;
  344. $btn-font-weight: $font-weight-normal !default;
  345. $btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;
  346. $btn-focus-width: $input-btn-focus-width !default;
  347. $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
  348. $btn-disabled-opacity: .65 !default;
  349. $btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
  350. $btn-link-disabled-color: $gray-600 !default;
  351. $btn-block-spacing-y: .5rem !default;
  352. // Allows for customizing button radius independently from global border radius
  353. $btn-border-radius: $border-radius !default;
  354. $btn-border-radius-lg: $border-radius-lg !default;
  355. $btn-border-radius-sm: $border-radius-sm !default;
  356. $btn-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
  357. // Forms
  358. $label-margin-bottom: .5rem !default;
  359. $input-padding-y: $input-btn-padding-y !default;
  360. $input-padding-x: $input-btn-padding-x !default;
  361. $input-font-family: $input-btn-font-family !default;
  362. $input-font-size: $input-btn-font-size !default;
  363. $input-font-weight: $font-weight-base !default;
  364. $input-line-height: $input-btn-line-height !default;
  365. $input-padding-y-sm: $input-btn-padding-y-sm !default;
  366. $input-padding-x-sm: $input-btn-padding-x-sm !default;
  367. $input-font-size-sm: $input-btn-font-size-sm !default;
  368. $input-line-height-sm: $input-btn-line-height-sm !default;
  369. $input-padding-y-lg: $input-btn-padding-y-lg !default;
  370. $input-padding-x-lg: $input-btn-padding-x-lg !default;
  371. $input-font-size-lg: $input-btn-font-size-lg !default;
  372. $input-line-height-lg: $input-btn-line-height-lg !default;
  373. $input-bg: $white !default;
  374. $input-disabled-bg: $gray-200 !default;
  375. $input-color: $gray-700 !default;
  376. $input-border-color: $gray-400 !default;
  377. $input-border-width: $input-btn-border-width !default;
  378. $input-box-shadow: inset 0 1px 1px rgba($black, .075) !default;
  379. $input-border-radius: $border-radius !default;
  380. $input-border-radius-lg: $border-radius-lg !default;
  381. $input-border-radius-sm: $border-radius-sm !default;
  382. $input-focus-bg: $input-bg !default;
  383. $input-focus-border-color: lighten($component-active-bg, 25%) !default;
  384. $input-focus-color: $input-color !default;
  385. $input-focus-width: $input-btn-focus-width !default;
  386. $input-focus-box-shadow: $input-btn-focus-box-shadow !default;
  387. $input-placeholder-color: $gray-600 !default;
  388. $input-plaintext-color: $body-color !default;
  389. $input-height-border: $input-border-width * 2 !default;
  390. $input-height-inner: add($input-line-height * 1em, $input-padding-y * 2) !default;
  391. $input-height-inner-half: add($input-line-height * .5em, $input-padding-y) !default;
  392. $input-height-inner-quarter: add($input-line-height * .25em, $input-padding-y / 2) !default;
  393. $input-height: add($input-line-height * 1em, add($input-padding-y * 2, $input-height-border, false)) !default;
  394. $input-height-sm: add($input-line-height-sm * 1em, add($input-padding-y-sm * 2, $input-height-border, false)) !default;
  395. $input-height-lg: add($input-line-height-lg * 1em, add($input-padding-y-lg * 2, $input-height-border, false)) !default;
  396. $input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
  397. $form-text-margin-top: .25rem !default;
  398. $form-check-input-gutter: 1.25rem !default;
  399. $form-check-input-margin-y: .3rem !default;
  400. $form-check-input-margin-x: .25rem !default;
  401. $form-check-inline-margin-x: .75rem !default;
  402. $form-check-inline-input-margin-x: .3125rem !default;
  403. $form-grid-gutter-width: 10px !default;
  404. $form-group-margin-bottom: 1rem !default;
  405. $input-group-addon-color: $input-color !default;
  406. $input-group-addon-bg: $gray-200 !default;
  407. $input-group-addon-border-color: $input-border-color !default;
  408. $custom-forms-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
  409. $custom-control-gutter: .5rem !default;
  410. $custom-control-spacer-x: 1rem !default;
  411. $custom-control-cursor: null !default;
  412. $custom-control-indicator-size: 1rem !default;
  413. $custom-control-indicator-bg: $input-bg !default;
  414. $custom-control-indicator-bg-size: 50% 50% !default;
  415. $custom-control-indicator-box-shadow: $input-box-shadow !default;
  416. $custom-control-indicator-border-color: $gray-500 !default;
  417. $custom-control-indicator-border-width: $input-border-width !default;
  418. $custom-control-label-color: null !default;
  419. $custom-control-indicator-disabled-bg: $input-disabled-bg !default;
  420. $custom-control-label-disabled-color: $gray-600 !default;
  421. $custom-control-indicator-checked-color: $component-active-color !default;
  422. $custom-control-indicator-checked-bg: $component-active-bg !default;
  423. $custom-control-indicator-checked-disabled-bg: rgba(theme-color("primary"), .5) !default;
  424. $custom-control-indicator-checked-box-shadow: none !default;
  425. $custom-control-indicator-checked-border-color: $custom-control-indicator-checked-bg !default;
  426. $custom-control-indicator-focus-box-shadow: $input-focus-box-shadow !default;
  427. $custom-control-indicator-focus-border-color: $input-focus-border-color !default;
  428. $custom-control-indicator-active-color: $component-active-color !default;
  429. $custom-control-indicator-active-bg: lighten($component-active-bg, 35%) !default;
  430. $custom-control-indicator-active-box-shadow: none !default;
  431. $custom-control-indicator-active-border-color: $custom-control-indicator-active-bg !default;
  432. $custom-checkbox-indicator-border-radius: $border-radius !default;
  433. $custom-checkbox-indicator-icon-checked: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'><path fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/></svg>") !default;
  434. $custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default;
  435. $custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
  436. $custom-checkbox-indicator-icon-indeterminate: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'><path stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/></svg>") !default;
  437. $custom-checkbox-indicator-indeterminate-box-shadow: none !default;
  438. $custom-checkbox-indicator-indeterminate-border-color: $custom-checkbox-indicator-indeterminate-bg !default;
  439. $custom-radio-indicator-border-radius: 50% !default;
  440. $custom-radio-indicator-icon-checked: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'><circle r='3' fill='#{$custom-control-indicator-checked-color}'/></svg>") !default;
  441. $custom-switch-width: $custom-control-indicator-size * 1.75 !default;
  442. $custom-switch-indicator-border-radius: $custom-control-indicator-size / 2 !default;
  443. $custom-switch-indicator-size: subtract($custom-control-indicator-size, $custom-control-indicator-border-width * 4) !default;
  444. $custom-select-padding-y: $input-padding-y !default;
  445. $custom-select-padding-x: $input-padding-x !default;
  446. $custom-select-font-family: $input-font-family !default;
  447. $custom-select-font-size: $input-font-size !default;
  448. $custom-select-height: $input-height !default;
  449. $custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
  450. $custom-select-font-weight: $input-font-weight !default;
  451. $custom-select-line-height: $input-line-height !default;
  452. $custom-select-color: $input-color !default;
  453. $custom-select-disabled-color: $gray-600 !default;
  454. $custom-select-bg: $input-bg !default;
  455. $custom-select-disabled-bg: $gray-200 !default;
  456. $custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
  457. $custom-select-indicator-color: $gray-800 !default;
  458. $custom-select-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'><path fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>") !default;
  459. $custom-select-background: escape-svg($custom-select-indicator) no-repeat right $custom-select-padding-x center / $custom-select-bg-size !default; // Used so we can have multiple background elements (e.g., arrow and feedback icon)
  460. $custom-select-feedback-icon-padding-right: add(1em * .75, (2 * $custom-select-padding-y * .75) + $custom-select-padding-x + $custom-select-indicator-padding) !default;
  461. $custom-select-feedback-icon-position: center right ($custom-select-padding-x + $custom-select-indicator-padding) !default;
  462. $custom-select-feedback-icon-size: $input-height-inner-half $input-height-inner-half !default;
  463. $custom-select-border-width: $input-border-width !default;
  464. $custom-select-border-color: $input-border-color !default;
  465. $custom-select-border-radius: $border-radius !default;
  466. $custom-select-box-shadow: inset 0 1px 2px rgba($black, .075) !default;
  467. $custom-select-focus-border-color: $input-focus-border-color !default;
  468. $custom-select-focus-width: $input-focus-width !default;
  469. $custom-select-focus-box-shadow: 0 0 0 $custom-select-focus-width $input-btn-focus-color !default;
  470. $custom-select-padding-y-sm: $input-padding-y-sm !default;
  471. $custom-select-padding-x-sm: $input-padding-x-sm !default;
  472. $custom-select-font-size-sm: $input-font-size-sm !default;
  473. $custom-select-height-sm: $input-height-sm !default;
  474. $custom-select-padding-y-lg: $input-padding-y-lg !default;
  475. $custom-select-padding-x-lg: $input-padding-x-lg !default;
  476. $custom-select-font-size-lg: $input-font-size-lg !default;
  477. $custom-select-height-lg: $input-height-lg !default;
  478. $custom-range-track-width: 100% !default;
  479. $custom-range-track-height: .5rem !default;
  480. $custom-range-track-cursor: pointer !default;
  481. $custom-range-track-bg: $gray-300 !default;
  482. $custom-range-track-border-radius: 1rem !default;
  483. $custom-range-track-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;
  484. $custom-range-thumb-width: 1rem !default;
  485. $custom-range-thumb-height: $custom-range-thumb-width !default;
  486. $custom-range-thumb-bg: $component-active-bg !default;
  487. $custom-range-thumb-border: 0 !default;
  488. $custom-range-thumb-border-radius: 1rem !default;
  489. $custom-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
  490. $custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
  491. $custom-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in IE/Edge
  492. $custom-range-thumb-active-bg: lighten($component-active-bg, 35%) !default;
  493. $custom-range-thumb-disabled-bg: $gray-500 !default;
  494. $custom-file-height: $input-height !default;
  495. $custom-file-height-inner: $input-height-inner !default;
  496. $custom-file-focus-border-color: $input-focus-border-color !default;
  497. $custom-file-focus-box-shadow: $input-focus-box-shadow !default;
  498. $custom-file-disabled-bg: $input-disabled-bg !default;
  499. $custom-file-padding-y: $input-padding-y !default;
  500. $custom-file-padding-x: $input-padding-x !default;
  501. $custom-file-line-height: $input-line-height !default;
  502. $custom-file-font-family: $input-font-family !default;
  503. $custom-file-font-weight: $input-font-weight !default;
  504. $custom-file-color: $input-color !default;
  505. $custom-file-bg: $input-bg !default;
  506. $custom-file-border-width: $input-border-width !default;
  507. $custom-file-border-color: $input-border-color !default;
  508. $custom-file-border-radius: $input-border-radius !default;
  509. $custom-file-box-shadow: $input-box-shadow !default;
  510. $custom-file-button-color: $custom-file-color !default;
  511. $custom-file-button-bg: $input-group-addon-bg !default;
  512. $custom-file-text: (
  513. en: "Browse"
  514. ) !default;
  515. // Form validation
  516. $form-feedback-margin-top: $form-text-margin-top !default;
  517. $form-feedback-font-size: $small-font-size !default;
  518. $form-feedback-valid-color: theme-color("success") !default;
  519. $form-feedback-invalid-color: theme-color("danger") !default;
  520. $form-feedback-icon-valid-color: $form-feedback-valid-color !default;
  521. $form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'><path fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>") !default;
  522. $form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
  523. $form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}' viewBox='0 0 12 12'><circle cx='6' cy='6' r='4.5'/><path stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/><circle cx='6' cy='8.2' r='.6' fill='#{$form-feedback-icon-invalid-color}' stroke='none'/></svg>") !default;
  524. $form-validation-states: () !default;
  525. // stylelint-disable-next-line scss/dollar-variable-default
  526. $form-validation-states: map-merge(
  527. (
  528. "valid": (
  529. "color": $form-feedback-valid-color,
  530. "icon": $form-feedback-icon-valid
  531. ),
  532. "invalid": (
  533. "color": $form-feedback-invalid-color,
  534. "icon": $form-feedback-icon-invalid
  535. ),
  536. ),
  537. $form-validation-states
  538. );
  539. // Z-index master list
  540. //
  541. // Warning: Avoid customizing these values. They're used for a bird's eye view
  542. // of components dependent on the z-axis and are designed to all work together.
  543. $zindex-dropdown: 1000 !default;
  544. $zindex-sticky: 1020 !default;
  545. $zindex-fixed: 1030 !default;
  546. $zindex-modal-backdrop: 1040 !default;
  547. $zindex-modal: 1050 !default;
  548. $zindex-popover: 1060 !default;
  549. $zindex-tooltip: 1070 !default;
  550. // Navs
  551. $nav-link-padding-y: .5rem !default;
  552. $nav-link-padding-x: 1rem !default;
  553. $nav-link-disabled-color: $gray-600 !default;
  554. $nav-tabs-border-color: $gray-300 !default;
  555. $nav-tabs-border-width: $border-width !default;
  556. $nav-tabs-border-radius: $border-radius !default;
  557. $nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color !default;
  558. $nav-tabs-link-active-color: $gray-700 !default;
  559. $nav-tabs-link-active-bg: $body-bg !default;
  560. $nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg !default;
  561. $nav-pills-border-radius: $border-radius !default;
  562. $nav-pills-link-active-color: $component-active-color !default;
  563. $nav-pills-link-active-bg: $component-active-bg !default;
  564. $nav-divider-color: $gray-200 !default;
  565. $nav-divider-margin-y: $spacer / 2 !default;
  566. // Navbar
  567. $navbar-padding-y: $spacer / 2 !default;
  568. $navbar-padding-x: $spacer !default;
  569. $navbar-nav-link-padding-x: .5rem !default;
  570. $navbar-brand-font-size: $font-size-lg !default;
  571. // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
  572. $nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default;
  573. $navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
  574. $navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2 !default;
  575. $navbar-toggler-padding-y: .25rem !default;
  576. $navbar-toggler-padding-x: .75rem !default;
  577. $navbar-toggler-font-size: $font-size-lg !default;
  578. $navbar-toggler-border-radius: $btn-border-radius !default;
  579. $navbar-dark-color: rgba($white, .5) !default;
  580. $navbar-dark-hover-color: rgba($white, .75) !default;
  581. $navbar-dark-active-color: $white !default;
  582. $navbar-dark-disabled-color: rgba($white, .25) !default;
  583. $navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'><path stroke='#{$navbar-dark-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
  584. $navbar-dark-toggler-border-color: rgba($white, .1) !default;
  585. $navbar-light-color: rgba($black, .5) !default;
  586. $navbar-light-hover-color: rgba($black, .7) !default;
  587. $navbar-light-active-color: rgba($black, .9) !default;
  588. $navbar-light-disabled-color: rgba($black, .3) !default;
  589. $navbar-light-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'><path stroke='#{$navbar-light-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
  590. $navbar-light-toggler-border-color: rgba($black, .1) !default;
  591. $navbar-light-brand-color: $navbar-light-active-color !default;
  592. $navbar-light-brand-hover-color: $navbar-light-active-color !default;
  593. $navbar-dark-brand-color: $navbar-dark-active-color !default;
  594. $navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
  595. // Dropdowns
  596. //
  597. // Dropdown menu container and contents.
  598. $dropdown-min-width: 10rem !default;
  599. $dropdown-padding-y: .5rem !default;
  600. $dropdown-spacer: .125rem !default;
  601. $dropdown-font-size: $font-size-base !default;
  602. $dropdown-color: $body-color !default;
  603. $dropdown-bg: $white !default;
  604. $dropdown-border-color: rgba($black, .15) !default;
  605. $dropdown-border-radius: $border-radius !default;
  606. $dropdown-border-width: $border-width !default;
  607. $dropdown-inner-border-radius: subtract($dropdown-border-radius, $dropdown-border-width) !default;
  608. $dropdown-divider-bg: $gray-200 !default;
  609. $dropdown-divider-margin-y: $nav-divider-margin-y !default;
  610. $dropdown-box-shadow: 0 .5rem 1rem rgba($black, .175) !default;
  611. $dropdown-link-color: $gray-900 !default;
  612. $dropdown-link-hover-color: darken($gray-900, 5%) !default;
  613. $dropdown-link-hover-bg: $gray-100 !default;
  614. $dropdown-link-active-color: $component-active-color !default;
  615. $dropdown-link-active-bg: $component-active-bg !default;
  616. $dropdown-link-disabled-color: $gray-600 !default;
  617. $dropdown-item-padding-y: .25rem !default;
  618. $dropdown-item-padding-x: 1.5rem !default;
  619. $dropdown-header-color: $gray-600 !default;
  620. // Pagination
  621. $pagination-padding-y: .5rem !default;
  622. $pagination-padding-x: .75rem !default;
  623. $pagination-padding-y-sm: .25rem !default;
  624. $pagination-padding-x-sm: .5rem !default;
  625. $pagination-padding-y-lg: .75rem !default;
  626. $pagination-padding-x-lg: 1.5rem !default;
  627. $pagination-line-height: 1.25 !default;
  628. $pagination-color: $link-color !default;
  629. $pagination-bg: $white !default;
  630. $pagination-border-width: $border-width !default;
  631. $pagination-border-color: $gray-300 !default;
  632. $pagination-focus-box-shadow: $input-btn-focus-box-shadow !default;
  633. $pagination-focus-outline: 0 !default;
  634. $pagination-hover-color: $link-hover-color !default;
  635. $pagination-hover-bg: $gray-200 !default;
  636. $pagination-hover-border-color: $gray-300 !default;
  637. $pagination-active-color: $component-active-color !default;
  638. $pagination-active-bg: $component-active-bg !default;
  639. $pagination-active-border-color: $pagination-active-bg !default;
  640. $pagination-disabled-color: $gray-600 !default;
  641. $pagination-disabled-bg: $white !default;
  642. $pagination-disabled-border-color: $gray-300 !default;
  643. // Jumbotron
  644. $jumbotron-padding: 2rem !default;
  645. $jumbotron-color: null !default;
  646. $jumbotron-bg: $gray-200 !default;
  647. // Cards
  648. $card-spacer-y: .75rem !default;
  649. $card-spacer-x: 1.25rem !default;
  650. $card-border-width: $border-width !default;
  651. $card-border-radius: $border-radius !default;
  652. $card-border-color: rgba($black, .125) !default;
  653. $card-inner-border-radius: subtract($card-border-radius, $card-border-width) !default;
  654. $card-cap-bg: rgba($black, .03) !default;
  655. $card-cap-color: null !default;
  656. $card-height: null !default;
  657. $card-color: null !default;
  658. $card-bg: $white !default;
  659. $card-img-overlay-padding: 1.25rem !default;
  660. $card-group-margin: $grid-gutter-width / 2 !default;
  661. $card-deck-margin: $card-group-margin !default;
  662. $card-columns-count: 3 !default;
  663. $card-columns-gap: 1.25rem !default;
  664. $card-columns-margin: $card-spacer-y !default;
  665. // Tooltips
  666. $tooltip-font-size: $font-size-sm !default;
  667. $tooltip-max-width: 200px !default;
  668. $tooltip-color: $white !default;
  669. $tooltip-bg: $black !default;
  670. $tooltip-border-radius: $border-radius !default;
  671. $tooltip-opacity: .9 !default;
  672. $tooltip-padding-y: .25rem !default;
  673. $tooltip-padding-x: .5rem !default;
  674. $tooltip-margin: 0 !default;
  675. $tooltip-arrow-width: .8rem !default;
  676. $tooltip-arrow-height: .4rem !default;
  677. $tooltip-arrow-color: $tooltip-bg !default;
  678. // Form tooltips must come after regular tooltips
  679. $form-feedback-tooltip-padding-y: $tooltip-padding-y !default;
  680. $form-feedback-tooltip-padding-x: $tooltip-padding-x !default;
  681. $form-feedback-tooltip-font-size: $tooltip-font-size !default;
  682. $form-feedback-tooltip-line-height: $line-height-base !default;
  683. $form-feedback-tooltip-opacity: $tooltip-opacity !default;
  684. $form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
  685. // Popovers
  686. $popover-font-size: $font-size-sm !default;
  687. $popover-bg: $white !default;
  688. $popover-max-width: 276px !default;
  689. $popover-border-width: $border-width !default;
  690. $popover-border-color: rgba($black, .2) !default;
  691. $popover-border-radius: $border-radius-lg !default;
  692. $popover-inner-border-radius: subtract($popover-border-radius, $popover-border-width) !default;
  693. $popover-box-shadow: 0 .25rem .5rem rgba($black, .2) !default;
  694. $popover-header-bg: darken($popover-bg, 3%) !default;
  695. $popover-header-color: $headings-color !default;
  696. $popover-header-padding-y: .5rem !default;
  697. $popover-header-padding-x: .75rem !default;
  698. $popover-body-color: $body-color !default;
  699. $popover-body-padding-y: $popover-header-padding-y !default;
  700. $popover-body-padding-x: $popover-header-padding-x !default;
  701. $popover-arrow-width: 1rem !default;
  702. $popover-arrow-height: .5rem !default;
  703. $popover-arrow-color: $popover-bg !default;
  704. $popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
  705. // Toasts
  706. $toast-max-width: 350px !default;
  707. $toast-padding-x: .75rem !default;
  708. $toast-padding-y: .25rem !default;
  709. $toast-font-size: .875rem !default;
  710. $toast-color: null !default;
  711. $toast-background-color: rgba($white, .85) !default;
  712. $toast-border-width: 1px !default;
  713. $toast-border-color: rgba(0, 0, 0, .1) !default;
  714. $toast-border-radius: .25rem !default;
  715. $toast-box-shadow: 0 .25rem .75rem rgba($black, .1) !default;
  716. $toast-header-color: $gray-600 !default;
  717. $toast-header-background-color: rgba($white, .85) !default;
  718. $toast-header-border-color: rgba(0, 0, 0, .05) !default;
  719. // Badges
  720. $badge-font-size: 75% !default;
  721. $badge-font-weight: $font-weight-bold !default;
  722. $badge-padding-y: .25em !default;
  723. $badge-padding-x: .4em !default;
  724. $badge-border-radius: $border-radius !default;
  725. $badge-transition: $btn-transition !default;
  726. $badge-focus-width: $input-btn-focus-width !default;
  727. $badge-pill-padding-x: .6em !default;
  728. // Use a higher than normal value to ensure completely rounded edges when
  729. // customizing padding or font-size on labels.
  730. $badge-pill-border-radius: 10rem !default;
  731. // Modals
  732. // Padding applied to the modal body
  733. $modal-inner-padding: 1rem !default;
  734. // Margin between elements in footer, must be lower than or equal to 2 * $modal-inner-padding
  735. $modal-footer-margin-between: .5rem !default;
  736. $modal-dialog-margin: .5rem !default;
  737. $modal-dialog-margin-y-sm-up: 1.75rem !default;
  738. $modal-title-line-height: $line-height-base !default;
  739. $modal-content-color: null !default;
  740. $modal-content-bg: $white !default;
  741. $modal-content-border-color: rgba($black, .2) !default;
  742. $modal-content-border-width: $border-width !default;
  743. $modal-content-border-radius: $border-radius-lg !default;
  744. $modal-content-inner-border-radius: subtract($modal-content-border-radius, $modal-content-border-width) !default;
  745. $modal-content-box-shadow-xs: 0 .25rem .5rem rgba($black, .5) !default;
  746. $modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default;
  747. $modal-backdrop-bg: $black !default;
  748. $modal-backdrop-opacity: .5 !default;
  749. $modal-header-border-color: $border-color !default;
  750. $modal-footer-border-color: $modal-header-border-color !default;
  751. $modal-header-border-width: $modal-content-border-width !default;
  752. $modal-footer-border-width: $modal-header-border-width !default;
  753. $modal-header-padding-y: 1rem !default;
  754. $modal-header-padding-x: 1rem !default;
  755. $modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
  756. $modal-xl: 1140px !default;
  757. $modal-lg: 800px !default;
  758. $modal-md: 500px !default;
  759. $modal-sm: 300px !default;
  760. $modal-fade-transform: translate(0, -50px) !default;
  761. $modal-show-transform: none !default;
  762. $modal-transition: transform .3s ease-out !default;
  763. $modal-scale-transform: scale(1.02) !default;
  764. // Alerts
  765. //
  766. // Define alert colors, border radius, and padding.
  767. $alert-padding-y: .75rem !default;
  768. $alert-padding-x: 1.25rem !default;
  769. $alert-margin-bottom: 1rem !default;
  770. $alert-border-radius: $border-radius !default;
  771. $alert-link-font-weight: $font-weight-bold !default;
  772. $alert-border-width: $border-width !default;
  773. $alert-bg-level: -10 !default;
  774. $alert-border-level: -9 !default;
  775. $alert-color-level: 6 !default;
  776. // Progress bars
  777. $progress-height: 1rem !default;
  778. $progress-font-size: $font-size-base * .75 !default;
  779. $progress-bg: $gray-200 !default;
  780. $progress-border-radius: $border-radius !default;
  781. $progress-box-shadow: inset 0 .1rem .1rem rgba($black, .1) !default;
  782. $progress-bar-color: $white !default;
  783. $progress-bar-bg: theme-color("primary") !default;
  784. $progress-bar-animation-timing: 1s linear infinite !default;
  785. $progress-bar-transition: width .6s ease !default;
  786. // List group
  787. $list-group-color: null !default;
  788. $list-group-bg: $white !default;
  789. $list-group-border-color: rgba($black, .125) !default;
  790. $list-group-border-width: $border-width !default;
  791. $list-group-border-radius: $border-radius !default;
  792. $list-group-item-padding-y: .75rem !default;
  793. $list-group-item-padding-x: 1.25rem !default;
  794. $list-group-hover-bg: $gray-100 !default;
  795. $list-group-active-color: $component-active-color !default;
  796. $list-group-active-bg: $component-active-bg !default;
  797. $list-group-active-border-color: $list-group-active-bg !default;
  798. $list-group-disabled-color: $gray-600 !default;
  799. $list-group-disabled-bg: $list-group-bg !default;
  800. $list-group-action-color: $gray-700 !default;
  801. $list-group-action-hover-color: $list-group-action-color !default;
  802. $list-group-action-active-color: $body-color !default;
  803. $list-group-action-active-bg: $gray-200 !default;
  804. // Image thumbnails
  805. $thumbnail-padding: .25rem !default;
  806. $thumbnail-bg: $body-bg !default;
  807. $thumbnail-border-width: $border-width !default;
  808. $thumbnail-border-color: $gray-300 !default;
  809. $thumbnail-border-radius: $border-radius !default;
  810. $thumbnail-box-shadow: 0 1px 2px rgba($black, .075) !default;
  811. // Figures
  812. $figure-caption-font-size: 90% !default;
  813. $figure-caption-color: $gray-600 !default;
  814. // Breadcrumbs
  815. $breadcrumb-font-size: null !default;
  816. $breadcrumb-padding-y: .75rem !default;
  817. $breadcrumb-padding-x: 1rem !default;
  818. $breadcrumb-item-padding: .5rem !default;
  819. $breadcrumb-margin-bottom: 1rem !default;
  820. $breadcrumb-bg: $gray-200 !default;
  821. $breadcrumb-divider-color: $gray-600 !default;
  822. $breadcrumb-active-color: $gray-600 !default;
  823. $breadcrumb-divider: quote("/") !default;
  824. $breadcrumb-border-radius: $border-radius !default;
  825. // Carousel
  826. $carousel-control-color: $white !default;
  827. $carousel-control-width: 15% !default;
  828. $carousel-control-opacity: .5 !default;
  829. $carousel-control-hover-opacity: .9 !default;
  830. $carousel-control-transition: opacity .15s ease !default;
  831. $carousel-indicator-width: 30px !default;
  832. $carousel-indicator-height: 3px !default;
  833. $carousel-indicator-hit-area-height: 10px !default;
  834. $carousel-indicator-spacer: 3px !default;
  835. $carousel-indicator-active-bg: $white !default;
  836. $carousel-indicator-transition: opacity .6s ease !default;
  837. $carousel-caption-width: 70% !default;
  838. $carousel-caption-color: $white !default;
  839. $carousel-control-icon-width: 20px !default;
  840. $carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' width='8' height='8' viewBox='0 0 8 8'><path d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/></svg>") !default;
  841. $carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' width='8' height='8' viewBox='0 0 8 8'><path d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/></svg>") !default;
  842. $carousel-transition-duration: .6s !default;
  843. $carousel-transition: transform $carousel-transition-duration ease-in-out !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)
  844. // Spinners
  845. $spinner-width: 2rem !default;
  846. $spinner-height: $spinner-width !default;
  847. $spinner-border-width: .25em !default;
  848. $spinner-width-sm: 1rem !default;
  849. $spinner-height-sm: $spinner-width-sm !default;
  850. $spinner-border-width-sm: .2em !default;
  851. // Close
  852. $close-font-size: $font-size-base * 1.5 !default;
  853. $close-font-weight: $font-weight-bold !default;
  854. $close-color: $black !default;
  855. $close-text-shadow: 0 1px 0 $white !default;
  856. // Code
  857. $code-font-size: 87.5% !default;
  858. $code-color: $pink !default;
  859. $kbd-padding-y: .2rem !default;
  860. $kbd-padding-x: .4rem !default;
  861. $kbd-font-size: $code-font-size !default;
  862. $kbd-color: $white !default;
  863. $kbd-bg: $gray-900 !default;
  864. $pre-color: $gray-900 !default;
  865. $pre-scrollable-max-height: 340px !default;
  866. // Utilities
  867. $displays: none, inline, inline-block, block, table, table-row, table-cell, flex, inline-flex !default;
  868. $overflows: auto, hidden !default;
  869. $positions: static, relative, absolute, fixed, sticky !default;
  870. // Printing
  871. $print-page-size: a3 !default;
  872. $print-body-min-width: map-get($grid-breakpoints, "lg") !default;