Graphs and tables for your Spotify account.
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.

952 lines
38 KiB

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