_bootstrap-variables.scss 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828
  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. //
  6. // Color system
  7. //
  8. // stylelint-disable
  9. $white: #fff !default;
  10. $gray-100: #f8f9fa !default;
  11. $gray-200: #e9ecef !default;
  12. $gray-300: #dee2e6 !default;
  13. $gray-400: #ced4da !default;
  14. $gray-500: #adb5bd !default;
  15. $gray-600: #868e96 !default;
  16. $gray-700: #495057 !default;
  17. $gray-800: #343a40 !default;
  18. $gray-900: #212529 !default;
  19. $black: #000 !default;
  20. $grays: () !default;
  21. $grays: map-merge((
  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. ), $grays);
  32. $blue: #007bff !default;
  33. $indigo: #6610f2 !default;
  34. $purple: #6f42c1 !default;
  35. $pink: #e83e8c !default;
  36. $red: #dc3545 !default;
  37. $orange: #fd7e14 !default;
  38. $yellow: #ffc107 !default;
  39. $green: #28a745 !default;
  40. $teal: #20c997 !default;
  41. $cyan: #17a2b8 !default;
  42. $colors: () !default;
  43. $colors: map-merge((
  44. "blue": $blue,
  45. "indigo": $indigo,
  46. "purple": $purple,
  47. "pink": $pink,
  48. "red": $red,
  49. "orange": $orange,
  50. "yellow": $yellow,
  51. "green": $green,
  52. "teal": $teal,
  53. "cyan": $cyan,
  54. "white": $white,
  55. "gray": $gray-600,
  56. "gray-dark": $gray-800
  57. ), $colors);
  58. $primary: $blue !default;
  59. $secondary: $gray-600 !default;
  60. $success: $green !default;
  61. $info: $cyan !default;
  62. $warning: $yellow !default;
  63. $danger: $red !default;
  64. $light: $gray-100 !default;
  65. $dark: $gray-800 !default;
  66. $theme-colors: () !default;
  67. $theme-colors: map-merge((
  68. "primary": $primary,
  69. "secondary": $secondary,
  70. "success": $success,
  71. "info": $info,
  72. "warning": $warning,
  73. "danger": $danger,
  74. "light": $light,
  75. "dark": $dark
  76. ), $theme-colors);
  77. // stylelint-enable
  78. // Set a specific jump point for requesting color jumps
  79. $theme-color-interval: 8% !default;
  80. // Options
  81. //
  82. // Quickly modify global styling by enabling or disabling optional features.
  83. $enable-caret: true !default;
  84. $enable-rounded: true !default;
  85. $enable-shadows: false !default;
  86. $enable-gradients: false !default;
  87. $enable-transitions: true !default;
  88. $enable-hover-media-query: false !default;
  89. $enable-grid-classes: true !default;
  90. $enable-print-styles: true !default;
  91. // Spacing
  92. //
  93. // Control the default styling of most Bootstrap elements by modifying these
  94. // variables. Mostly focused on spacing.
  95. // You can add more entries to the $spacers map, should you need more variation.
  96. $spacer: 1rem !default;
  97. $spacers: (
  98. 0: 0,
  99. 1: ($spacer * .25),
  100. 2: ($spacer * .5),
  101. 3: $spacer,
  102. 4: ($spacer * 1.5),
  103. 5: ($spacer * 3)
  104. ) !default;
  105. // This variable affects the `.h-*` and `.w-*` classes.
  106. $sizes: (
  107. 25: 25%,
  108. 50: 50%,
  109. 75: 75%,
  110. 100: 100%
  111. ) !default;
  112. // Body
  113. //
  114. // Settings for the `<body>` element.
  115. $body-bg: $white !default;
  116. $body-color: $gray-900 !default;
  117. // Links
  118. //
  119. // Style anchor elements.
  120. $link-color: theme-color("primary") !default;
  121. $link-decoration: none !default;
  122. $link-hover-color: darken($link-color, 15%) !default;
  123. $link-hover-decoration: underline !default;
  124. // Paragraphs
  125. //
  126. // Style p element.
  127. $paragraph-margin-bottom: 1rem !default;
  128. // Grid breakpoints
  129. //
  130. // Define the minimum dimensions at which your layout will change,
  131. // adapting to different screen sizes, for use in media queries.
  132. $grid-breakpoints: (
  133. xs: 0,
  134. sm: 576px,
  135. md: 768px,
  136. lg: 992px,
  137. xl: 1200px
  138. ) !default;
  139. @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
  140. @include _assert-starts-at-zero($grid-breakpoints);
  141. // Grid containers
  142. //
  143. // Define the maximum width of `.container` for different screen sizes.
  144. $container-max-widths: (
  145. sm: 540px,
  146. md: 720px,
  147. lg: 960px,
  148. xl: 1140px
  149. ) !default;
  150. @include _assert-ascending($container-max-widths, "$container-max-widths");
  151. // Grid columns
  152. //
  153. // Set the number of columns and specify the width of the gutters.
  154. $grid-columns: 12 !default;
  155. $grid-gutter-width: 30px !default;
  156. // Components
  157. //
  158. // Define common padding and border radius sizes and more.
  159. $line-height-lg: 1.5 !default;
  160. $line-height-sm: 1.5 !default;
  161. $border-width: 1px !default;
  162. $border-color: $gray-200 !default;
  163. $border-radius: .25rem !default;
  164. $border-radius-lg: .3rem !default;
  165. $border-radius-sm: .2rem !default;
  166. $component-active-color: $white !default;
  167. $component-active-bg: theme-color("primary") !default;
  168. $caret-width: .3em !default;
  169. $transition-base: all .2s ease-in-out !default;
  170. $transition-fade: opacity .15s linear !default;
  171. $transition-collapse: height .35s ease !default;
  172. // Fonts
  173. //
  174. // Font, line-height, and color for body text, headings, and more.
  175. // stylelint-disable value-keyword-case
  176. $font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
  177. $font-family-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
  178. $font-family-base: $font-family-sans-serif !default;
  179. // stylelint-enable value-keyword-case
  180. $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
  181. $font-size-lg: ($font-size-base * 1.25) !default;
  182. $font-size-sm: ($font-size-base * .875) !default;
  183. $font-weight-light: 300 !default;
  184. $font-weight-normal: 400 !default;
  185. $font-weight-bold: 700 !default;
  186. $font-weight-base: $font-weight-normal !default;
  187. $line-height-base: 1.5 !default;
  188. $h1-font-size: $font-size-base * 2.5 !default;
  189. $h2-font-size: $font-size-base * 2 !default;
  190. $h3-font-size: $font-size-base * 1.75 !default;
  191. $h4-font-size: $font-size-base * 1.5 !default;
  192. $h5-font-size: $font-size-base * 1.25 !default;
  193. $h6-font-size: $font-size-base !default;
  194. $headings-margin-bottom: ($spacer / 2) !default;
  195. $headings-font-family: inherit !default;
  196. $headings-font-weight: 500 !default;
  197. $headings-line-height: 1.2 !default;
  198. $headings-color: inherit !default;
  199. $display1-size: 6rem !default;
  200. $display2-size: 5.5rem !default;
  201. $display3-size: 4.5rem !default;
  202. $display4-size: 3.5rem !default;
  203. $display1-weight: 300 !default;
  204. $display2-weight: 300 !default;
  205. $display3-weight: 300 !default;
  206. $display4-weight: 300 !default;
  207. $display-line-height: $headings-line-height !default;
  208. $lead-font-size: ($font-size-base * 1.25) !default;
  209. $lead-font-weight: 300 !default;
  210. $small-font-size: 80% !default;
  211. $text-muted: $gray-600 !default;
  212. $blockquote-small-color: $gray-600 !default;
  213. $blockquote-font-size: ($font-size-base * 1.25) !default;
  214. $hr-border-color: rgba($black,.1) !default;
  215. $hr-border-width: $border-width !default;
  216. $mark-padding: .2em !default;
  217. $dt-font-weight: $font-weight-bold !default;
  218. $kbd-box-shadow: inset 0 -.1rem 0 rgba($black,.25) !default;
  219. $nested-kbd-font-weight: $font-weight-bold !default;
  220. $list-inline-padding: 5px !default;
  221. $mark-bg: #fcf8e3 !default;
  222. // Tables
  223. //
  224. // Customizes the `.table` component with basic values, each used across all table variations.
  225. $table-cell-padding: .75rem !default;
  226. $table-cell-padding-sm: .3rem !default;
  227. $table-bg: transparent !default;
  228. $table-accent-bg: rgba($black,.05) !default;
  229. $table-hover-bg: rgba($black,.075) !default;
  230. $table-active-bg: $table-hover-bg !default;
  231. $table-border-width: $border-width !default;
  232. $table-border-color: $gray-200 !default;
  233. $table-head-bg: $gray-200 !default;
  234. $table-head-color: $gray-700 !default;
  235. $table-dark-bg: $gray-900 !default;
  236. $table-dark-accent-bg: rgba($white, .05) !default;
  237. $table-dark-hover-bg: rgba($white, .075) !default;
  238. $table-dark-border-color: lighten($gray-900, 7.5%) !default;
  239. $table-dark-color: $body-bg !default;
  240. // Buttons
  241. //
  242. // For each of Bootstrap's buttons, define text, background and border color.
  243. $input-btn-padding-y: .375rem !default;
  244. $input-btn-padding-x: .75rem !default;
  245. $input-btn-line-height: $line-height-base !default;
  246. $input-btn-focus-width: .2rem !default;
  247. $input-btn-focus-color: rgba(theme-color("primary"), .25) !default;
  248. $input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color !default;
  249. $input-btn-padding-y-sm: .25rem !default;
  250. $input-btn-padding-x-sm: .5rem !default;
  251. $input-btn-line-height-sm: $line-height-sm !default;
  252. $input-btn-padding-y-lg: .5rem !default;
  253. $input-btn-padding-x-lg: 1rem !default;
  254. $input-btn-line-height-lg: $line-height-lg !default;
  255. $btn-font-weight: $font-weight-normal !default;
  256. $btn-box-shadow: inset 0 1px 0 rgba($white,.15), 0 1px 1px rgba($black,.075) !default;
  257. $btn-active-box-shadow: inset 0 3px 5px rgba($black,.125) !default;
  258. $btn-link-disabled-color: $gray-600 !default;
  259. $btn-block-spacing-y: .5rem !default;
  260. // Allows for customizing button radius independently from global border radius
  261. $btn-border-radius: $border-radius !default;
  262. $btn-border-radius-lg: $border-radius-lg !default;
  263. $btn-border-radius-sm: $border-radius-sm !default;
  264. $btn-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
  265. // Forms
  266. $input-bg: $white !default;
  267. $input-disabled-bg: $gray-200 !default;
  268. $input-color: $gray-700 !default;
  269. $input-border-color: $gray-400 !default;
  270. $input-btn-border-width: $border-width !default; // For form controls and buttons
  271. $input-box-shadow: inset 0 1px 1px rgba($black,.075) !default;
  272. $input-border-radius: $border-radius !default;
  273. $input-border-radius-lg: $border-radius-lg !default;
  274. $input-border-radius-sm: $border-radius-sm !default;
  275. $input-focus-bg: $input-bg !default;
  276. $input-focus-border-color: lighten(theme-color("primary"), 25%) !default;
  277. $input-focus-color: $input-color !default;
  278. $input-placeholder-color: $gray-600 !default;
  279. $input-height-border: $input-btn-border-width * 2 !default;
  280. $input-height-inner: ($font-size-base * $input-btn-line-height) + ($input-btn-padding-y * 2) !default;
  281. $input-height: calc(#{$input-height-inner} + #{$input-height-border}) !default;
  282. $input-height-inner-sm: ($font-size-sm * $input-btn-line-height-sm) + ($input-btn-padding-y-sm * 2) !default;
  283. $input-height-sm: calc(#{$input-height-inner-sm} + #{$input-height-border}) !default;
  284. $input-height-inner-lg: ($font-size-lg * $input-btn-line-height-lg) + ($input-btn-padding-y-lg * 2) !default;
  285. $input-height-lg: calc(#{$input-height-inner-lg} + #{$input-height-border}) !default;
  286. $input-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !default;
  287. $form-text-margin-top: .25rem !default;
  288. $form-check-margin-bottom: .5rem !default;
  289. $form-check-input-gutter: 1.25rem !default;
  290. $form-check-input-margin-y: .25rem !default;
  291. $form-check-input-margin-x: .25rem !default;
  292. $form-check-inline-margin-x: .75rem !default;
  293. $form-group-margin-bottom: 1rem !default;
  294. $input-group-addon-color: $input-color !default;
  295. $input-group-addon-bg: $gray-200 !default;
  296. $input-group-addon-border-color: $input-border-color !default;
  297. $custom-control-gutter: 1.5rem !default;
  298. $custom-control-spacer-y: .25rem !default;
  299. $custom-control-spacer-x: 1rem !default;
  300. $custom-control-indicator-size: 1rem !default;
  301. $custom-control-indicator-bg: #ddd !default;
  302. $custom-control-indicator-bg-size: 50% 50% !default;
  303. $custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black,.1) !default;
  304. $custom-control-indicator-disabled-bg: $gray-200 !default;
  305. $custom-control-description-disabled-color: $gray-600 !default;
  306. $custom-control-indicator-checked-color: $white !default;
  307. $custom-control-indicator-checked-bg: theme-color("primary") !default;
  308. $custom-control-indicator-checked-box-shadow: none !default;
  309. $custom-control-indicator-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default;
  310. $custom-control-indicator-active-color: $white !default;
  311. $custom-control-indicator-active-bg: lighten(theme-color("primary"), 35%) !default;
  312. $custom-control-indicator-active-box-shadow: none !default;
  313. $custom-checkbox-indicator-border-radius: $border-radius !default;
  314. $custom-checkbox-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%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;
  315. $custom-checkbox-indicator-indeterminate-bg: theme-color("primary") !default;
  316. $custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
  317. $custom-checkbox-indicator-icon-indeterminate: str-replace(url("data:image/svg+xml;charset=utf8,%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;
  318. $custom-checkbox-indicator-indeterminate-box-shadow: none !default;
  319. $custom-radio-indicator-border-radius: 50% !default;
  320. $custom-radio-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%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;
  321. $custom-select-padding-y: .375rem !default;
  322. $custom-select-padding-x: .75rem !default;
  323. $custom-select-height: $input-height !default;
  324. $custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
  325. $custom-select-line-height: $input-btn-line-height !default;
  326. $custom-select-color: $input-color !default;
  327. $custom-select-disabled-color: $gray-600 !default;
  328. $custom-select-bg: $white !default;
  329. $custom-select-disabled-bg: $gray-200 !default;
  330. $custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
  331. $custom-select-indicator-color: #333 !default;
  332. $custom-select-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%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;
  333. $custom-select-border-width: $input-btn-border-width !default;
  334. $custom-select-border-color: $input-border-color !default;
  335. $custom-select-border-radius: $border-radius !default;
  336. $custom-select-focus-border-color: lighten(theme-color("primary"), 25%) !default;
  337. $custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5) !default;
  338. $custom-select-font-size-sm: 75% !default;
  339. $custom-select-height-sm: $input-height-sm !default;
  340. $custom-file-height: $input-height !default;
  341. $custom-file-width: 14rem !default;
  342. $custom-file-focus-box-shadow: 0 0 0 .075rem $white, 0 0 0 .2rem theme-color("primary") !default;
  343. $custom-file-padding-y: $input-btn-padding-y !default;
  344. $custom-file-padding-x: $input-btn-padding-x !default;
  345. $custom-file-line-height: $input-btn-line-height !default;
  346. $custom-file-color: $input-color !default;
  347. $custom-file-bg: $input-bg !default;
  348. $custom-file-border-width: $input-btn-border-width !default;
  349. $custom-file-border-color: $input-border-color !default;
  350. $custom-file-border-radius: $input-border-radius !default;
  351. $custom-file-box-shadow: $input-box-shadow !default;
  352. $custom-file-button-color: $custom-file-color !default;
  353. $custom-file-button-bg: $input-group-addon-bg !default;
  354. $custom-file-text: (
  355. placeholder: (
  356. en: "Choose file..."
  357. ),
  358. button-label: (
  359. en: "Browse"
  360. )
  361. ) !default;
  362. // Form validation
  363. $form-feedback-valid-color: theme-color("success") !default;
  364. $form-feedback-invalid-color: theme-color("danger") !default;
  365. // Dropdowns
  366. //
  367. // Dropdown menu container and contents.
  368. $dropdown-min-width: 10rem !default;
  369. $dropdown-padding-y: .5rem !default;
  370. $dropdown-spacer: .125rem !default;
  371. $dropdown-bg: $white !default;
  372. $dropdown-border-color: rgba($black,.15) !default;
  373. $dropdown-border-width: $border-width !default;
  374. $dropdown-divider-bg: $gray-200 !default;
  375. $dropdown-box-shadow: 0 .5rem 1rem rgba($black,.175) !default;
  376. $dropdown-link-color: $gray-900 !default;
  377. $dropdown-link-hover-color: darken($gray-900, 5%) !default;
  378. $dropdown-link-hover-bg: $gray-100 !default;
  379. $dropdown-link-active-color: $component-active-color !default;
  380. $dropdown-link-active-bg: $component-active-bg !default;
  381. $dropdown-link-disabled-color: $gray-600 !default;
  382. $dropdown-item-padding-y: .25rem !default;
  383. $dropdown-item-padding-x: 1.5rem !default;
  384. $dropdown-header-color: $gray-600 !default;
  385. // Z-index master list
  386. //
  387. // Warning: Avoid customizing these values. They're used for a bird's eye view
  388. // of components dependent on the z-axis and are designed to all work together.
  389. $zindex-dropdown: 1000 !default;
  390. $zindex-sticky: 1020 !default;
  391. $zindex-fixed: 1030 !default;
  392. $zindex-modal-backdrop: 1040 !default;
  393. $zindex-modal: 1050 !default;
  394. $zindex-popover: 1060 !default;
  395. $zindex-tooltip: 1070 !default;
  396. // Navs
  397. $nav-link-padding-y: .5rem !default;
  398. $nav-link-padding-x: 1rem !default;
  399. $nav-link-disabled-color: $gray-600 !default;
  400. $nav-tabs-border-color: #ddd !default;
  401. $nav-tabs-border-width: $border-width !default;
  402. $nav-tabs-border-radius: $border-radius !default;
  403. $nav-tabs-link-hover-border-color: $gray-200 !default;
  404. $nav-tabs-link-active-color: $gray-700 !default;
  405. $nav-tabs-link-active-bg: $body-bg !default;
  406. $nav-tabs-link-active-border-color: #ddd !default;
  407. $nav-pills-border-radius: $border-radius !default;
  408. $nav-pills-link-active-color: $component-active-color !default;
  409. $nav-pills-link-active-bg: $component-active-bg !default;
  410. // Navbar
  411. $navbar-padding-y: ($spacer / 2) !default;
  412. $navbar-padding-x: $spacer !default;
  413. $navbar-brand-font-size: $font-size-lg !default;
  414. // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
  415. $nav-link-height: ($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default;
  416. $navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
  417. $navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2 !default;
  418. $navbar-toggler-padding-y: .25rem !default;
  419. $navbar-toggler-padding-x: .75rem !default;
  420. $navbar-toggler-font-size: $font-size-lg !default;
  421. $navbar-toggler-border-radius: $btn-border-radius !default;
  422. $navbar-dark-color: rgba($white,.5) !default;
  423. $navbar-dark-hover-color: rgba($white,.75) !default;
  424. $navbar-dark-active-color: $white !default;
  425. $navbar-dark-disabled-color: rgba($white,.25) !default;
  426. $navbar-dark-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%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;
  427. $navbar-dark-toggler-border-color: rgba($white,.1) !default;
  428. $navbar-light-color: rgba($black,.5) !default;
  429. $navbar-light-hover-color: rgba($black,.7) !default;
  430. $navbar-light-active-color: rgba($black,.9) !default;
  431. $navbar-light-disabled-color: rgba($black,.3) !default;
  432. $navbar-light-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%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;
  433. $navbar-light-toggler-border-color: rgba($black,.1) !default;
  434. // Pagination
  435. $pagination-padding-y: .5rem !default;
  436. $pagination-padding-x: .75rem !default;
  437. $pagination-padding-y-sm: .25rem !default;
  438. $pagination-padding-x-sm: .5rem !default;
  439. $pagination-padding-y-lg: .75rem !default;
  440. $pagination-padding-x-lg: 1.5rem !default;
  441. $pagination-line-height: 1.25 !default;
  442. $pagination-color: $link-color !default;
  443. $pagination-bg: $white !default;
  444. $pagination-border-width: $border-width !default;
  445. $pagination-border-color: #ddd !default;
  446. $pagination-hover-color: $link-hover-color !default;
  447. $pagination-hover-bg: $gray-200 !default;
  448. $pagination-hover-border-color: #ddd !default;
  449. $pagination-active-color: $white !default;
  450. $pagination-active-bg: theme-color("primary") !default;
  451. $pagination-active-border-color: theme-color("primary") !default;
  452. $pagination-disabled-color: $gray-600 !default;
  453. $pagination-disabled-bg: $white !default;
  454. $pagination-disabled-border-color: #ddd !default;
  455. // Jumbotron
  456. $jumbotron-padding: 2rem !default;
  457. $jumbotron-bg: $gray-200 !default;
  458. // Cards
  459. $card-spacer-y: .75rem !default;
  460. $card-spacer-x: 1.25rem !default;
  461. $card-border-width: $border-width !default;
  462. $card-border-radius: $border-radius !default;
  463. $card-border-color: rgba($black,.125) !default;
  464. $card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default;
  465. $card-cap-bg: rgba($black, .03) !default;
  466. $card-bg: $white !default;
  467. $card-img-overlay-padding: 1.25rem !default;
  468. $card-group-margin: ($grid-gutter-width / 2) !default;
  469. $card-deck-margin: $card-group-margin !default;
  470. $card-columns-count: 3 !default;
  471. $card-columns-gap: 1.25rem !default;
  472. $card-columns-margin: $card-spacer-y !default;
  473. // Tooltips
  474. $tooltip-max-width: 200px !default;
  475. $tooltip-color: $white !default;
  476. $tooltip-bg: $black !default;
  477. $tooltip-opacity: .9 !default;
  478. $tooltip-padding-y: 3px !default;
  479. $tooltip-padding-x: 8px !default;
  480. $tooltip-margin: 0 !default;
  481. $tooltip-arrow-width: 5px !default;
  482. $tooltip-arrow-height: 5px !default;
  483. $tooltip-arrow-color: $tooltip-bg !default;
  484. // Popovers
  485. $popover-bg: $white !default;
  486. $popover-max-width: 276px !default;
  487. $popover-border-width: $border-width !default;
  488. $popover-border-color: rgba($black,.2) !default;
  489. $popover-box-shadow: 0 .25rem .5rem rgba($black,.2) !default;
  490. $popover-header-bg: darken($popover-bg, 3%) !default;
  491. $popover-header-color: $headings-color !default;
  492. $popover-header-padding-y: .5rem !default;
  493. $popover-header-padding-x: .75rem !default;
  494. $popover-body-color: $body-color !default;
  495. $popover-body-padding-y: $popover-header-padding-y !default;
  496. $popover-body-padding-x: $popover-header-padding-x !default;
  497. $popover-arrow-width: .8rem !default;
  498. $popover-arrow-height: .4rem !default;
  499. $popover-arrow-color: $popover-bg !default;
  500. $popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
  501. // Badges
  502. $badge-font-size: 75% !default;
  503. $badge-font-weight: $font-weight-bold !default;
  504. $badge-padding-y: .25em !default;
  505. $badge-padding-x: .4em !default;
  506. $badge-border-radius: $border-radius !default;
  507. $badge-pill-padding-x: .6em !default;
  508. // Use a higher than normal value to ensure completely rounded edges when
  509. // customizing padding or font-size on labels.
  510. $badge-pill-border-radius: 10rem !default;
  511. // Modals
  512. // Padding applied to the modal body
  513. $modal-inner-padding: 15px !default;
  514. $modal-dialog-margin: 10px !default;
  515. $modal-dialog-margin-y-sm-up: 30px !default;
  516. $modal-title-line-height: $line-height-base !default;
  517. $modal-content-bg: $white !default;
  518. $modal-content-border-color: rgba($black,.2) !default;
  519. $modal-content-border-width: $border-width !default;
  520. $modal-content-box-shadow-xs: 0 3px 9px rgba($black,.5) !default;
  521. $modal-content-box-shadow-sm-up: 0 5px 15px rgba($black,.5) !default;
  522. $modal-backdrop-bg: $black !default;
  523. $modal-backdrop-opacity: .5 !default;
  524. $modal-header-border-color: $gray-200 !default;
  525. $modal-footer-border-color: $modal-header-border-color !default;
  526. $modal-header-border-width: $modal-content-border-width !default;
  527. $modal-footer-border-width: $modal-header-border-width !default;
  528. $modal-header-padding: 15px !default;
  529. $modal-lg: 800px !default;
  530. $modal-md: 500px !default;
  531. $modal-sm: 300px !default;
  532. $modal-transition: transform .3s ease-out !default;
  533. // Alerts
  534. //
  535. // Define alert colors, border radius, and padding.
  536. $alert-padding-y: .75rem !default;
  537. $alert-padding-x: 1.25rem !default;
  538. $alert-margin-bottom: 1rem !default;
  539. $alert-border-radius: $border-radius !default;
  540. $alert-link-font-weight: $font-weight-bold !default;
  541. $alert-border-width: $border-width !default;
  542. // Progress bars
  543. $progress-height: 1rem !default;
  544. $progress-font-size: ($font-size-base * .75) !default;
  545. $progress-bg: $gray-200 !default;
  546. $progress-border-radius: $border-radius !default;
  547. $progress-box-shadow: inset 0 .1rem .1rem rgba($black,.1) !default;
  548. $progress-bar-color: $white !default;
  549. $progress-bar-bg: theme-color("primary") !default;
  550. $progress-bar-animation-timing: 1s linear infinite !default;
  551. $progress-bar-transition: width .6s ease !default;
  552. // List group
  553. $list-group-bg: $white !default;
  554. $list-group-border-color: rgba($black,.125) !default;
  555. $list-group-border-width: $border-width !default;
  556. $list-group-border-radius: $border-radius !default;
  557. $list-group-item-padding-y: .75rem !default;
  558. $list-group-item-padding-x: 1.25rem !default;
  559. $list-group-hover-bg: $gray-100 !default;
  560. $list-group-active-color: $component-active-color !default;
  561. $list-group-active-bg: $component-active-bg !default;
  562. $list-group-active-border-color: $list-group-active-bg !default;
  563. $list-group-disabled-color: $gray-600 !default;
  564. $list-group-disabled-bg: $list-group-bg !default;
  565. $list-group-action-color: $gray-700 !default;
  566. $list-group-action-hover-color: $list-group-action-color !default;
  567. $list-group-action-active-color: $body-color !default;
  568. $list-group-action-active-bg: $gray-200 !default;
  569. // Image thumbnails
  570. $thumbnail-padding: .25rem !default;
  571. $thumbnail-bg: $body-bg !default;
  572. $thumbnail-border-width: $border-width !default;
  573. $thumbnail-border-color: #ddd !default;
  574. $thumbnail-border-radius: $border-radius !default;
  575. $thumbnail-box-shadow: 0 1px 2px rgba($black,.075) !default;
  576. $thumbnail-transition: all .2s ease-in-out !default;
  577. // Figures
  578. $figure-caption-font-size: 90% !default;
  579. $figure-caption-color: $gray-600 !default;
  580. // Breadcrumbs
  581. $breadcrumb-padding-y: .75rem !default;
  582. $breadcrumb-padding-x: 1rem !default;
  583. $breadcrumb-item-padding: .5rem !default;
  584. $breadcrumb-margin-bottom: 1rem !default;
  585. $breadcrumb-bg: $gray-200 !default;
  586. $breadcrumb-divider-color: $gray-600 !default;
  587. $breadcrumb-active-color: $gray-600 !default;
  588. $breadcrumb-divider: "/" !default;
  589. // Carousel
  590. $carousel-control-color: $white !default;
  591. $carousel-control-width: 15% !default;
  592. $carousel-control-opacity: .5 !default;
  593. $carousel-indicator-width: 30px !default;
  594. $carousel-indicator-height: 3px !default;
  595. $carousel-indicator-spacer: 3px !default;
  596. $carousel-indicator-active-bg: $white !default;
  597. $carousel-caption-width: 70% !default;
  598. $carousel-caption-color: $white !default;
  599. $carousel-control-icon-width: 20px !default;
  600. $carousel-control-prev-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%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;
  601. $carousel-control-next-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%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;
  602. $carousel-transition: transform .6s ease !default;
  603. // Close
  604. $close-font-size: $font-size-base * 1.5 !default;
  605. $close-font-weight: $font-weight-bold !default;
  606. $close-color: $black !default;
  607. $close-text-shadow: 0 1px 0 $white !default;
  608. // Code
  609. $code-font-size: 90% !default;
  610. $code-padding-y: .2rem !default;
  611. $code-padding-x: .4rem !default;
  612. $code-color: #bd4147 !default;
  613. $code-bg: $gray-100 !default;
  614. $kbd-color: $white !default;
  615. $kbd-bg: $gray-900 !default;
  616. $pre-color: $gray-900 !default;
  617. $pre-scrollable-max-height: 340px !default;