You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1641 lines
66 KiB

  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. // scss-docs-start gray-color-variables
  7. $white: #fff !default;
  8. $gray-100: #f8f9fa !default;
  9. $gray-200: #e9ecef !default;
  10. $gray-300: #dee2e6 !default;
  11. $gray-400: #ced4da !default;
  12. $gray-500: #adb5bd !default;
  13. $gray-600: #6c757d !default;
  14. $gray-700: #495057 !default;
  15. $gray-800: #343a40 !default;
  16. $gray-900: #212529 !default;
  17. $black: #000 !default;
  18. // scss-docs-end gray-color-variables
  19. // fusv-disable
  20. // scss-docs-start gray-colors-map
  21. $grays: (
  22. "100": $gray-100,
  23. "200": $gray-200,
  24. "300": $gray-300,
  25. "400": $gray-400,
  26. "500": $gray-500,
  27. "600": $gray-600,
  28. "700": $gray-700,
  29. "800": $gray-800,
  30. "900": $gray-900
  31. ) !default;
  32. // scss-docs-end gray-colors-map
  33. // fusv-enable
  34. // scss-docs-start color-variables
  35. $blue: #0d6efd !default;
  36. $indigo: #6610f2 !default;
  37. $purple: #6f42c1 !default;
  38. $pink: #d63384 !default;
  39. $red: #dc3545 !default;
  40. $orange: #fd7e14 !default;
  41. $yellow: #ffc107 !default;
  42. $green: #198754 !default;
  43. $teal: #20c997 !default;
  44. $cyan: #0dcaf0 !default;
  45. // scss-docs-end color-variables
  46. // scss-docs-start colors-map
  47. $colors: (
  48. "blue": $blue,
  49. "indigo": $indigo,
  50. "purple": $purple,
  51. "pink": $pink,
  52. "red": $red,
  53. "orange": $orange,
  54. "yellow": $yellow,
  55. "green": $green,
  56. "teal": $teal,
  57. "cyan": $cyan,
  58. "white": $white,
  59. "gray": $gray-600,
  60. "gray-dark": $gray-800
  61. ) !default;
  62. // scss-docs-end colors-map
  63. // scss-docs-start theme-color-variables
  64. $primary: $blue !default;
  65. $secondary: $gray-600 !default;
  66. $success: $green !default;
  67. $info: $cyan !default;
  68. $warning: $yellow !default;
  69. $danger: $red !default;
  70. $light: $gray-100 !default;
  71. $dark: $gray-900 !default;
  72. // scss-docs-end theme-color-variables
  73. // scss-docs-start theme-colors-map
  74. $theme-colors: (
  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. ) !default;
  84. // scss-docs-end theme-colors-map
  85. // scss-docs-start theme-colors-rgb
  86. $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default;
  87. // scss-docs-end theme-colors-rgb
  88. // The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
  89. // See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
  90. $min-contrast-ratio: 4.5 !default;
  91. // Customize the light and dark text colors for use in our color contrast function.
  92. $color-contrast-dark: $black !default;
  93. $color-contrast-light: $white !default;
  94. // fusv-disable
  95. $blue-100: tint-color($blue, 80%) !default;
  96. $blue-200: tint-color($blue, 60%) !default;
  97. $blue-300: tint-color($blue, 40%) !default;
  98. $blue-400: tint-color($blue, 20%) !default;
  99. $blue-500: $blue !default;
  100. $blue-600: shade-color($blue, 20%) !default;
  101. $blue-700: shade-color($blue, 40%) !default;
  102. $blue-800: shade-color($blue, 60%) !default;
  103. $blue-900: shade-color($blue, 80%) !default;
  104. $indigo-100: tint-color($indigo, 80%) !default;
  105. $indigo-200: tint-color($indigo, 60%) !default;
  106. $indigo-300: tint-color($indigo, 40%) !default;
  107. $indigo-400: tint-color($indigo, 20%) !default;
  108. $indigo-500: $indigo !default;
  109. $indigo-600: shade-color($indigo, 20%) !default;
  110. $indigo-700: shade-color($indigo, 40%) !default;
  111. $indigo-800: shade-color($indigo, 60%) !default;
  112. $indigo-900: shade-color($indigo, 80%) !default;
  113. $purple-100: tint-color($purple, 80%) !default;
  114. $purple-200: tint-color($purple, 60%) !default;
  115. $purple-300: tint-color($purple, 40%) !default;
  116. $purple-400: tint-color($purple, 20%) !default;
  117. $purple-500: $purple !default;
  118. $purple-600: shade-color($purple, 20%) !default;
  119. $purple-700: shade-color($purple, 40%) !default;
  120. $purple-800: shade-color($purple, 60%) !default;
  121. $purple-900: shade-color($purple, 80%) !default;
  122. $pink-100: tint-color($pink, 80%) !default;
  123. $pink-200: tint-color($pink, 60%) !default;
  124. $pink-300: tint-color($pink, 40%) !default;
  125. $pink-400: tint-color($pink, 20%) !default;
  126. $pink-500: $pink !default;
  127. $pink-600: shade-color($pink, 20%) !default;
  128. $pink-700: shade-color($pink, 40%) !default;
  129. $pink-800: shade-color($pink, 60%) !default;
  130. $pink-900: shade-color($pink, 80%) !default;
  131. $red-100: tint-color($red, 80%) !default;
  132. $red-200: tint-color($red, 60%) !default;
  133. $red-300: tint-color($red, 40%) !default;
  134. $red-400: tint-color($red, 20%) !default;
  135. $red-500: $red !default;
  136. $red-600: shade-color($red, 20%) !default;
  137. $red-700: shade-color($red, 40%) !default;
  138. $red-800: shade-color($red, 60%) !default;
  139. $red-900: shade-color($red, 80%) !default;
  140. $orange-100: tint-color($orange, 80%) !default;
  141. $orange-200: tint-color($orange, 60%) !default;
  142. $orange-300: tint-color($orange, 40%) !default;
  143. $orange-400: tint-color($orange, 20%) !default;
  144. $orange-500: $orange !default;
  145. $orange-600: shade-color($orange, 20%) !default;
  146. $orange-700: shade-color($orange, 40%) !default;
  147. $orange-800: shade-color($orange, 60%) !default;
  148. $orange-900: shade-color($orange, 80%) !default;
  149. $yellow-100: tint-color($yellow, 80%) !default;
  150. $yellow-200: tint-color($yellow, 60%) !default;
  151. $yellow-300: tint-color($yellow, 40%) !default;
  152. $yellow-400: tint-color($yellow, 20%) !default;
  153. $yellow-500: $yellow !default;
  154. $yellow-600: shade-color($yellow, 20%) !default;
  155. $yellow-700: shade-color($yellow, 40%) !default;
  156. $yellow-800: shade-color($yellow, 60%) !default;
  157. $yellow-900: shade-color($yellow, 80%) !default;
  158. $green-100: tint-color($green, 80%) !default;
  159. $green-200: tint-color($green, 60%) !default;
  160. $green-300: tint-color($green, 40%) !default;
  161. $green-400: tint-color($green, 20%) !default;
  162. $green-500: $green !default;
  163. $green-600: shade-color($green, 20%) !default;
  164. $green-700: shade-color($green, 40%) !default;
  165. $green-800: shade-color($green, 60%) !default;
  166. $green-900: shade-color($green, 80%) !default;
  167. $teal-100: tint-color($teal, 80%) !default;
  168. $teal-200: tint-color($teal, 60%) !default;
  169. $teal-300: tint-color($teal, 40%) !default;
  170. $teal-400: tint-color($teal, 20%) !default;
  171. $teal-500: $teal !default;
  172. $teal-600: shade-color($teal, 20%) !default;
  173. $teal-700: shade-color($teal, 40%) !default;
  174. $teal-800: shade-color($teal, 60%) !default;
  175. $teal-900: shade-color($teal, 80%) !default;
  176. $cyan-100: tint-color($cyan, 80%) !default;
  177. $cyan-200: tint-color($cyan, 60%) !default;
  178. $cyan-300: tint-color($cyan, 40%) !default;
  179. $cyan-400: tint-color($cyan, 20%) !default;
  180. $cyan-500: $cyan !default;
  181. $cyan-600: shade-color($cyan, 20%) !default;
  182. $cyan-700: shade-color($cyan, 40%) !default;
  183. $cyan-800: shade-color($cyan, 60%) !default;
  184. $cyan-900: shade-color($cyan, 80%) !default;
  185. $blues: (
  186. "blue-100": $blue-100,
  187. "blue-200": $blue-200,
  188. "blue-300": $blue-300,
  189. "blue-400": $blue-400,
  190. "blue-500": $blue-500,
  191. "blue-600": $blue-600,
  192. "blue-700": $blue-700,
  193. "blue-800": $blue-800,
  194. "blue-900": $blue-900
  195. ) !default;
  196. $indigos: (
  197. "indigo-100": $indigo-100,
  198. "indigo-200": $indigo-200,
  199. "indigo-300": $indigo-300,
  200. "indigo-400": $indigo-400,
  201. "indigo-500": $indigo-500,
  202. "indigo-600": $indigo-600,
  203. "indigo-700": $indigo-700,
  204. "indigo-800": $indigo-800,
  205. "indigo-900": $indigo-900
  206. ) !default;
  207. $purples: (
  208. "purple-100": $purple-200,
  209. "purple-200": $purple-100,
  210. "purple-300": $purple-300,
  211. "purple-400": $purple-400,
  212. "purple-500": $purple-500,
  213. "purple-600": $purple-600,
  214. "purple-700": $purple-700,
  215. "purple-800": $purple-800,
  216. "purple-900": $purple-900
  217. ) !default;
  218. $pinks: (
  219. "pink-100": $pink-100,
  220. "pink-200": $pink-200,
  221. "pink-300": $pink-300,
  222. "pink-400": $pink-400,
  223. "pink-500": $pink-500,
  224. "pink-600": $pink-600,
  225. "pink-700": $pink-700,
  226. "pink-800": $pink-800,
  227. "pink-900": $pink-900
  228. ) !default;
  229. $reds: (
  230. "red-100": $red-100,
  231. "red-200": $red-200,
  232. "red-300": $red-300,
  233. "red-400": $red-400,
  234. "red-500": $red-500,
  235. "red-600": $red-600,
  236. "red-700": $red-700,
  237. "red-800": $red-800,
  238. "red-900": $red-900
  239. ) !default;
  240. $oranges: (
  241. "orange-100": $orange-100,
  242. "orange-200": $orange-200,
  243. "orange-300": $orange-300,
  244. "orange-400": $orange-400,
  245. "orange-500": $orange-500,
  246. "orange-600": $orange-600,
  247. "orange-700": $orange-700,
  248. "orange-800": $orange-800,
  249. "orange-900": $orange-900
  250. ) !default;
  251. $yellows: (
  252. "yellow-100": $yellow-100,
  253. "yellow-200": $yellow-200,
  254. "yellow-300": $yellow-300,
  255. "yellow-400": $yellow-400,
  256. "yellow-500": $yellow-500,
  257. "yellow-600": $yellow-600,
  258. "yellow-700": $yellow-700,
  259. "yellow-800": $yellow-800,
  260. "yellow-900": $yellow-900
  261. ) !default;
  262. $greens: (
  263. "green-100": $green-100,
  264. "green-200": $green-200,
  265. "green-300": $green-300,
  266. "green-400": $green-400,
  267. "green-500": $green-500,
  268. "green-600": $green-600,
  269. "green-700": $green-700,
  270. "green-800": $green-800,
  271. "green-900": $green-900
  272. ) !default;
  273. $teals: (
  274. "teal-100": $teal-100,
  275. "teal-200": $teal-200,
  276. "teal-300": $teal-300,
  277. "teal-400": $teal-400,
  278. "teal-500": $teal-500,
  279. "teal-600": $teal-600,
  280. "teal-700": $teal-700,
  281. "teal-800": $teal-800,
  282. "teal-900": $teal-900
  283. ) !default;
  284. $cyans: (
  285. "cyan-100": $cyan-100,
  286. "cyan-200": $cyan-200,
  287. "cyan-300": $cyan-300,
  288. "cyan-400": $cyan-400,
  289. "cyan-500": $cyan-500,
  290. "cyan-600": $cyan-600,
  291. "cyan-700": $cyan-700,
  292. "cyan-800": $cyan-800,
  293. "cyan-900": $cyan-900
  294. ) !default;
  295. // fusv-enable
  296. // Characters which are escaped by the escape-svg function
  297. $escaped-characters: (
  298. ("<", "%3c"),
  299. (">", "%3e"),
  300. ("#", "%23"),
  301. ("(", "%28"),
  302. (")", "%29"),
  303. ) !default;
  304. // Options
  305. //
  306. // Quickly modify global styling by enabling or disabling optional features.
  307. $enable-caret: true !default;
  308. $enable-rounded: true !default;
  309. $enable-shadows: false !default;
  310. $enable-gradients: false !default;
  311. $enable-transitions: true !default;
  312. $enable-reduced-motion: true !default;
  313. $enable-smooth-scroll: true !default;
  314. $enable-grid-classes: true !default;
  315. $enable-cssgrid: false !default;
  316. $enable-button-pointers: true !default;
  317. $enable-rfs: true !default;
  318. $enable-validation-icons: true !default;
  319. $enable-negative-margins: false !default;
  320. $enable-deprecation-messages: true !default;
  321. $enable-important-utilities: true !default;
  322. // Prefix for :root CSS variables
  323. $variable-prefix: bs- !default;
  324. // Gradient
  325. //
  326. // The gradient which is added to components if `$enable-gradients` is `true`
  327. // This gradient is also added to elements with `.bg-gradient`
  328. // scss-docs-start variable-gradient
  329. $gradient: linear-gradient(180deg, rgba($white, .15), rgba($white, 0)) !default;
  330. // scss-docs-end variable-gradient
  331. // Spacing
  332. //
  333. // Control the default styling of most Bootstrap elements by modifying these
  334. // variables. Mostly focused on spacing.
  335. // You can add more entries to the $spacers map, should you need more variation.
  336. // scss-docs-start spacer-variables-maps
  337. $spacer: 1rem !default;
  338. $spacers: (
  339. 0: 0,
  340. 1: $spacer * .25,
  341. 2: $spacer * .5,
  342. 3: $spacer,
  343. 4: $spacer * 1.5,
  344. 5: $spacer * 3,
  345. ) !default;
  346. $negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default;
  347. // scss-docs-end spacer-variables-maps
  348. // Position
  349. //
  350. // Define the edge positioning anchors of the position utilities.
  351. // scss-docs-start position-map
  352. $position-values: (
  353. 0: 0,
  354. 50: 50%,
  355. 100: 100%
  356. ) !default;
  357. // scss-docs-end position-map
  358. // Body
  359. //
  360. // Settings for the `<body>` element.
  361. $body-bg: $white !default;
  362. $body-color: $gray-900 !default;
  363. $body-text-align: null !default;
  364. // Utilities maps
  365. //
  366. // Extends the default `$theme-colors` maps to help create our utilities.
  367. // Come v6, we'll de-dupe these variables. Until then, for backward compatibility, we keep them to reassign.
  368. // scss-docs-start utilities-colors
  369. $utilities-colors: $theme-colors-rgb !default;
  370. // scss-docs-end utilities-colors
  371. // scss-docs-start utilities-text-colors
  372. $utilities-text: map-merge(
  373. $utilities-colors,
  374. (
  375. "black": to-rgb($black),
  376. "white": to-rgb($white),
  377. "body": to-rgb($body-color)
  378. )
  379. ) !default;
  380. $utilities-text-colors: map-loop($utilities-text, rgba-css-var, "$key", "text") !default;
  381. // scss-docs-end utilities-text-colors
  382. // scss-docs-start utilities-bg-colors
  383. $utilities-bg: map-merge(
  384. $utilities-colors,
  385. (
  386. "black": to-rgb($black),
  387. "white": to-rgb($white),
  388. "body": to-rgb($body-bg)
  389. )
  390. ) !default;
  391. $utilities-bg-colors: map-loop($utilities-bg, rgba-css-var, "$key", "bg") !default;
  392. // scss-docs-end utilities-bg-colors
  393. // Links
  394. //
  395. // Style anchor elements.
  396. $link-color: $primary !default;
  397. $link-decoration: underline !default;
  398. $link-shade-percentage: 20% !default;
  399. $link-hover-color: shift-color($link-color, $link-shade-percentage) !default;
  400. $link-hover-decoration: null !default;
  401. $stretched-link-pseudo-element: after !default;
  402. $stretched-link-z-index: 1 !default;
  403. // Paragraphs
  404. //
  405. // Style p element.
  406. $paragraph-margin-bottom: 1rem !default;
  407. // Grid breakpoints
  408. //
  409. // Define the minimum dimensions at which your layout will change,
  410. // adapting to different screen sizes, for use in media queries.
  411. // scss-docs-start grid-breakpoints
  412. $grid-breakpoints: (
  413. xs: 0,
  414. sm: 576px,
  415. md: 768px,
  416. lg: 992px,
  417. xl: 1200px,
  418. xxl: 1400px
  419. ) !default;
  420. // scss-docs-end grid-breakpoints
  421. @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
  422. @include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints");
  423. // Grid containers
  424. //
  425. // Define the maximum width of `.container` for different screen sizes.
  426. // scss-docs-start container-max-widths
  427. $container-max-widths: (
  428. sm: 540px,
  429. md: 720px,
  430. lg: 960px,
  431. xl: 1140px,
  432. xxl: 1320px
  433. ) !default;
  434. // scss-docs-end container-max-widths
  435. @include _assert-ascending($container-max-widths, "$container-max-widths");
  436. // Grid columns
  437. //
  438. // Set the number of columns and specify the width of the gutters.
  439. $grid-columns: 12 !default;
  440. $grid-gutter-width: 1.5rem !default;
  441. $grid-row-columns: 6 !default;
  442. $gutters: $spacers !default;
  443. // Container padding
  444. $container-padding-x: $grid-gutter-width * .5 !default;
  445. // Components
  446. //
  447. // Define common padding and border radius sizes and more.
  448. // scss-docs-start border-variables
  449. $border-width: 1px !default;
  450. $border-widths: (
  451. 1: 1px,
  452. 2: 2px,
  453. 3: 3px,
  454. 4: 4px,
  455. 5: 5px
  456. ) !default;
  457. $border-color: $gray-300 !default;
  458. // scss-docs-end border-variables
  459. // scss-docs-start border-radius-variables
  460. $border-radius: .25rem !default;
  461. $border-radius-sm: .2rem !default;
  462. $border-radius-lg: .3rem !default;
  463. $border-radius-pill: 50rem !default;
  464. // scss-docs-end border-radius-variables
  465. // scss-docs-start box-shadow-variables
  466. $box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
  467. $box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
  468. $box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
  469. $box-shadow-inset: inset 0 1px 2px rgba($black, .075) !default;
  470. // scss-docs-end box-shadow-variables
  471. $component-active-color: $white !default;
  472. $component-active-bg: $primary !default;
  473. // scss-docs-start caret-variables
  474. $caret-width: .3em !default;
  475. $caret-vertical-align: $caret-width * .85 !default;
  476. $caret-spacing: $caret-width * .85 !default;
  477. // scss-docs-end caret-variables
  478. $transition-base: all .2s ease-in-out !default;
  479. $transition-fade: opacity .15s linear !default;
  480. // scss-docs-start collapse-transition
  481. $transition-collapse: height .35s ease !default;
  482. $transition-collapse-width: width .35s ease !default;
  483. // scss-docs-end collapse-transition
  484. // stylelint-disable function-disallowed-list
  485. // scss-docs-start aspect-ratios
  486. $aspect-ratios: (
  487. "1x1": 100%,
  488. "4x3": calc(3 / 4 * 100%),
  489. "16x9": calc(9 / 16 * 100%),
  490. "21x9": calc(9 / 21 * 100%)
  491. ) !default;
  492. // scss-docs-end aspect-ratios
  493. // stylelint-enable function-disallowed-list
  494. // Typography
  495. //
  496. // Font, line-height, and color for body text, headings, and more.
  497. // scss-docs-start font-variables
  498. // stylelint-disable value-keyword-case
  499. $font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
  500. $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
  501. // stylelint-enable value-keyword-case
  502. $font-family-base: var(--#{$variable-prefix}font-sans-serif) !default;
  503. $font-family-code: var(--#{$variable-prefix}font-monospace) !default;
  504. // $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
  505. // $font-size-base affects the font size of the body text
  506. $font-size-root: null !default;
  507. $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
  508. $font-size-sm: $font-size-base * .875 !default;
  509. $font-size-lg: $font-size-base * 1.25 !default;
  510. $font-weight-lighter: lighter !default;
  511. $font-weight-light: 300 !default;
  512. $font-weight-normal: 400 !default;
  513. $font-weight-bold: 700 !default;
  514. $font-weight-bolder: bolder !default;
  515. $font-weight-base: $font-weight-normal !default;
  516. $line-height-base: 1.5 !default;
  517. $line-height-sm: 1.25 !default;
  518. $line-height-lg: 2 !default;
  519. $h1-font-size: $font-size-base * 2.5 !default;
  520. $h2-font-size: $font-size-base * 2 !default;
  521. $h3-font-size: $font-size-base * 1.75 !default;
  522. $h4-font-size: $font-size-base * 1.5 !default;
  523. $h5-font-size: $font-size-base * 1.25 !default;
  524. $h6-font-size: $font-size-base !default;
  525. // scss-docs-end font-variables
  526. // scss-docs-start font-sizes
  527. $font-sizes: (
  528. 1: $h1-font-size,
  529. 2: $h2-font-size,
  530. 3: $h3-font-size,
  531. 4: $h4-font-size,
  532. 5: $h5-font-size,
  533. 6: $h6-font-size
  534. ) !default;
  535. // scss-docs-end font-sizes
  536. // scss-docs-start headings-variables
  537. $headings-margin-bottom: $spacer * .5 !default;
  538. $headings-font-family: null !default;
  539. $headings-font-style: null !default;
  540. $headings-font-weight: 500 !default;
  541. $headings-line-height: 1.2 !default;
  542. $headings-color: null !default;
  543. // scss-docs-end headings-variables
  544. // scss-docs-start display-headings
  545. $display-font-sizes: (
  546. 1: 5rem,
  547. 2: 4.5rem,
  548. 3: 4rem,
  549. 4: 3.5rem,
  550. 5: 3rem,
  551. 6: 2.5rem
  552. ) !default;
  553. $display-font-weight: 300 !default;
  554. $display-line-height: $headings-line-height !default;
  555. // scss-docs-end display-headings
  556. // scss-docs-start type-variables
  557. $lead-font-size: $font-size-base * 1.25 !default;
  558. $lead-font-weight: 300 !default;
  559. $small-font-size: .875em !default;
  560. $sub-sup-font-size: .75em !default;
  561. $text-muted: $gray-600 !default;
  562. $initialism-font-size: $small-font-size !default;
  563. $blockquote-margin-y: $spacer !default;
  564. $blockquote-font-size: $font-size-base * 1.25 !default;
  565. $blockquote-footer-color: $gray-600 !default;
  566. $blockquote-footer-font-size: $small-font-size !default;
  567. $hr-margin-y: $spacer !default;
  568. $hr-color: inherit !default;
  569. $hr-height: $border-width !default;
  570. $hr-opacity: .25 !default;
  571. $legend-margin-bottom: .5rem !default;
  572. $legend-font-size: 1.5rem !default;
  573. $legend-font-weight: null !default;
  574. $mark-padding: .2em !default;
  575. $dt-font-weight: $font-weight-bold !default;
  576. $nested-kbd-font-weight: $font-weight-bold !default;
  577. $list-inline-padding: .5rem !default;
  578. $mark-bg: #fcf8e3 !default;
  579. // scss-docs-end type-variables
  580. // Tables
  581. //
  582. // Customizes the `.table` component with basic values, each used across all table variations.
  583. // scss-docs-start table-variables
  584. $table-cell-padding-y: .5rem !default;
  585. $table-cell-padding-x: .5rem !default;
  586. $table-cell-padding-y-sm: .25rem !default;
  587. $table-cell-padding-x-sm: .25rem !default;
  588. $table-cell-vertical-align: top !default;
  589. $table-color: $body-color !default;
  590. $table-bg: transparent !default;
  591. $table-accent-bg: transparent !default;
  592. $table-th-font-weight: null !default;
  593. $table-striped-color: $table-color !default;
  594. $table-striped-bg-factor: .05 !default;
  595. $table-striped-bg: rgba($black, $table-striped-bg-factor) !default;
  596. $table-active-color: $table-color !default;
  597. $table-active-bg-factor: .1 !default;
  598. $table-active-bg: rgba($black, $table-active-bg-factor) !default;
  599. $table-hover-color: $table-color !default;
  600. $table-hover-bg-factor: .075 !default;
  601. $table-hover-bg: rgba($black, $table-hover-bg-factor) !default;
  602. $table-border-factor: .1 !default;
  603. $table-border-width: $border-width !default;
  604. $table-border-color: $border-color !default;
  605. $table-striped-order: odd !default;
  606. $table-group-separator-color: currentColor !default;
  607. $table-caption-color: $text-muted !default;
  608. $table-bg-scale: -80% !default;
  609. // scss-docs-end table-variables
  610. // scss-docs-start table-loop
  611. $table-variants: (
  612. "primary": shift-color($primary, $table-bg-scale),
  613. "secondary": shift-color($secondary, $table-bg-scale),
  614. "success": shift-color($success, $table-bg-scale),
  615. "info": shift-color($info, $table-bg-scale),
  616. "warning": shift-color($warning, $table-bg-scale),
  617. "danger": shift-color($danger, $table-bg-scale),
  618. "light": $light,
  619. "dark": $dark,
  620. ) !default;
  621. // scss-docs-end table-loop
  622. // Buttons + Forms
  623. //
  624. // Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
  625. // scss-docs-start input-btn-variables
  626. $input-btn-padding-y: .375rem !default;
  627. $input-btn-padding-x: .75rem !default;
  628. $input-btn-font-family: null !default;
  629. $input-btn-font-size: $font-size-base !default;
  630. $input-btn-line-height: $line-height-base !default;
  631. $input-btn-focus-width: .25rem !default;
  632. $input-btn-focus-color-opacity: .25 !default;
  633. $input-btn-focus-color: rgba($component-active-bg, $input-btn-focus-color-opacity) !default;
  634. $input-btn-focus-blur: 0 !default;
  635. $input-btn-focus-box-shadow: 0 0 $input-btn-focus-blur $input-btn-focus-width $input-btn-focus-color !default;
  636. $input-btn-padding-y-sm: .25rem !default;
  637. $input-btn-padding-x-sm: .5rem !default;
  638. $input-btn-font-size-sm: $font-size-sm !default;
  639. $input-btn-padding-y-lg: .5rem !default;
  640. $input-btn-padding-x-lg: 1rem !default;
  641. $input-btn-font-size-lg: $font-size-lg !default;
  642. $input-btn-border-width: $border-width !default;
  643. // scss-docs-end input-btn-variables
  644. // Buttons
  645. //
  646. // For each of Bootstrap's buttons, define text, background, and border color.
  647. // scss-docs-start btn-variables
  648. $btn-padding-y: $input-btn-padding-y !default;
  649. $btn-padding-x: $input-btn-padding-x !default;
  650. $btn-font-family: $input-btn-font-family !default;
  651. $btn-font-size: $input-btn-font-size !default;
  652. $btn-line-height: $input-btn-line-height !default;
  653. $btn-white-space: null !default; // Set to `nowrap` to prevent text wrapping
  654. $btn-padding-y-sm: $input-btn-padding-y-sm !default;
  655. $btn-padding-x-sm: $input-btn-padding-x-sm !default;
  656. $btn-font-size-sm: $input-btn-font-size-sm !default;
  657. $btn-padding-y-lg: $input-btn-padding-y-lg !default;
  658. $btn-padding-x-lg: $input-btn-padding-x-lg !default;
  659. $btn-font-size-lg: $input-btn-font-size-lg !default;
  660. $btn-border-width: $input-btn-border-width !default;
  661. $btn-font-weight: $font-weight-normal !default;
  662. $btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;
  663. $btn-focus-width: $input-btn-focus-width !default;
  664. $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
  665. $btn-disabled-opacity: .65 !default;
  666. $btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
  667. $btn-link-color: $link-color !default;
  668. $btn-link-hover-color: $link-hover-color !default;
  669. $btn-link-disabled-color: $gray-600 !default;
  670. // Allows for customizing button radius independently from global border radius
  671. $btn-border-radius: $border-radius !default;
  672. $btn-border-radius-sm: $border-radius-sm !default;
  673. $btn-border-radius-lg: $border-radius-lg !default;
  674. $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;
  675. $btn-hover-bg-shade-amount: 15% !default;
  676. $btn-hover-bg-tint-amount: 15% !default;
  677. $btn-hover-border-shade-amount: 20% !default;
  678. $btn-hover-border-tint-amount: 10% !default;
  679. $btn-active-bg-shade-amount: 20% !default;
  680. $btn-active-bg-tint-amount: 20% !default;
  681. $btn-active-border-shade-amount: 25% !default;
  682. $btn-active-border-tint-amount: 10% !default;
  683. // scss-docs-end btn-variables
  684. // Forms
  685. // scss-docs-start form-text-variables
  686. $form-text-margin-top: .25rem !default;
  687. $form-text-font-size: $small-font-size !default;
  688. $form-text-font-style: null !default;
  689. $form-text-font-weight: null !default;
  690. $form-text-color: $text-muted !default;
  691. // scss-docs-end form-text-variables
  692. // scss-docs-start form-label-variables
  693. $form-label-margin-bottom: .5rem !default;
  694. $form-label-font-size: null !default;
  695. $form-label-font-style: null !default;
  696. $form-label-font-weight: null !default;
  697. $form-label-color: null !default;
  698. // scss-docs-end form-label-variables
  699. // scss-docs-start form-input-variables
  700. $input-padding-y: $input-btn-padding-y !default;
  701. $input-padding-x: $input-btn-padding-x !default;
  702. $input-font-family: $input-btn-font-family !default;
  703. $input-font-size: $input-btn-font-size !default;
  704. $input-font-weight: $font-weight-base !default;
  705. $input-line-height: $input-btn-line-height !default;
  706. $input-padding-y-sm: $input-btn-padding-y-sm !default;
  707. $input-padding-x-sm: $input-btn-padding-x-sm !default;
  708. $input-font-size-sm: $input-btn-font-size-sm !default;
  709. $input-padding-y-lg: $input-btn-padding-y-lg !default;
  710. $input-padding-x-lg: $input-btn-padding-x-lg !default;
  711. $input-font-size-lg: $input-btn-font-size-lg !default;
  712. $input-bg: $body-bg !default;
  713. $input-disabled-bg: $gray-200 !default;
  714. $input-disabled-border-color: null !default;
  715. $input-color: $body-color !default;
  716. $input-border-color: $gray-400 !default;
  717. $input-border-width: $input-btn-border-width !default;
  718. $input-box-shadow: $box-shadow-inset !default;
  719. $input-border-radius: $border-radius !default;
  720. $input-border-radius-sm: $border-radius-sm !default;
  721. $input-border-radius-lg: $border-radius-lg !default;
  722. $input-focus-bg: $input-bg !default;
  723. $input-focus-border-color: tint-color($component-active-bg, 50%) !default;
  724. $input-focus-color: $input-color !default;
  725. $input-focus-width: $input-btn-focus-width !default;
  726. $input-focus-box-shadow: $input-btn-focus-box-shadow !default;
  727. $input-placeholder-color: $gray-600 !default;
  728. $input-plaintext-color: $body-color !default;
  729. $input-height-border: $input-border-width * 2 !default;
  730. $input-height-inner: add($input-line-height * 1em, $input-padding-y * 2) !default;
  731. $input-height-inner-half: add($input-line-height * .5em, $input-padding-y) !default;
  732. $input-height-inner-quarter: add($input-line-height * .25em, $input-padding-y * .5) !default;
  733. $input-height: add($input-line-height * 1em, add($input-padding-y * 2, $input-height-border, false)) !default;
  734. $input-height-sm: add($input-line-height * 1em, add($input-padding-y-sm * 2, $input-height-border, false)) !default;
  735. $input-height-lg: add($input-line-height * 1em, add($input-padding-y-lg * 2, $input-height-border, false)) !default;
  736. $input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
  737. $form-color-width: 3rem !default;
  738. // scss-docs-end form-input-variables
  739. // scss-docs-start form-check-variables
  740. $form-check-input-width: 1em !default;
  741. $form-check-min-height: $font-size-base * $line-height-base !default;
  742. $form-check-padding-start: $form-check-input-width + .5em !default;
  743. $form-check-margin-bottom: .125rem !default;
  744. $form-check-label-color: null !default;
  745. $form-check-label-cursor: null !default;
  746. $form-check-transition: null !default;
  747. $form-check-input-active-filter: brightness(90%) !default;
  748. $form-check-input-bg: $input-bg !default;
  749. $form-check-input-border: 1px solid rgba($black, .25) !default;
  750. $form-check-input-border-radius: .25em !default;
  751. $form-check-radio-border-radius: 50% !default;
  752. $form-check-input-focus-border: $input-focus-border-color !default;
  753. $form-check-input-focus-box-shadow: $input-btn-focus-box-shadow !default;
  754. $form-check-input-checked-color: $component-active-color !default;
  755. $form-check-input-checked-bg-color: $component-active-bg !default;
  756. $form-check-input-checked-border-color: $form-check-input-checked-bg-color !default;
  757. $form-check-input-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-checked-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/></svg>") !default;
  758. $form-check-radio-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='2' fill='#{$form-check-input-checked-color}'/></svg>") !default;
  759. $form-check-input-indeterminate-color: $component-active-color !default;
  760. $form-check-input-indeterminate-bg-color: $component-active-bg !default;
  761. $form-check-input-indeterminate-border-color: $form-check-input-indeterminate-bg-color !default;
  762. $form-check-input-indeterminate-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-indeterminate-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/></svg>") !default;
  763. $form-check-input-disabled-opacity: .5 !default;
  764. $form-check-label-disabled-opacity: $form-check-input-disabled-opacity !default;
  765. $form-check-btn-check-disabled-opacity: $btn-disabled-opacity !default;
  766. $form-check-inline-margin-end: 1rem !default;
  767. // scss-docs-end form-check-variables
  768. // scss-docs-start form-switch-variables
  769. $form-switch-color: rgba($black, .25) !default;
  770. $form-switch-width: 2em !default;
  771. $form-switch-padding-start: $form-switch-width + .5em !default;
  772. $form-switch-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-color}'/></svg>") !default;
  773. $form-switch-border-radius: $form-switch-width !default;
  774. $form-switch-transition: background-position .15s ease-in-out !default;
  775. $form-switch-focus-color: $input-focus-border-color !default;
  776. $form-switch-focus-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-focus-color}'/></svg>") !default;
  777. $form-switch-checked-color: $component-active-color !default;
  778. $form-switch-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-checked-color}'/></svg>") !default;
  779. $form-switch-checked-bg-position: right center !default;
  780. // scss-docs-end form-switch-variables
  781. // scss-docs-start input-group-variables
  782. $input-group-addon-padding-y: $input-padding-y !default;
  783. $input-group-addon-padding-x: $input-padding-x !default;
  784. $input-group-addon-font-weight: $input-font-weight !default;
  785. $input-group-addon-color: $input-color !default;
  786. $input-group-addon-bg: $gray-200 !default;
  787. $input-group-addon-border-color: $input-border-color !default;
  788. // scss-docs-end input-group-variables
  789. // scss-docs-start form-select-variables
  790. $form-select-padding-y: $input-padding-y !default;
  791. $form-select-padding-x: $input-padding-x !default;
  792. $form-select-font-family: $input-font-family !default;
  793. $form-select-font-size: $input-font-size !default;
  794. $form-select-indicator-padding: $form-select-padding-x * 3 !default; // Extra padding for background-image
  795. $form-select-font-weight: $input-font-weight !default;
  796. $form-select-line-height: $input-line-height !default;
  797. $form-select-color: $input-color !default;
  798. $form-select-bg: $input-bg !default;
  799. $form-select-disabled-color: null !default;
  800. $form-select-disabled-bg: $gray-200 !default;
  801. $form-select-disabled-border-color: $input-disabled-border-color !default;
  802. $form-select-bg-position: right $form-select-padding-x center !default;
  803. $form-select-bg-size: 16px 12px !default; // In pixels because image dimensions
  804. $form-select-indicator-color: $gray-800 !default;
  805. $form-select-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>") !default;
  806. $form-select-feedback-icon-padding-end: $form-select-padding-x * 2.5 + $form-select-indicator-padding !default;
  807. $form-select-feedback-icon-position: center right $form-select-indicator-padding !default;
  808. $form-select-feedback-icon-size: $input-height-inner-half $input-height-inner-half !default;
  809. $form-select-border-width: $input-border-width !default;
  810. $form-select-border-color: $input-border-color !default;
  811. $form-select-border-radius: $input-border-radius !default;
  812. $form-select-box-shadow: $box-shadow-inset !default;
  813. $form-select-focus-border-color: $input-focus-border-color !default;
  814. $form-select-focus-width: $input-focus-width !default;
  815. $form-select-focus-box-shadow: 0 0 0 $form-select-focus-width $input-btn-focus-color !default;
  816. $form-select-padding-y-sm: $input-padding-y-sm !default;
  817. $form-select-padding-x-sm: $input-padding-x-sm !default;
  818. $form-select-font-size-sm: $input-font-size-sm !default;
  819. $form-select-border-radius-sm: $input-border-radius-sm !default;
  820. $form-select-padding-y-lg: $input-padding-y-lg !default;
  821. $form-select-padding-x-lg: $input-padding-x-lg !default;
  822. $form-select-font-size-lg: $input-font-size-lg !default;
  823. $form-select-border-radius-lg: $input-border-radius-lg !default;
  824. $form-select-transition: $input-transition !default;
  825. // scss-docs-end form-select-variables
  826. // scss-docs-start form-range-variables
  827. $form-range-track-width: 100% !default;
  828. $form-range-track-height: .5rem !default;
  829. $form-range-track-cursor: pointer !default;
  830. $form-range-track-bg: $gray-300 !default;
  831. $form-range-track-border-radius: 1rem !default;
  832. $form-range-track-box-shadow: $box-shadow-inset !default;
  833. $form-range-thumb-width: 1rem !default;
  834. $form-range-thumb-height: $form-range-thumb-width !default;
  835. $form-range-thumb-bg: $component-active-bg !default;
  836. $form-range-thumb-border: 0 !default;
  837. $form-range-thumb-border-radius: 1rem !default;
  838. $form-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
  839. $form-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
  840. $form-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in Edge
  841. $form-range-thumb-active-bg: tint-color($component-active-bg, 70%) !default;
  842. $form-range-thumb-disabled-bg: $gray-500 !default;
  843. $form-range-thumb-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
  844. // scss-docs-end form-range-variables
  845. // scss-docs-start form-file-variables
  846. $form-file-button-color: $input-color !default;
  847. $form-file-button-bg: $input-group-addon-bg !default;
  848. $form-file-button-hover-bg: shade-color($form-file-button-bg, 5%) !default;
  849. // scss-docs-end form-file-variables
  850. // scss-docs-start form-floating-variables
  851. $form-floating-height: add(3.5rem, $input-height-border) !default;
  852. $form-floating-line-height: 1.25 !default;
  853. $form-floating-padding-x: $input-padding-x !default;
  854. $form-floating-padding-y: 1rem !default;
  855. $form-floating-input-padding-t: 1.625rem !default;
  856. $form-floating-input-padding-b: .625rem !default;
  857. $form-floating-label-opacity: .65 !default;
  858. $form-floating-label-transform: scale(.85) translateY(-.5rem) translateX(.15rem) !default;
  859. $form-floating-transition: opacity .1s ease-in-out, transform .1s ease-in-out !default;
  860. // scss-docs-end form-floating-variables
  861. // Form validation
  862. // scss-docs-start form-feedback-variables
  863. $form-feedback-margin-top: $form-text-margin-top !default;
  864. $form-feedback-font-size: $form-text-font-size !default;
  865. $form-feedback-font-style: $form-text-font-style !default;
  866. $form-feedback-valid-color: $success !default;
  867. $form-feedback-invalid-color: $danger !default;
  868. $form-feedback-icon-valid-color: $form-feedback-valid-color !default;
  869. $form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' 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;
  870. $form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
  871. $form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}'><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;
  872. // scss-docs-end form-feedback-variables
  873. // scss-docs-start form-validation-states
  874. $form-validation-states: (
  875. "valid": (
  876. "color": $form-feedback-valid-color,
  877. "icon": $form-feedback-icon-valid
  878. ),
  879. "invalid": (
  880. "color": $form-feedback-invalid-color,
  881. "icon": $form-feedback-icon-invalid
  882. )
  883. ) !default;
  884. // scss-docs-end form-validation-states
  885. // Z-index master list
  886. //
  887. // Warning: Avoid customizing these values. They're used for a bird's eye view
  888. // of components dependent on the z-axis and are designed to all work together.
  889. // scss-docs-start zindex-stack
  890. $zindex-dropdown: 1000 !default;
  891. $zindex-sticky: 1020 !default;
  892. $zindex-fixed: 1030 !default;
  893. $zindex-offcanvas-backdrop: 1040 !default;
  894. $zindex-offcanvas: 1045 !default;
  895. $zindex-modal-backdrop: 1050 !default;
  896. $zindex-modal: 1055 !default;
  897. $zindex-popover: 1070 !default;
  898. $zindex-tooltip: 1080 !default;
  899. // scss-docs-end zindex-stack
  900. // Navs
  901. // scss-docs-start nav-variables
  902. $nav-link-padding-y: .5rem !default;
  903. $nav-link-padding-x: 1rem !default;
  904. $nav-link-font-size: null !default;
  905. $nav-link-font-weight: null !default;
  906. $nav-link-color: $link-color !default;
  907. $nav-link-hover-color: $link-hover-color !default;
  908. $nav-link-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out !default;
  909. $nav-link-disabled-color: $gray-600 !default;
  910. $nav-tabs-border-color: $gray-300 !default;
  911. $nav-tabs-border-width: $border-width !default;
  912. $nav-tabs-border-radius: $border-radius !default;
  913. $nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color !default;
  914. $nav-tabs-link-active-color: $gray-700 !default;
  915. $nav-tabs-link-active-bg: $body-bg !default;
  916. $nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg !default;
  917. $nav-pills-border-radius: $border-radius !default;
  918. $nav-pills-link-active-color: $component-active-color !default;
  919. $nav-pills-link-active-bg: $component-active-bg !default;
  920. // scss-docs-end nav-variables
  921. // Navbar
  922. // scss-docs-start navbar-variables
  923. $navbar-padding-y: $spacer * .5 !default;
  924. $navbar-padding-x: null !default;
  925. $navbar-nav-link-padding-x: .5rem !default;
  926. $navbar-brand-font-size: $font-size-lg !default;
  927. // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
  928. $nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default;
  929. $navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
  930. $navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) * .5 !default;
  931. $navbar-brand-margin-end: 1rem !default;
  932. $navbar-toggler-padding-y: .25rem !default;
  933. $navbar-toggler-padding-x: .75rem !default;
  934. $navbar-toggler-font-size: $font-size-lg !default;
  935. $navbar-toggler-border-radius: $btn-border-radius !default;
  936. $navbar-toggler-focus-width: $btn-focus-width !default;
  937. $navbar-toggler-transition: box-shadow .15s ease-in-out !default;
  938. // scss-docs-end navbar-variables
  939. // scss-docs-start navbar-theme-variables
  940. $navbar-dark-color: rgba($white, .55) !default;
  941. $navbar-dark-hover-color: rgba($white, .75) !default;
  942. $navbar-dark-active-color: $white !default;
  943. $navbar-dark-disabled-color: rgba($white, .25) !default;
  944. $navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' 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;
  945. $navbar-dark-toggler-border-color: rgba($white, .1) !default;
  946. $navbar-light-color: rgba($black, .55) !default;
  947. $navbar-light-hover-color: rgba($black, .7) !default;
  948. $navbar-light-active-color: rgba($black, .9) !default;
  949. $navbar-light-disabled-color: rgba($black, .3) !default;
  950. $navbar-light-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' 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;
  951. $navbar-light-toggler-border-color: rgba($black, .1) !default;
  952. $navbar-light-brand-color: $navbar-light-active-color !default;
  953. $navbar-light-brand-hover-color: $navbar-light-active-color !default;
  954. $navbar-dark-brand-color: $navbar-dark-active-color !default;
  955. $navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
  956. // scss-docs-end navbar-theme-variables
  957. // Dropdowns
  958. //
  959. // Dropdown menu container and contents.
  960. // scss-docs-start dropdown-variables
  961. $dropdown-min-width: 10rem !default;
  962. $dropdown-padding-x: 0 !default;
  963. $dropdown-padding-y: .5rem !default;
  964. $dropdown-spacer: .125rem !default;
  965. $dropdown-font-size: $font-size-base !default;
  966. $dropdown-color: $body-color !default;
  967. $dropdown-bg: $white !default;
  968. $dropdown-border-color: rgba($black, .15) !default;
  969. $dropdown-border-radius: $border-radius !default;
  970. $dropdown-border-width: $border-width !default;
  971. $dropdown-inner-border-radius: subtract($dropdown-border-radius, $dropdown-border-width) !default;
  972. $dropdown-divider-bg: $dropdown-border-color !default;
  973. $dropdown-divider-margin-y: $spacer * .5 !default;
  974. $dropdown-box-shadow: $box-shadow !default;
  975. $dropdown-link-color: $gray-900 !default;
  976. $dropdown-link-hover-color: shade-color($dropdown-link-color, 10%) !default;
  977. $dropdown-link-hover-bg: $gray-200 !default;
  978. $dropdown-link-active-color: $component-active-color !default;
  979. $dropdown-link-active-bg: $component-active-bg !default;
  980. $dropdown-link-disabled-color: $gray-500 !default;
  981. $dropdown-item-padding-y: $spacer * .25 !default;
  982. $dropdown-item-padding-x: $spacer !default;
  983. $dropdown-header-color: $gray-600 !default;
  984. $dropdown-header-padding: $dropdown-padding-y $dropdown-item-padding-x !default;
  985. // scss-docs-end dropdown-variables
  986. // scss-docs-start dropdown-dark-variables
  987. $dropdown-dark-color: $gray-300 !default;
  988. $dropdown-dark-bg: $gray-800 !default;
  989. $dropdown-dark-border-color: $dropdown-border-color !default;
  990. $dropdown-dark-divider-bg: $dropdown-divider-bg !default;
  991. $dropdown-dark-box-shadow: null !default;
  992. $dropdown-dark-link-color: $dropdown-dark-color !default;
  993. $dropdown-dark-link-hover-color: $white !default;
  994. $dropdown-dark-link-hover-bg: rgba($white, .15) !default;
  995. $dropdown-dark-link-active-color: $dropdown-link-active-color !default;
  996. $dropdown-dark-link-active-bg: $dropdown-link-active-bg !default;
  997. $dropdown-dark-link-disabled-color: $gray-500 !default;
  998. $dropdown-dark-header-color: $gray-500 !default;
  999. // scss-docs-end dropdown-dark-variables
  1000. // Pagination
  1001. // scss-docs-start pagination-variables
  1002. $pagination-padding-y: .375rem !default;
  1003. $pagination-padding-x: .75rem !default;
  1004. $pagination-padding-y-sm: .25rem !default;
  1005. $pagination-padding-x-sm: .5rem !default;
  1006. $pagination-padding-y-lg: .75rem !default;
  1007. $pagination-padding-x-lg: 1.5rem !default;
  1008. $pagination-color: $link-color !default;
  1009. $pagination-bg: $white !default;
  1010. $pagination-border-width: $border-width !default;
  1011. $pagination-border-radius: $border-radius !default;
  1012. $pagination-margin-start: -$pagination-border-width !default;
  1013. $pagination-border-color: $gray-300 !default;
  1014. $pagination-focus-color: $link-hover-color !default;
  1015. $pagination-focus-bg: $gray-200 !default;
  1016. $pagination-focus-box-shadow: $input-btn-focus-box-shadow !default;
  1017. $pagination-focus-outline: 0 !default;
  1018. $pagination-hover-color: $link-hover-color !default;
  1019. $pagination-hover-bg: $gray-200 !default;
  1020. $pagination-hover-border-color: $gray-300 !default;
  1021. $pagination-active-color: $component-active-color !default;
  1022. $pagination-active-bg: $component-active-bg !default;
  1023. $pagination-active-border-color: $pagination-active-bg !default;
  1024. $pagination-disabled-color: $gray-600 !default;
  1025. $pagination-disabled-bg: $white !default;
  1026. $pagination-disabled-border-color: $gray-300 !default;
  1027. $pagination-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;
  1028. $pagination-border-radius-sm: $border-radius-sm !default;
  1029. $pagination-border-radius-lg: $border-radius-lg !default;
  1030. // scss-docs-end pagination-variables
  1031. // Placeholders
  1032. // scss-docs-start placeholders
  1033. $placeholder-opacity-max: .5 !default;
  1034. $placeholder-opacity-min: .2 !default;
  1035. // scss-docs-end placeholders
  1036. // Cards
  1037. // scss-docs-start card-variables
  1038. $card-spacer-y: $spacer !default;
  1039. $card-spacer-x: $spacer !default;
  1040. $card-title-spacer-y: $spacer * .5 !default;
  1041. $card-border-width: $border-width !default;
  1042. $card-border-color: rgba($black, .125) !default;
  1043. $card-border-radius: $border-radius !default;
  1044. $card-box-shadow: null !default;
  1045. $card-inner-border-radius: subtract($card-border-radius, $card-border-width) !default;
  1046. $card-cap-padding-y: $card-spacer-y * .5 !default;
  1047. $card-cap-padding-x: $card-spacer-x !default;
  1048. $card-cap-bg: rgba($black, .03) !default;
  1049. $card-cap-color: null !default;
  1050. $card-height: null !default;
  1051. $card-color: null !default;
  1052. $card-bg: $white !default;
  1053. $card-img-overlay-padding: $spacer !default;
  1054. $card-group-margin: $grid-gutter-width * .5 !default;
  1055. // scss-docs-end card-variables
  1056. // Accordion
  1057. // scss-docs-start accordion-variables
  1058. $accordion-padding-y: 1rem !default;
  1059. $accordion-padding-x: 1.25rem !default;
  1060. $accordion-color: $body-color !default;
  1061. $accordion-bg: $body-bg !default;
  1062. $accordion-border-width: $border-width !default;
  1063. $accordion-border-color: rgba($black, .125) !default;
  1064. $accordion-border-radius: $border-radius !default;
  1065. $accordion-inner-border-radius: subtract($accordion-border-radius, $accordion-border-width) !default;
  1066. $accordion-body-padding-y: $accordion-padding-y !default;
  1067. $accordion-body-padding-x: $accordion-padding-x !default;
  1068. $accordion-button-padding-y: $accordion-padding-y !default;
  1069. $accordion-button-padding-x: $accordion-padding-x !default;
  1070. $accordion-button-color: $accordion-color !default;
  1071. $accordion-button-bg: $accordion-bg !default;
  1072. $accordion-transition: $btn-transition, border-radius .15s ease !default;
  1073. $accordion-button-active-bg: tint-color($component-active-bg, 90%) !default;
  1074. $accordion-button-active-color: shade-color($primary, 10%) !default;
  1075. $accordion-button-focus-border-color: $input-focus-border-color !default;
  1076. $accordion-button-focus-box-shadow: $btn-focus-box-shadow !default;
  1077. $accordion-icon-width: 1.25rem !default;
  1078. $accordion-icon-color: $accordion-button-color !default;
  1079. $accordion-icon-active-color: $accordion-button-active-color !default;
  1080. $accordion-icon-transition: transform .2s ease-in-out !default;
  1081. $accordion-icon-transform: rotate(-180deg) !default;
  1082. $accordion-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
  1083. $accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-active-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
  1084. // scss-docs-end accordion-variables
  1085. // Tooltips
  1086. // scss-docs-start tooltip-variables
  1087. $tooltip-font-size: $font-size-sm !default;
  1088. $tooltip-max-width: 200px !default;
  1089. $tooltip-color: $white !default;
  1090. $tooltip-bg: $black !default;
  1091. $tooltip-border-radius: $border-radius !default;
  1092. $tooltip-opacity: .9 !default;
  1093. $tooltip-padding-y: $spacer * .25 !default;
  1094. $tooltip-padding-x: $spacer * .5 !default;
  1095. $tooltip-margin: 0 !default;
  1096. $tooltip-arrow-width: .8rem !default;
  1097. $tooltip-arrow-height: .4rem !default;
  1098. $tooltip-arrow-color: $tooltip-bg !default;
  1099. // scss-docs-end tooltip-variables
  1100. // Form tooltips must come after regular tooltips
  1101. // scss-docs-start tooltip-feedback-variables
  1102. $form-feedback-tooltip-padding-y: $tooltip-padding-y !default;
  1103. $form-feedback-tooltip-padding-x: $tooltip-padding-x !default;
  1104. $form-feedback-tooltip-font-size: $tooltip-font-size !default;
  1105. $form-feedback-tooltip-line-height: null !default;
  1106. $form-feedback-tooltip-opacity: $tooltip-opacity !default;
  1107. $form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
  1108. // scss-docs-end tooltip-feedback-variables
  1109. // Popovers
  1110. // scss-docs-start popover-variables
  1111. $popover-font-size: $font-size-sm !default;
  1112. $popover-bg: $white !default;
  1113. $popover-max-width: 276px !default;
  1114. $popover-border-width: $border-width !default;
  1115. $popover-border-color: rgba($black, .2) !default;
  1116. $popover-border-radius: $border-radius-lg !default;
  1117. $popover-inner-border-radius: subtract($popover-border-radius, $popover-border-width) !default;
  1118. $popover-box-shadow: $box-shadow !default;
  1119. $popover-header-bg: shade-color($popover-bg, 6%) !default;
  1120. $popover-header-color: $headings-color !default;
  1121. $popover-header-padding-y: .5rem !default;
  1122. $popover-header-padding-x: $spacer !default;
  1123. $popover-body-color: $body-color !default;
  1124. $popover-body-padding-y: $spacer !default;
  1125. $popover-body-padding-x: $spacer !default;
  1126. $popover-arrow-width: 1rem !default;
  1127. $popover-arrow-height: .5rem !default;
  1128. $popover-arrow-color: $popover-bg !default;
  1129. $popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
  1130. // scss-docs-end popover-variables
  1131. // Toasts
  1132. // scss-docs-start toast-variables
  1133. $toast-max-width: 350px !default;
  1134. $toast-padding-x: .75rem !default;
  1135. $toast-padding-y: .5rem !default;
  1136. $toast-font-size: .875rem !default;
  1137. $toast-color: null !default;
  1138. $toast-background-color: rgba($white, .85) !default;
  1139. $toast-border-width: 1px !default;
  1140. $toast-border-color: rgba($black, .1) !default;
  1141. $toast-border-radius: $border-radius !default;
  1142. $toast-box-shadow: $box-shadow !default;
  1143. $toast-spacing: $container-padding-x !default;
  1144. $toast-header-color: $gray-600 !default;
  1145. $toast-header-background-color: rgba($white, .85) !default;
  1146. $toast-header-border-color: rgba($black, .05) !default;
  1147. // scss-docs-end toast-variables
  1148. // Badges
  1149. // scss-docs-start badge-variables
  1150. $badge-font-size: .75em !default;
  1151. $badge-font-weight: $font-weight-bold !default;
  1152. $badge-color: $white !default;
  1153. $badge-padding-y: .35em !default;
  1154. $badge-padding-x: .65em !default;
  1155. $badge-border-radius: $border-radius !default;
  1156. // scss-docs-end badge-variables
  1157. // Modals
  1158. // scss-docs-start modal-variables
  1159. $modal-inner-padding: $spacer !default;
  1160. $modal-footer-margin-between: .5rem !default;
  1161. $modal-dialog-margin: .5rem !default;
  1162. $modal-dialog-margin-y-sm-up: 1.75rem !default;
  1163. $modal-title-line-height: $line-height-base !default;
  1164. $modal-content-color: null !default;
  1165. $modal-content-bg: $white !default;
  1166. $modal-content-border-color: rgba($black, .2) !default;
  1167. $modal-content-border-width: $border-width !default;
  1168. $modal-content-border-radius: $border-radius-lg !default;
  1169. $modal-content-inner-border-radius: subtract($modal-content-border-radius, $modal-content-border-width) !default;
  1170. $modal-content-box-shadow-xs: $box-shadow-sm !default;
  1171. $modal-content-box-shadow-sm-up: $box-shadow !default;
  1172. $modal-backdrop-bg: $black !default;
  1173. $modal-backdrop-opacity: .5 !default;
  1174. $modal-header-border-color: $border-color !default;
  1175. $modal-footer-border-color: $modal-header-border-color !default;
  1176. $modal-header-border-width: $modal-content-border-width !default;
  1177. $modal-footer-border-width: $modal-header-border-width !default;
  1178. $modal-header-padding-y: $modal-inner-padding !default;
  1179. $modal-header-padding-x: $modal-inner-padding !default;
  1180. $modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
  1181. $modal-sm: 300px !default;
  1182. $modal-md: 500px !default;
  1183. $modal-lg: 800px !default;
  1184. $modal-xl: 1140px !default;
  1185. $modal-fade-transform: translate(0, -50px) !default;
  1186. $modal-show-transform: none !default;
  1187. $modal-transition: transform .3s ease-out !default;
  1188. $modal-scale-transform: scale(1.02) !default;
  1189. // scss-docs-end modal-variables
  1190. // Alerts
  1191. //
  1192. // Define alert colors, border radius, and padding.
  1193. // scss-docs-start alert-variables
  1194. $alert-padding-y: $spacer !default;
  1195. $alert-padding-x: $spacer !default;
  1196. $alert-margin-bottom: 1rem !default;
  1197. $alert-border-radius: $border-radius !default;
  1198. $alert-link-font-weight: $font-weight-bold !default;
  1199. $alert-border-width: $border-width !default;
  1200. $alert-bg-scale: -80% !default;
  1201. $alert-border-scale: -70% !default;
  1202. $alert-color-scale: 40% !default;
  1203. $alert-dismissible-padding-r: $alert-padding-x * 3 !default; // 3x covers width of x plus default padding on either side
  1204. // scss-docs-end alert-variables
  1205. // Progress bars
  1206. // scss-docs-start progress-variables
  1207. $progress-height: 1rem !default;
  1208. $progress-font-size: $font-size-base * .75 !default;
  1209. $progress-bg: $gray-200 !default;
  1210. $progress-border-radius: $border-radius !default;
  1211. $progress-box-shadow: $box-shadow-inset !default;
  1212. $progress-bar-color: $white !default;
  1213. $progress-bar-bg: $primary !default;
  1214. $progress-bar-animation-timing: 1s linear infinite !default;
  1215. $progress-bar-transition: width .6s ease !default;
  1216. // scss-docs-end progress-variables
  1217. // List group
  1218. // scss-docs-start list-group-variables
  1219. $list-group-color: $gray-900 !default;
  1220. $list-group-bg: $white !default;
  1221. $list-group-border-color: rgba($black, .125) !default;
  1222. $list-group-border-width: $border-width !default;
  1223. $list-group-border-radius: $border-radius !default;
  1224. $list-group-item-padding-y: $spacer * .5 !default;
  1225. $list-group-item-padding-x: $spacer !default;
  1226. $list-group-item-bg-scale: -80% !default;
  1227. $list-group-item-color-scale: 40% !default;
  1228. $list-group-hover-bg: $gray-100 !default;
  1229. $list-group-active-color: $component-active-color !default;
  1230. $list-group-active-bg: $component-active-bg !default;
  1231. $list-group-active-border-color: $list-group-active-bg !default;
  1232. $list-group-disabled-color: $gray-600 !default;
  1233. $list-group-disabled-bg: $list-group-bg !default;
  1234. $list-group-action-color: $gray-700 !default;
  1235. $list-group-action-hover-color: $list-group-action-color !default;
  1236. $list-group-action-active-color: $body-color !default;
  1237. $list-group-action-active-bg: $gray-200 !default;
  1238. // scss-docs-end list-group-variables
  1239. // Image thumbnails
  1240. // scss-docs-start thumbnail-variables
  1241. $thumbnail-padding: .25rem !default;
  1242. $thumbnail-bg: $body-bg !default;
  1243. $thumbnail-border-width: $border-width !default;
  1244. $thumbnail-border-color: $gray-300 !default;
  1245. $thumbnail-border-radius: $border-radius !default;
  1246. $thumbnail-box-shadow: $box-shadow-sm !default;
  1247. // scss-docs-end thumbnail-variables
  1248. // Figures
  1249. // scss-docs-start figure-variables
  1250. $figure-caption-font-size: $small-font-size !default;
  1251. $figure-caption-color: $gray-600 !default;
  1252. // scss-docs-end figure-variables
  1253. // Breadcrumbs
  1254. // scss-docs-start breadcrumb-variables
  1255. $breadcrumb-font-size: null !default;
  1256. $breadcrumb-padding-y: 0 !default;
  1257. $breadcrumb-padding-x: 0 !default;
  1258. $breadcrumb-item-padding-x: .5rem !default;
  1259. $breadcrumb-margin-bottom: 1rem !default;
  1260. $breadcrumb-bg: null !default;
  1261. $breadcrumb-divider-color: $gray-600 !default;
  1262. $breadcrumb-active-color: $gray-600 !default;
  1263. $breadcrumb-divider: quote("/") !default;
  1264. $breadcrumb-divider-flipped: $breadcrumb-divider !default;
  1265. $breadcrumb-border-radius: null !default;
  1266. // scss-docs-end breadcrumb-variables
  1267. // Carousel
  1268. // scss-docs-start carousel-variables
  1269. $carousel-control-color: $white !default;
  1270. $carousel-control-width: 15% !default;
  1271. $carousel-control-opacity: .5 !default;
  1272. $carousel-control-hover-opacity: .9 !default;
  1273. $carousel-control-transition: opacity .15s ease !default;
  1274. $carousel-indicator-width: 30px !default;
  1275. $carousel-indicator-height: 3px !default;
  1276. $carousel-indicator-hit-area-height: 10px !default;
  1277. $carousel-indicator-spacer: 3px !default;
  1278. $carousel-indicator-opacity: .5 !default;
  1279. $carousel-indicator-active-bg: $white !default;
  1280. $carousel-indicator-active-opacity: 1 !default;
  1281. $carousel-indicator-transition: opacity .6s ease !default;
  1282. $carousel-caption-width: 70% !default;
  1283. $carousel-caption-color: $white !default;
  1284. $carousel-caption-padding-y: 1.25rem !default;
  1285. $carousel-caption-spacer: 1.25rem !default;
  1286. $carousel-control-icon-width: 2rem !default;
  1287. $carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/></svg>") !default;
  1288. $carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/></svg>") !default;
  1289. $carousel-transition-duration: .6s !default;
  1290. $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`)
  1291. $carousel-dark-indicator-active-bg: $black !default;
  1292. $carousel-dark-caption-color: $black !default;
  1293. $carousel-dark-control-icon-filter: invert(1) grayscale(100) !default;
  1294. // scss-docs-end carousel-variables
  1295. // Spinners
  1296. // scss-docs-start spinner-variables
  1297. $spinner-width: 2rem !default;
  1298. $spinner-height: $spinner-width !default;
  1299. $spinner-vertical-align: -.125em !default;
  1300. $spinner-border-width: .25em !default;
  1301. $spinner-animation-speed: .75s !default;
  1302. $spinner-width-sm: 1rem !default;
  1303. $spinner-height-sm: $spinner-width-sm !default;
  1304. $spinner-border-width-sm: .2em !default;
  1305. // scss-docs-end spinner-variables
  1306. // Close
  1307. // scss-docs-start close-variables
  1308. $btn-close-width: 1em !default;
  1309. $btn-close-height: $btn-close-width !default;
  1310. $btn-close-padding-x: .25em !default;
  1311. $btn-close-padding-y: $btn-close-padding-x !default;
  1312. $btn-close-color: $black !default;
  1313. $btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$btn-close-color}'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>") !default;
  1314. $btn-close-focus-shadow: $input-btn-focus-box-shadow !default;
  1315. $btn-close-opacity: .5 !default;
  1316. $btn-close-hover-opacity: .75 !default;
  1317. $btn-close-focus-opacity: 1 !default;
  1318. $btn-close-disabled-opacity: .25 !default;
  1319. $btn-close-white-filter: invert(1) grayscale(100%) brightness(200%) !default;
  1320. // scss-docs-end close-variables
  1321. // Offcanvas
  1322. // scss-docs-start offcanvas-variables
  1323. $offcanvas-padding-y: $modal-inner-padding !default;
  1324. $offcanvas-padding-x: $modal-inner-padding !default;
  1325. $offcanvas-horizontal-width: 400px !default;
  1326. $offcanvas-vertical-height: 30vh !default;
  1327. $offcanvas-transition-duration: .3s !default;
  1328. $offcanvas-border-color: $modal-content-border-color !default;
  1329. $offcanvas-border-width: $modal-content-border-width !default;
  1330. $offcanvas-title-line-height: $modal-title-line-height !default;
  1331. $offcanvas-bg-color: $modal-content-bg !default;
  1332. $offcanvas-color: $modal-content-color !default;
  1333. $offcanvas-box-shadow: $modal-content-box-shadow-xs !default;
  1334. $offcanvas-backdrop-bg: $modal-backdrop-bg !default;
  1335. $offcanvas-backdrop-opacity: $modal-backdrop-opacity !default;
  1336. // scss-docs-end offcanvas-variables
  1337. // Code
  1338. $code-font-size: $small-font-size !default;
  1339. $code-color: $pink !default;
  1340. $kbd-padding-y: .2rem !default;
  1341. $kbd-padding-x: .4rem !default;
  1342. $kbd-font-size: $code-font-size !default;
  1343. $kbd-color: $white !default;
  1344. $kbd-bg: $gray-900 !default;
  1345. $pre-color: null !default;