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.

_variables.scss 75KB

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