_variables.scss 47 KB

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