_variables.scss 48 KB

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