administrate-bootstrap-theme 0.1.9 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +72 -31
  3. data/app/assets/javascripts/administrate-bootstrap-theme/bootstrap.bundle.js +6780 -0
  4. data/app/assets/stylesheets/administrate-bootstrap-theme/_base.scss +2 -10
  5. data/app/assets/stylesheets/administrate-bootstrap-theme/_variables.scss +8 -1
  6. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_accordion.scss +4 -2
  7. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_alert.scss +0 -0
  8. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_badge.scss +0 -0
  9. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_breadcrumb.scss +0 -0
  10. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_button-group.scss +0 -0
  11. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_buttons.scss +0 -0
  12. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_card.scss +7 -6
  13. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_carousel.scss +2 -2
  14. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_close.scss +0 -0
  15. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_containers.scss +0 -0
  16. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_dropdown.scss +11 -17
  17. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_forms.scss +0 -0
  18. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_functions.scss +94 -3
  19. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_grid.scss +33 -0
  20. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_helpers.scss +2 -0
  21. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_images.scss +1 -1
  22. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_list-group.scss +5 -5
  23. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_mixins.scss +2 -0
  24. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_modal.scss +7 -35
  25. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_nav.scss +0 -0
  26. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_navbar.scss +30 -1
  27. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_offcanvas.scss +19 -13
  28. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_pagination.scss +0 -0
  29. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_placeholders.scss +51 -0
  30. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_popover.scss +10 -10
  31. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_progress.scss +0 -0
  32. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_reboot.scss +12 -8
  33. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_root.scss +53 -0
  34. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_spinners.scss +2 -2
  35. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_tables.scss +1 -0
  36. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_toasts.scss +3 -3
  37. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_tooltip.scss +4 -4
  38. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_transitions.scss +6 -0
  39. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_type.scss +0 -0
  40. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_utilities.scss +44 -8
  41. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/_variables.scss +193 -28
  42. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/bootstrap-grid.scss +1 -1
  43. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/bootstrap-reboot.scss +1 -1
  44. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/bootstrap-utilities.scss +1 -1
  45. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/bootstrap.scss +2 -1
  46. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_floating-labels.scss +3 -1
  47. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_form-check.scss +1 -1
  48. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_form-control.scss +1 -1
  49. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_form-range.scss +1 -1
  50. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_form-select.scss +3 -0
  51. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_form-text.scss +0 -0
  52. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_input-group.scss +0 -0
  53. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_labels.scss +0 -0
  54. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/forms/_validation.scss +0 -0
  55. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_clearfix.scss +0 -0
  56. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_colored-links.scss +0 -0
  57. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_position.scss +0 -0
  58. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_ratio.scss +0 -0
  59. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_stacks.scss +15 -0
  60. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_stretched-link.scss +0 -0
  61. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_text-truncation.scss +0 -0
  62. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/helpers/_visually-hidden.scss +0 -0
  63. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_vr.scss +8 -0
  64. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_alert.scss +0 -0
  65. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_backdrop.scss +14 -0
  66. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_border-radius.scss +0 -0
  67. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_box-shadow.scss +0 -0
  68. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_breakpoints.scss +0 -0
  69. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_buttons.scss +1 -1
  70. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_caret.scss +0 -0
  71. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_clearfix.scss +0 -0
  72. data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_color-scheme.scss +7 -0
  73. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_container.scss +0 -0
  74. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_deprecate.scss +0 -0
  75. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_forms.scss +15 -5
  76. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_gradients.scss +0 -0
  77. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_grid.scss +40 -10
  78. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_image.scss +0 -0
  79. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_list-group.scss +0 -0
  80. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_lists.scss +0 -0
  81. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_pagination.scss +0 -0
  82. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_reset-text.scss +0 -0
  83. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_resize.scss +0 -0
  84. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_table-variants.scss +0 -0
  85. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_text-truncate.scss +0 -0
  86. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_transition.scss +0 -0
  87. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_utilities.scss +27 -6
  88. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/mixins/_visually-hidden.scss +0 -0
  89. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/utilities/_api.scss +0 -0
  90. data/{node_modules/bootstrap/scss → app/assets/stylesheets/administrate-bootstrap-theme/bootstrap}/vendor/_rfs.scss +55 -13
  91. data/app/assets/stylesheets/administrate-bootstrap-theme/colors/_autumn.scss +8 -0
  92. data/app/assets/stylesheets/administrate-bootstrap-theme/colors/_default.scss +8 -0
  93. data/app/assets/stylesheets/administrate-bootstrap-theme/colors/_forest.scss +9 -0
  94. data/app/assets/stylesheets/administrate-bootstrap-theme/colors/_industrial.scss +8 -0
  95. data/app/assets/stylesheets/administrate-bootstrap-theme/colors/_water.scss +8 -0
  96. data/app/assets/stylesheets/administrate-bootstrap-theme/components/_content_body.scss +21 -1
  97. data/app/assets/stylesheets/administrate-bootstrap-theme/components/_content_header.scss +1 -1
  98. data/app/assets/stylesheets/administrate-bootstrap-theme/components/_form.scss +2 -0
  99. data/app/assets/stylesheets/administrate-bootstrap-theme/components/_navigation.scss +22 -3
  100. data/app/assets/stylesheets/administrate-bootstrap-theme/components/_pagination.scss +1 -1
  101. data/app/assets/stylesheets/administrate-bootstrap-theme/fonts/_lato.scss +5 -0
  102. data/app/assets/stylesheets/administrate-bootstrap-theme/fonts/_montserrat.scss +5 -0
  103. data/app/assets/stylesheets/administrate-bootstrap-theme/fonts/_open_sans.scss +5 -0
  104. data/app/assets/stylesheets/administrate-bootstrap-theme/fonts/_roboto.scss +5 -0
  105. data/app/assets/stylesheets/administrate-bootstrap-theme/fonts/_source_sans_pro.scss +5 -0
  106. data/app/assets/stylesheets/administrate-bootstrap-theme/theme.scss +10 -51
  107. data/lib/administrate-bootstrap-theme/engine.rb +0 -2
  108. data/lib/administrate-bootstrap-theme/version.rb +2 -1
  109. data/lib/generators/administrate_bootstrap_theme/install/USAGE +10 -0
  110. data/lib/generators/administrate_bootstrap_theme/install/install_generator.rb +33 -0
  111. data/package.json +10 -0
  112. metadata +123 -111
  113. data/Rakefile +0 -16
  114. data/app/assets/javascripts/administrate-bootstrap-theme/theme.js +0 -2
  115. data/node_modules/bootstrap/js/src/alert.js +0 -141
  116. data/node_modules/bootstrap/js/src/base-component.js +0 -46
  117. data/node_modules/bootstrap/js/src/button.js +0 -95
  118. data/node_modules/bootstrap/js/src/carousel.js +0 -624
  119. data/node_modules/bootstrap/js/src/collapse.js +0 -410
  120. data/node_modules/bootstrap/js/src/dom/data.js +0 -57
  121. data/node_modules/bootstrap/js/src/dom/event-handler.js +0 -331
  122. data/node_modules/bootstrap/js/src/dom/manipulator.js +0 -80
  123. data/node_modules/bootstrap/js/src/dom/selector-engine.js +0 -75
  124. data/node_modules/bootstrap/js/src/dropdown.js +0 -543
  125. data/node_modules/bootstrap/js/src/modal.js +0 -582
  126. data/node_modules/bootstrap/js/src/offcanvas.js +0 -279
  127. data/node_modules/bootstrap/js/src/popover.js +0 -171
  128. data/node_modules/bootstrap/js/src/scrollspy.js +0 -319
  129. data/node_modules/bootstrap/js/src/tab.js +0 -220
  130. data/node_modules/bootstrap/js/src/toast.js +0 -219
  131. data/node_modules/bootstrap/js/src/tooltip.js +0 -802
  132. data/node_modules/bootstrap/js/src/util/index.js +0 -253
  133. data/node_modules/bootstrap/js/src/util/sanitizer.js +0 -127
  134. data/node_modules/bootstrap/js/src/util/scrollbar.js +0 -70
  135. data/node_modules/bootstrap/scss/_grid.scss +0 -22
  136. data/node_modules/bootstrap/scss/_root.scss +0 -16
@@ -90,6 +90,10 @@ $theme-colors: (
90
90
  ) !default;
91
91
  // scss-docs-end theme-colors-map
92
92
 
93
+ // scss-docs-start theme-colors-rgb
94
+ $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default;
95
+ // scss-docs-end theme-colors-rgb
96
+
93
97
  // 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.
94
98
  // See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
95
99
  $min-contrast-ratio: 4.5 !default;
@@ -198,6 +202,126 @@ $cyan-600: shade-color($cyan, 20%) !default;
198
202
  $cyan-700: shade-color($cyan, 40%) !default;
199
203
  $cyan-800: shade-color($cyan, 60%) !default;
200
204
  $cyan-900: shade-color($cyan, 80%) !default;
205
+
206
+ $blues: (
207
+ "blue-100": $blue-100,
208
+ "blue-200": $blue-200,
209
+ "blue-300": $blue-300,
210
+ "blue-400": $blue-400,
211
+ "blue-500": $blue-500,
212
+ "blue-600": $blue-600,
213
+ "blue-700": $blue-700,
214
+ "blue-800": $blue-800,
215
+ "blue-900": $blue-900
216
+ ) !default;
217
+
218
+ $indigos: (
219
+ "indigo-100": $indigo-100,
220
+ "indigo-200": $indigo-200,
221
+ "indigo-300": $indigo-300,
222
+ "indigo-400": $indigo-400,
223
+ "indigo-500": $indigo-500,
224
+ "indigo-600": $indigo-600,
225
+ "indigo-700": $indigo-700,
226
+ "indigo-800": $indigo-800,
227
+ "indigo-900": $indigo-900
228
+ ) !default;
229
+
230
+ $purples: (
231
+ "purple-100": $purple-200,
232
+ "purple-200": $purple-100,
233
+ "purple-300": $purple-300,
234
+ "purple-400": $purple-400,
235
+ "purple-500": $purple-500,
236
+ "purple-600": $purple-600,
237
+ "purple-700": $purple-700,
238
+ "purple-800": $purple-800,
239
+ "purple-900": $purple-900
240
+ ) !default;
241
+
242
+ $pinks: (
243
+ "pink-100": $pink-100,
244
+ "pink-200": $pink-200,
245
+ "pink-300": $pink-300,
246
+ "pink-400": $pink-400,
247
+ "pink-500": $pink-500,
248
+ "pink-600": $pink-600,
249
+ "pink-700": $pink-700,
250
+ "pink-800": $pink-800,
251
+ "pink-900": $pink-900
252
+ ) !default;
253
+
254
+ $reds: (
255
+ "red-100": $red-100,
256
+ "red-200": $red-200,
257
+ "red-300": $red-300,
258
+ "red-400": $red-400,
259
+ "red-500": $red-500,
260
+ "red-600": $red-600,
261
+ "red-700": $red-700,
262
+ "red-800": $red-800,
263
+ "red-900": $red-900
264
+ ) !default;
265
+
266
+ $oranges: (
267
+ "orange-100": $orange-100,
268
+ "orange-200": $orange-200,
269
+ "orange-300": $orange-300,
270
+ "orange-400": $orange-400,
271
+ "orange-500": $orange-500,
272
+ "orange-600": $orange-600,
273
+ "orange-700": $orange-700,
274
+ "orange-800": $orange-800,
275
+ "orange-900": $orange-900
276
+ ) !default;
277
+
278
+ $yellows: (
279
+ "yellow-100": $yellow-100,
280
+ "yellow-200": $yellow-200,
281
+ "yellow-300": $yellow-300,
282
+ "yellow-400": $yellow-400,
283
+ "yellow-500": $yellow-500,
284
+ "yellow-600": $yellow-600,
285
+ "yellow-700": $yellow-700,
286
+ "yellow-800": $yellow-800,
287
+ "yellow-900": $yellow-900
288
+ ) !default;
289
+
290
+ $greens: (
291
+ "green-100": $green-100,
292
+ "green-200": $green-200,
293
+ "green-300": $green-300,
294
+ "green-400": $green-400,
295
+ "green-500": $green-500,
296
+ "green-600": $green-600,
297
+ "green-700": $green-700,
298
+ "green-800": $green-800,
299
+ "green-900": $green-900
300
+ ) !default;
301
+
302
+ $teals: (
303
+ "teal-100": $teal-100,
304
+ "teal-200": $teal-200,
305
+ "teal-300": $teal-300,
306
+ "teal-400": $teal-400,
307
+ "teal-500": $teal-500,
308
+ "teal-600": $teal-600,
309
+ "teal-700": $teal-700,
310
+ "teal-800": $teal-800,
311
+ "teal-900": $teal-900
312
+ ) !default;
313
+
314
+ $cyans: (
315
+ "cyan-100": $cyan-100,
316
+ "cyan-200": $cyan-200,
317
+ "cyan-300": $cyan-300,
318
+ "cyan-400": $cyan-400,
319
+ "cyan-500": $cyan-500,
320
+ "cyan-600": $cyan-600,
321
+ "cyan-700": $cyan-700,
322
+ "cyan-800": $cyan-800,
323
+ "cyan-900": $cyan-900
324
+ ) !default;
201
325
  // fusv-enable
202
326
 
203
327
  // Characters which are escaped by the escape-svg function
@@ -221,6 +345,7 @@ $enable-transitions: true !default;
221
345
  $enable-reduced-motion: true !default;
222
346
  $enable-smooth-scroll: true !default;
223
347
  $enable-grid-classes: true !default;
348
+ $enable-cssgrid: false !default;
224
349
  $enable-button-pointers: true !default;
225
350
  $enable-rfs: true !default;
226
351
  $enable-validation-icons: true !default;
@@ -250,8 +375,8 @@ $gradient: linear-gradient(180deg, rgba($white, .15), rgba($white, 0)) !default;
250
375
  $spacer: 1rem !default;
251
376
  $spacers: (
252
377
  0: 0,
253
- 1: $spacer / 4,
254
- 2: $spacer / 2,
378
+ 1: $spacer * .25,
379
+ 2: $spacer * .5,
255
380
  3: $spacer,
256
381
  4: $spacer * 1.5,
257
382
  5: $spacer * 3,
@@ -280,6 +405,28 @@ $body-bg: $white !default;
280
405
  $body-color: $gray-900 !default;
281
406
  $body-text-align: null !default;
282
407
 
408
+ // Utilities maps
409
+ //
410
+ // Extends the default `$theme-colors` maps to help create our utilities.
411
+
412
+ // scss-docs-start utilities-colors
413
+ $utilities-colors: map-merge(
414
+ $theme-colors-rgb,
415
+ (
416
+ "black": to-rgb($black),
417
+ "white": to-rgb($white),
418
+ "body": to-rgb($body-color)
419
+ )
420
+ ) !default;
421
+ // scss-docs-end utilities-colors
422
+
423
+ // scss-docs-start utilities-text-colors
424
+ $utilities-text-colors: map-loop($utilities-colors, rgba-css-var, "$key", "text") !default;
425
+ // scss-docs-end utilities-text-colors
426
+
427
+ // scss-docs-start utilities-bg-colors
428
+ $utilities-bg-colors: map-loop($utilities-colors, rgba-css-var, "$key", "bg") !default;
429
+ // scss-docs-end utilities-bg-colors
283
430
 
284
431
  // Links
285
432
  //
@@ -350,7 +497,7 @@ $gutters: $spacers !default;
350
497
 
351
498
  // Container padding
352
499
 
353
- $container-padding-x: $grid-gutter-width / 2 !default;
500
+ $container-padding-x: $grid-gutter-width * .5 !default;
354
501
 
355
502
 
356
503
  // Components
@@ -397,6 +544,7 @@ $transition-base: all .2s ease-in-out !default;
397
544
  $transition-fade: opacity .15s linear !default;
398
545
  // scss-docs-start collapse-transition
399
546
  $transition-collapse: height .35s ease !default;
547
+ $transition-collapse-width: width .35s ease !default;
400
548
  // scss-docs-end collapse-transition
401
549
 
402
550
  // stylelint-disable function-disallowed-list
@@ -422,8 +570,8 @@ $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberati
422
570
  $font-family-base: var(--#{$variable-prefix}font-sans-serif) !default;
423
571
  $font-family-code: var(--#{$variable-prefix}font-monospace) !default;
424
572
 
425
- // $font-size-root effects the value of `rem`, which is used for as well font sizes, paddings and margins
426
- // $font-size-base effects the font size of the body text
573
+ // $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
574
+ // $font-size-base affects the font size of the body text
427
575
  $font-size-root: null !default;
428
576
  $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
429
577
  $font-size-sm: $font-size-base * .875 !default;
@@ -461,7 +609,7 @@ $font-sizes: (
461
609
  // scss-docs-end font-sizes
462
610
 
463
611
  // scss-docs-start headings-variables
464
- $headings-margin-bottom: $spacer / 2 !default;
612
+ $headings-margin-bottom: $spacer * .5 !default;
465
613
  $headings-font-family: null !default;
466
614
  $headings-font-style: null !default;
467
615
  $headings-font-weight: 500 !default;
@@ -535,6 +683,7 @@ $table-cell-vertical-align: top !default;
535
683
 
536
684
  $table-color: $body-color !default;
537
685
  $table-bg: transparent !default;
686
+ $table-accent-bg: transparent !default;
538
687
 
539
688
  $table-th-font-weight: null !default;
540
689
 
@@ -691,7 +840,7 @@ $input-padding-y-lg: $input-btn-padding-y-lg !default;
691
840
  $input-padding-x-lg: $input-btn-padding-x-lg !default;
692
841
  $input-font-size-lg: $input-btn-font-size-lg !default;
693
842
 
694
- $input-bg: $white !default;
843
+ $input-bg: $body-bg !default;
695
844
  $input-disabled-bg: $gray-200 !default;
696
845
  $input-disabled-border-color: null !default;
697
846
 
@@ -717,13 +866,15 @@ $input-height-border: $input-border-width * 2 !default;
717
866
 
718
867
  $input-height-inner: add($input-line-height * 1em, $input-padding-y * 2) !default;
719
868
  $input-height-inner-half: add($input-line-height * .5em, $input-padding-y) !default;
720
- $input-height-inner-quarter: add($input-line-height * .25em, $input-padding-y / 2) !default;
869
+ $input-height-inner-quarter: add($input-line-height * .25em, $input-padding-y * .5) !default;
721
870
 
722
871
  $input-height: add($input-line-height * 1em, add($input-padding-y * 2, $input-height-border, false)) !default;
723
872
  $input-height-sm: add($input-line-height * 1em, add($input-padding-y-sm * 2, $input-height-border, false)) !default;
724
873
  $input-height-lg: add($input-line-height * 1em, add($input-padding-y-lg * 2, $input-height-border, false)) !default;
725
874
 
726
875
  $input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
876
+
877
+ $form-color-width: 3rem !default;
727
878
  // scss-docs-end form-input-variables
728
879
 
729
880
  // scss-docs-start form-check-variables
@@ -738,7 +889,7 @@ $form-check-transition: null !default;
738
889
  $form-check-input-active-filter: brightness(90%) !default;
739
890
 
740
891
  $form-check-input-bg: $input-bg !default;
741
- $form-check-input-border: 1px solid rgba(0, 0, 0, .25) !default;
892
+ $form-check-input-border: 1px solid rgba($black, .25) !default;
742
893
  $form-check-input-border-radius: .25em !default;
743
894
  $form-check-radio-border-radius: 50% !default;
744
895
  $form-check-input-focus-border: $input-focus-border-color !default;
@@ -825,6 +976,8 @@ $form-select-font-size-sm: $input-font-size-sm !default;
825
976
  $form-select-padding-y-lg: $input-padding-y-lg !default;
826
977
  $form-select-padding-x-lg: $input-padding-x-lg !default;
827
978
  $form-select-font-size-lg: $input-font-size-lg !default;
979
+
980
+ $form-select-transition: $input-transition !default;
828
981
  // scss-docs-end form-select-variables
829
982
 
830
983
  // scss-docs-start form-range-variables
@@ -856,6 +1009,7 @@ $form-file-button-hover-bg: shade-color($form-file-button-bg, 5%) !default
856
1009
 
857
1010
  // scss-docs-start form-floating-variables
858
1011
  $form-floating-height: add(3.5rem, $input-height-border) !default;
1012
+ $form-floating-line-height: 1.25 !default;
859
1013
  $form-floating-padding-x: $input-padding-x !default;
860
1014
  $form-floating-padding-y: 1rem !default;
861
1015
  $form-floating-input-padding-t: 1.625rem !default;
@@ -902,9 +1056,10 @@ $form-validation-states: (
902
1056
  $zindex-dropdown: 1000 !default;
903
1057
  $zindex-sticky: 1020 !default;
904
1058
  $zindex-fixed: 1030 !default;
905
- $zindex-offcanvas: 1040 !default;
1059
+ $zindex-offcanvas-backdrop: 1040 !default;
1060
+ $zindex-offcanvas: 1045 !default;
906
1061
  $zindex-modal-backdrop: 1050 !default;
907
- $zindex-modal: 1060 !default;
1062
+ $zindex-modal: 1055 !default;
908
1063
  $zindex-popover: 1070 !default;
909
1064
  $zindex-tooltip: 1080 !default;
910
1065
  // scss-docs-end zindex-stack
@@ -917,8 +1072,8 @@ $nav-link-padding-y: .5rem !default;
917
1072
  $nav-link-padding-x: 1rem !default;
918
1073
  $nav-link-font-size: null !default;
919
1074
  $nav-link-font-weight: null !default;
920
- $nav-link-color: null !default;
921
- $nav-link-hover-color: null !default;
1075
+ $nav-link-color: $link-color !default;
1076
+ $nav-link-hover-color: $link-hover-color !default;
922
1077
  $nav-link-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out !default;
923
1078
  $nav-link-disabled-color: $gray-600 !default;
924
1079
 
@@ -939,7 +1094,7 @@ $nav-pills-link-active-bg: $component-active-bg !default;
939
1094
  // Navbar
940
1095
 
941
1096
  // scss-docs-start navbar-variables
942
- $navbar-padding-y: $spacer / 2 !default;
1097
+ $navbar-padding-y: $spacer * .5 !default;
943
1098
  $navbar-padding-x: null !default;
944
1099
 
945
1100
  $navbar-nav-link-padding-x: .5rem !default;
@@ -948,7 +1103,7 @@ $navbar-brand-font-size: $font-size-lg !default;
948
1103
  // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
949
1104
  $nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default;
950
1105
  $navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
951
- $navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2 !default;
1106
+ $navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) * .5 !default;
952
1107
  $navbar-brand-margin-end: 1rem !default;
953
1108
 
954
1109
  $navbar-toggler-padding-y: .25rem !default;
@@ -998,7 +1153,7 @@ $dropdown-border-radius: $border-radius !default;
998
1153
  $dropdown-border-width: $border-width !default;
999
1154
  $dropdown-inner-border-radius: subtract($dropdown-border-radius, $dropdown-border-width) !default;
1000
1155
  $dropdown-divider-bg: $dropdown-border-color !default;
1001
- $dropdown-divider-margin-y: $spacer / 2 !default;
1156
+ $dropdown-divider-margin-y: $spacer * .5 !default;
1002
1157
  $dropdown-box-shadow: $box-shadow !default;
1003
1158
 
1004
1159
  $dropdown-link-color: $gray-900 !default;
@@ -1010,7 +1165,7 @@ $dropdown-link-active-bg: $component-active-bg !default;
1010
1165
 
1011
1166
  $dropdown-link-disabled-color: $gray-500 !default;
1012
1167
 
1013
- $dropdown-item-padding-y: $spacer / 4 !default;
1168
+ $dropdown-item-padding-y: $spacer * .25 !default;
1014
1169
  $dropdown-item-padding-x: $spacer !default;
1015
1170
 
1016
1171
  $dropdown-header-color: $gray-600 !default;
@@ -1074,17 +1229,25 @@ $pagination-border-radius-lg: $border-radius-lg !default;
1074
1229
  // scss-docs-end pagination-variables
1075
1230
 
1076
1231
 
1232
+ // Placeholders
1233
+
1234
+ // scss-docs-start placeholders
1235
+ $placeholder-opacity-max: .5 !default;
1236
+ $placeholder-opacity-min: .2 !default;
1237
+ // scss-docs-end placeholders
1238
+
1077
1239
  // Cards
1078
1240
 
1079
1241
  // scss-docs-start card-variables
1080
1242
  $card-spacer-y: $spacer !default;
1081
1243
  $card-spacer-x: $spacer !default;
1082
- $card-title-spacer-y: $spacer / 2 !default;
1244
+ $card-title-spacer-y: $spacer * .5 !default;
1083
1245
  $card-border-width: $border-width !default;
1084
- $card-border-radius: $border-radius !default;
1085
1246
  $card-border-color: rgba($black, .125) !default;
1247
+ $card-border-radius: $border-radius !default;
1248
+ $card-box-shadow: null !default;
1086
1249
  $card-inner-border-radius: subtract($card-border-radius, $card-border-width) !default;
1087
- $card-cap-padding-y: $card-spacer-y / 2 !default;
1250
+ $card-cap-padding-y: $card-spacer-y * .5 !default;
1088
1251
  $card-cap-padding-x: $card-spacer-x !default;
1089
1252
  $card-cap-bg: rgba($black, .03) !default;
1090
1253
  $card-cap-color: null !default;
@@ -1092,7 +1255,7 @@ $card-height: null !default;
1092
1255
  $card-color: null !default;
1093
1256
  $card-bg: $white !default;
1094
1257
  $card-img-overlay-padding: $spacer !default;
1095
- $card-group-margin: $grid-gutter-width / 2 !default;
1258
+ $card-group-margin: $grid-gutter-width * .5 !default;
1096
1259
  // scss-docs-end card-variables
1097
1260
 
1098
1261
  // Accordion
@@ -1122,10 +1285,10 @@ $accordion-button-focus-border-color: $input-focus-border-color !default;
1122
1285
  $accordion-button-focus-box-shadow: $btn-focus-box-shadow !default;
1123
1286
 
1124
1287
  $accordion-icon-width: 1.25rem !default;
1125
- $accordion-icon-color: $accordion-color !default;
1288
+ $accordion-icon-color: $accordion-button-color !default;
1126
1289
  $accordion-icon-active-color: $accordion-button-active-color !default;
1127
1290
  $accordion-icon-transition: transform .2s ease-in-out !default;
1128
- $accordion-icon-transform: rotate(180deg) !default;
1291
+ $accordion-icon-transform: rotate(-180deg) !default;
1129
1292
 
1130
1293
  $accordion-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
1131
1294
  $accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-active-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
@@ -1140,8 +1303,8 @@ $tooltip-color: $white !default;
1140
1303
  $tooltip-bg: $black !default;
1141
1304
  $tooltip-border-radius: $border-radius !default;
1142
1305
  $tooltip-opacity: .9 !default;
1143
- $tooltip-padding-y: $spacer / 4 !default;
1144
- $tooltip-padding-x: $spacer / 2 !default;
1306
+ $tooltip-padding-y: $spacer * .25 !default;
1307
+ $tooltip-padding-x: $spacer * .5 !default;
1145
1308
  $tooltip-margin: 0 !default;
1146
1309
 
1147
1310
  $tooltip-arrow-width: .8rem !default;
@@ -1157,7 +1320,7 @@ $form-feedback-tooltip-font-size: $tooltip-font-size !default;
1157
1320
  $form-feedback-tooltip-line-height: null !default;
1158
1321
  $form-feedback-tooltip-opacity: $tooltip-opacity !default;
1159
1322
  $form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
1160
- // scss-docs-start tooltip-feedback-variables
1323
+ // scss-docs-end tooltip-feedback-variables
1161
1324
 
1162
1325
 
1163
1326
  // Popovers
@@ -1307,7 +1470,7 @@ $list-group-border-color: rgba($black, .125) !default;
1307
1470
  $list-group-border-width: $border-width !default;
1308
1471
  $list-group-border-radius: $border-radius !default;
1309
1472
 
1310
- $list-group-item-padding-y: $spacer / 2 !default;
1473
+ $list-group-item-padding-y: $spacer * .5 !default;
1311
1474
  $list-group-item-padding-x: $spacer !default;
1312
1475
  $list-group-item-bg-scale: -80% !default;
1313
1476
  $list-group-item-color-scale: 40% !default;
@@ -1406,6 +1569,7 @@ $carousel-dark-control-icon-filter: invert(1) grayscale(100) !default;
1406
1569
  // scss-docs-start spinner-variables
1407
1570
  $spinner-width: 2rem !default;
1408
1571
  $spinner-height: $spinner-width !default;
1572
+ $spinner-vertical-align: -.125em !default;
1409
1573
  $spinner-border-width: .25em !default;
1410
1574
  $spinner-animation-speed: .75s !default;
1411
1575
 
@@ -1446,8 +1610,9 @@ $offcanvas-border-width: $modal-content-border-width !default;
1446
1610
  $offcanvas-title-line-height: $modal-title-line-height !default;
1447
1611
  $offcanvas-bg-color: $modal-content-bg !default;
1448
1612
  $offcanvas-color: $modal-content-color !default;
1449
- $offcanvas-body-backdrop-color: rgba($modal-backdrop-bg, $modal-backdrop-opacity) !default;
1450
1613
  $offcanvas-box-shadow: $modal-content-box-shadow-xs !default;
1614
+ $offcanvas-backdrop-bg: $modal-backdrop-bg !default;
1615
+ $offcanvas-backdrop-opacity: $modal-backdrop-opacity !default;
1451
1616
  // scss-docs-end offcanvas-variables
1452
1617
 
1453
1618
  // Code
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap Grid v5.0.0-beta3 (https://getbootstrap.com/)
2
+ * Bootstrap Grid v5.1.0 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2021 The Bootstrap Authors
4
4
  * Copyright 2011-2021 Twitter, Inc.
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap Reboot v5.0.0-beta3 (https://getbootstrap.com/)
2
+ * Bootstrap Reboot v5.1.0 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2021 The Bootstrap Authors
4
4
  * Copyright 2011-2021 Twitter, Inc.
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap Utilities v5.0.0-beta3 (https://getbootstrap.com/)
2
+ * Bootstrap Utilities v5.1.0 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2021 The Bootstrap Authors
4
4
  * Copyright 2011-2021 Twitter, Inc.
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap v5.0.0-beta3 (https://getbootstrap.com/)
2
+ * Bootstrap v5.1.0 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2021 The Bootstrap Authors
4
4
  * Copyright 2011-2021 Twitter, Inc.
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -43,6 +43,7 @@
43
43
  @import "carousel";
44
44
  @import "spinners";
45
45
  @import "offcanvas";
46
+ @import "placeholders";
46
47
 
47
48
  // Helpers
48
49
  @import "helpers";
@@ -4,7 +4,7 @@
4
4
  > .form-control,
5
5
  > .form-select {
6
6
  height: $form-floating-height;
7
- padding: $form-floating-padding-y $form-floating-padding-x;
7
+ line-height: $form-floating-line-height;
8
8
  }
9
9
 
10
10
  > label {
@@ -21,6 +21,8 @@
21
21
 
22
22
  // stylelint-disable no-duplicate-selectors
23
23
  > .form-control {
24
+ padding: $form-floating-padding-y $form-floating-padding-x;
25
+
24
26
  &::placeholder {
25
27
  color: transparent;
26
28
  }
@@ -17,7 +17,7 @@
17
17
  .form-check-input {
18
18
  width: $form-check-input-width;
19
19
  height: $form-check-input-width;
20
- margin-top: ($line-height-base - $form-check-input-width) / 2; // line-height minus check height
20
+ margin-top: ($line-height-base - $form-check-input-width) * .5; // line-height minus check height
21
21
  vertical-align: top;
22
22
  background-color: $form-check-input-bg;
23
23
  background-repeat: no-repeat;
@@ -199,7 +199,7 @@ textarea {
199
199
  // stylelint-enable selector-no-qualifying-type
200
200
 
201
201
  .form-control-color {
202
- max-width: 3rem;
202
+ width: $form-color-width;
203
203
  height: auto; // Override fixed browser height
204
204
  padding: $input-padding-y;
205
205
 
@@ -27,7 +27,7 @@
27
27
  &::-webkit-slider-thumb {
28
28
  width: $form-range-thumb-width;
29
29
  height: $form-range-thumb-height;
30
- margin-top: ($form-range-track-height - $form-range-thumb-height) / 2; // Webkit specific
30
+ margin-top: ($form-range-track-height - $form-range-thumb-height) * .5; // Webkit specific
31
31
  @include gradient-bg($form-range-thumb-bg);
32
32
  border: $form-range-thumb-border;
33
33
  @include border-radius($form-range-thumb-border-radius);
@@ -7,6 +7,8 @@
7
7
  display: block;
8
8
  width: 100%;
9
9
  padding: $form-select-padding-y $form-select-indicator-padding $form-select-padding-y $form-select-padding-x;
10
+ // stylelint-disable-next-line property-no-vendor-prefix
11
+ -moz-padding-start: subtract($form-select-padding-x, 3px); // See https://github.com/twbs/bootstrap/issues/32636
10
12
  font-family: $form-select-font-family;
11
13
  @include font-size($form-select-font-size);
12
14
  font-weight: $form-select-font-weight;
@@ -20,6 +22,7 @@
20
22
  border: $form-select-border-width solid $form-select-border-color;
21
23
  @include border-radius($form-select-border-radius, 0);
22
24
  @include box-shadow($form-select-box-shadow);
25
+ @include transition($form-select-transition);
23
26
  appearance: none;
24
27
 
25
28
  &:focus {
@@ -0,0 +1,15 @@
1
+ // scss-docs-start stacks
2
+ .hstack {
3
+ display: flex;
4
+ flex-direction: row;
5
+ align-items: center;
6
+ align-self: stretch;
7
+ }
8
+
9
+ .vstack {
10
+ display: flex;
11
+ flex: 1 1 auto;
12
+ flex-direction: column;
13
+ align-self: stretch;
14
+ }
15
+ // scss-docs-end stacks
@@ -0,0 +1,8 @@
1
+ .vr {
2
+ display: inline-block;
3
+ align-self: stretch;
4
+ width: 1px;
5
+ min-height: 1em;
6
+ background-color: currentColor;
7
+ opacity: $hr-opacity;
8
+ }
@@ -0,0 +1,14 @@
1
+ // Shared between modals and offcanvases
2
+ @mixin overlay-backdrop($zindex, $backdrop-bg, $backdrop-opacity) {
3
+ position: fixed;
4
+ top: 0;
5
+ left: 0;
6
+ z-index: $zindex;
7
+ width: 100vw;
8
+ height: 100vh;
9
+ background-color: $backdrop-bg;
10
+
11
+ // Fade for backdrop
12
+ &.fade { opacity: 0; }
13
+ &.show { opacity: $backdrop-opacity; }
14
+ }
@@ -11,7 +11,7 @@
11
11
  $hover-background: if($color == $color-contrast-light, shade-color($background, $btn-hover-bg-shade-amount), tint-color($background, $btn-hover-bg-tint-amount)),
12
12
  $hover-border: if($color == $color-contrast-light, shade-color($border, $btn-hover-border-shade-amount), tint-color($border, $btn-hover-border-tint-amount)),
13
13
  $hover-color: color-contrast($hover-background),
14
- $active-background: if($color == $color-contrast-light, shade-color($background,$btn-active-bg-shade-amount), tint-color($background, $btn-active-bg-tint-amount)),
14
+ $active-background: if($color == $color-contrast-light, shade-color($background, $btn-active-bg-shade-amount), tint-color($background, $btn-active-bg-tint-amount)),
15
15
  $active-border: if($color == $color-contrast-light, shade-color($border, $btn-active-border-shade-amount), tint-color($border, $btn-active-border-tint-amount)),
16
16
  $active-color: color-contrast($active-background),
17
17
  $disabled-background: $background,
@@ -0,0 +1,7 @@
1
+ // scss-docs-start mixin-color-scheme
2
+ @mixin color-scheme($name) {
3
+ @media (prefers-color-scheme: #{$name}) {
4
+ @content;
5
+ }
6
+ }
7
+ // scss-docs-end mixin-color-scheme