bootstrap-italia 2.12.1 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.EN.md +1 -1
- package/README.md +1 -1
- package/dist/bootstrap-italia.esm.js +1 -1
- package/dist/css/bootstrap-italia.min.css +9 -1
- package/dist/css/bootstrap-italia.min.css.map +1 -1
- package/dist/js/bootstrap-italia.bundle.min.js +19 -23
- package/dist/js/bootstrap-italia.min.js +18 -2
- package/dist/plugins/accept-overlay.js +19 -9
- package/dist/plugins/accept-overlay.js.map +1 -1
- package/dist/plugins/accordion.js +19 -24
- package/dist/plugins/accordion.js.map +1 -1
- package/dist/plugins/alert.js +67 -2
- package/dist/plugins/alert.js.map +1 -1
- package/dist/plugins/{backToTop.js → back-to-top.js} +14 -5
- package/dist/plugins/back-to-top.js.map +1 -0
- package/dist/plugins/base-component.js +91 -0
- package/dist/plugins/base-component.js.map +1 -0
- package/dist/plugins/button.js +58 -2
- package/dist/plugins/button.js.map +1 -1
- package/dist/plugins/carousel-bi.js +19 -9
- package/dist/plugins/carousel-bi.js.map +1 -1
- package/dist/plugins/carousel.js +445 -2
- package/dist/plugins/carousel.js.map +1 -1
- package/dist/plugins/collapse.js +273 -2
- package/dist/plugins/collapse.js.map +1 -1
- package/dist/plugins/cookiebar.js +39 -52
- package/dist/plugins/cookiebar.js.map +1 -1
- package/dist/plugins/dimmer.js +19 -8
- package/dist/plugins/dimmer.js.map +1 -1
- package/dist/plugins/dom/data.js +61 -0
- package/dist/plugins/dom/data.js.map +1 -0
- package/dist/plugins/dom/event-handler.js +296 -0
- package/dist/plugins/dom/event-handler.js.map +1 -0
- package/dist/plugins/dom/manipulator.js +76 -0
- package/dist/plugins/dom/manipulator.js.map +1 -0
- package/dist/plugins/dom/selector-engine.js +82 -0
- package/dist/plugins/dom/selector-engine.js.map +1 -0
- package/dist/plugins/dropdown.js +433 -2
- package/dist/plugins/dropdown.js.map +1 -1
- package/dist/plugins/fonts-loader.js +9 -1
- package/dist/plugins/fonts-loader.js.map +1 -1
- package/dist/plugins/form-validate.js +22 -8
- package/dist/plugins/form-validate.js.map +1 -1
- package/dist/plugins/forward.js +21 -18
- package/dist/plugins/forward.js.map +1 -1
- package/dist/plugins/header-sticky.js +11 -2
- package/dist/plugins/header-sticky.js.map +1 -1
- package/dist/plugins/history-back.js +17 -17
- package/dist/plugins/history-back.js.map +1 -1
- package/dist/plugins/init.js +9 -0
- package/dist/plugins/init.js.map +1 -1
- package/dist/plugins/input-label.js +14 -3
- package/dist/plugins/input-label.js.map +1 -1
- package/dist/plugins/input-number.js +13 -4
- package/dist/plugins/input-number.js.map +1 -1
- package/dist/plugins/input-password.js +48 -37
- package/dist/plugins/input-password.js.map +1 -1
- package/dist/plugins/input-search-autocomplete.js +9 -11
- package/dist/plugins/input-search-autocomplete.js.map +1 -1
- package/dist/plugins/input.js +12 -3
- package/dist/plugins/input.js.map +1 -1
- package/dist/plugins/list.js +23 -12
- package/dist/plugins/list.js.map +1 -1
- package/dist/plugins/masonry.js +29 -29
- package/dist/plugins/masonry.js.map +1 -1
- package/dist/plugins/modal.js +358 -2
- package/dist/plugins/modal.js.map +1 -1
- package/dist/plugins/navbar-collapsible.js +55 -45
- package/dist/plugins/navbar-collapsible.js.map +1 -1
- package/dist/plugins/navscroll.js +16 -23
- package/dist/plugins/navscroll.js.map +1 -1
- package/dist/plugins/notification.js +34 -23
- package/dist/plugins/notification.js.map +1 -1
- package/dist/plugins/offcanvas.js +259 -2
- package/dist/plugins/offcanvas.js.map +1 -1
- package/dist/plugins/popover.js +76 -2
- package/dist/plugins/popover.js.map +1 -1
- package/dist/plugins/progress-donut.js +19 -12
- package/dist/plugins/progress-donut.js.map +1 -1
- package/dist/plugins/scrollspy.js +273 -2
- package/dist/plugins/scrollspy.js.map +1 -1
- package/dist/plugins/select-autocomplete.js +10 -1
- package/dist/plugins/select-autocomplete.js.map +1 -1
- package/dist/plugins/sticky.js +21 -18
- package/dist/plugins/sticky.js.map +1 -1
- package/dist/plugins/tab.js +244 -27
- package/dist/plugins/tab.js.map +1 -1
- package/dist/plugins/toast.js +203 -2
- package/dist/plugins/toast.js.map +1 -1
- package/dist/plugins/tooltip.js +602 -2
- package/dist/plugins/tooltip.js.map +1 -1
- package/dist/plugins/track-focus.js +8 -0
- package/dist/plugins/track-focus.js.map +1 -1
- package/dist/plugins/transfer.js +11 -16
- package/dist/plugins/transfer.js.map +1 -1
- package/dist/plugins/upload-dragdrop.js +13 -4
- package/dist/plugins/upload-dragdrop.js.map +1 -1
- package/dist/plugins/util/backdrop.js +155 -0
- package/dist/plugins/util/backdrop.js.map +1 -0
- package/dist/plugins/util/component-functions.js +38 -0
- package/dist/plugins/util/component-functions.js.map +1 -0
- package/dist/plugins/util/config.js +70 -0
- package/dist/plugins/util/config.js.map +1 -0
- package/dist/plugins/util/cookies.js +8 -0
- package/dist/plugins/util/cookies.js.map +1 -1
- package/dist/plugins/util/device.js +0 -3
- package/dist/plugins/util/device.js.map +1 -1
- package/dist/plugins/util/dom.js +8 -0
- package/dist/plugins/util/dom.js.map +1 -1
- package/dist/plugins/util/focustrap.js +121 -0
- package/dist/plugins/util/focustrap.js.map +1 -0
- package/dist/plugins/util/index.js +280 -0
- package/dist/plugins/util/index.js.map +1 -0
- package/dist/plugins/util/observer.js +8 -0
- package/dist/plugins/util/observer.js.map +1 -1
- package/dist/plugins/util/on-document-scroll.js +20 -9
- package/dist/plugins/util/on-document-scroll.js.map +1 -1
- package/dist/plugins/util/pageScroll.js +8 -0
- package/dist/plugins/util/pageScroll.js.map +1 -1
- package/dist/plugins/util/sanitizer.js +115 -0
- package/dist/plugins/util/sanitizer.js.map +1 -0
- package/dist/plugins/util/scrollbar.js +120 -0
- package/dist/plugins/util/scrollbar.js.map +1 -0
- package/dist/plugins/util/swipe.js +150 -0
- package/dist/plugins/util/swipe.js.map +1 -0
- package/dist/plugins/util/template-factory.js +166 -0
- package/dist/plugins/util/template-factory.js.map +1 -0
- package/dist/plugins/util/tween.js +10 -1
- package/dist/plugins/util/tween.js.map +1 -1
- package/dist/plugins/util/youtube-video.js +12 -21
- package/dist/plugins/util/youtube-video.js.map +1 -1
- package/dist/plugins/videoplayer.js +19 -8
- package/dist/plugins/videoplayer.js.map +1 -1
- package/dist/version.js +10 -3
- package/dist/version.js.map +1 -1
- package/package.json +6 -7
- package/src/js/bootstrap-italia.entry.js +8 -0
- package/src/js/bootstrap-italia.esm.js +9 -1
- package/src/js/icons.js +8 -0
- package/src/js/load-plugin.js +8 -0
- package/src/js/plugins/accept-overlay.js +18 -10
- package/src/js/plugins/accordion.js +16 -22
- package/src/js/plugins/alert.js +66 -2
- package/src/js/plugins/{backToTop.js → back-to-top.js} +12 -4
- package/src/js/plugins/base-component.js +89 -0
- package/src/js/plugins/button.js +57 -2
- package/src/js/plugins/carousel-bi.js +18 -9
- package/src/js/plugins/carousel.js +444 -2
- package/src/js/plugins/collapse.js +272 -2
- package/src/js/plugins/cookiebar.js +37 -60
- package/src/js/plugins/dimmer.js +18 -8
- package/src/js/plugins/dom/data.js +58 -0
- package/src/js/plugins/dom/event-handler.js +301 -0
- package/src/js/plugins/dom/manipulator.js +75 -0
- package/src/js/plugins/dom/selector-engine.js +80 -0
- package/src/js/plugins/dropdown.js +432 -2
- package/src/js/plugins/fonts-loader.js +9 -1
- package/src/js/plugins/form-validate.js +21 -8
- package/src/js/plugins/form.js +11 -3
- package/src/js/plugins/forward.js +18 -16
- package/src/js/plugins/header-sticky.js +10 -2
- package/src/js/plugins/history-back.js +14 -14
- package/src/js/plugins/init.js +8 -0
- package/src/js/plugins/input-label.js +13 -3
- package/src/js/plugins/input-number.js +12 -4
- package/src/js/plugins/input-password.js +46 -36
- package/src/js/plugins/input-search-autocomplete.js +9 -13
- package/src/js/plugins/input.js +11 -3
- package/src/js/plugins/list.js +22 -12
- package/src/js/plugins/masonry.js +26 -27
- package/src/js/plugins/modal.js +357 -2
- package/src/js/plugins/navbar-collapsible.js +55 -53
- package/src/js/plugins/navscroll.js +16 -23
- package/src/js/plugins/notification.js +33 -23
- package/src/js/plugins/offcanvas.js +258 -2
- package/src/js/plugins/popover.js +75 -2
- package/src/js/plugins/progress-donut.js +17 -13
- package/src/js/plugins/scrollspy.js +272 -2
- package/src/js/plugins/select-autocomplete.js +9 -1
- package/src/js/plugins/sticky.js +21 -23
- package/src/js/plugins/tab.js +243 -27
- package/src/js/plugins/toast.js +206 -2
- package/src/js/plugins/tooltip.js +601 -2
- package/src/js/plugins/track-focus.js +8 -0
- package/src/js/plugins/transfer.js +12 -24
- package/src/js/plugins/upload-dragdrop.js +12 -4
- package/src/js/plugins/util/backdrop.js +153 -0
- package/src/js/plugins/util/component-functions.js +36 -0
- package/src/js/plugins/util/config.js +68 -0
- package/src/js/plugins/util/cookies.js +8 -0
- package/src/js/plugins/util/device.js +0 -3
- package/src/js/plugins/util/dom.js +8 -0
- package/src/js/plugins/util/focustrap.js +119 -0
- package/src/js/plugins/util/index.js +317 -0
- package/src/js/plugins/util/observer.js +8 -0
- package/src/js/plugins/util/on-document-scroll.js +19 -9
- package/src/js/plugins/util/pageScroll.js +8 -0
- package/src/js/plugins/util/sanitizer.js +112 -0
- package/src/js/plugins/util/scrollbar.js +118 -0
- package/src/js/plugins/util/swipe.js +148 -0
- package/src/js/plugins/util/template-factory.js +164 -0
- package/src/js/plugins/util/tween.js +9 -1
- package/src/js/plugins/util/youtube-video.js +12 -21
- package/src/js/plugins/videoplayer.js +18 -8
- package/src/js/version.js +10 -3
- package/src/scss/base/_containers.scss +41 -0
- package/src/scss/base/_functions.scss +373 -0
- package/src/scss/base/_helpers.scss +10 -0
- package/src/scss/base/_maps.scss +54 -0
- package/src/scss/base/_mixins.scss +44 -0
- package/src/scss/base/_reboot.scss +590 -0
- package/src/scss/base/_root.scss +73 -0
- package/src/scss/base/_transitions.scss +27 -0
- package/src/scss/base/_utilities.scss +742 -0
- package/src/scss/base/_variables.scss +2123 -0
- package/src/scss/base/_version.scss +3 -0
- package/src/scss/base/helpers/_clearfix.scss +3 -0
- package/src/scss/base/helpers/_color-bg.scss +10 -0
- package/src/scss/base/helpers/_colored-links.scss +16 -0
- package/src/scss/base/helpers/_position.scss +36 -0
- package/src/scss/base/helpers/_ratio.scss +26 -0
- package/src/scss/base/helpers/_stacks.scss +15 -0
- package/src/scss/base/helpers/_stretched-link.scss +15 -0
- package/src/scss/base/helpers/_text-truncation.scss +7 -0
- package/src/scss/base/helpers/_visually-hidden.scss +8 -0
- package/src/scss/base/helpers/_vr.scss +8 -0
- package/src/scss/base/mixins/_alert.scss +15 -0
- package/src/scss/base/mixins/_backdrop.scss +18 -0
- package/src/scss/base/mixins/_banner.scss +11 -0
- package/src/scss/base/mixins/_border-radius.scss +77 -0
- package/src/scss/base/mixins/_box-shadow.scss +18 -0
- package/src/scss/base/mixins/_breakpoints.scss +127 -0
- package/src/scss/base/mixins/_buttons.scss +141 -0
- package/src/scss/base/mixins/_caret.scss +64 -0
- package/src/scss/base/mixins/_clearfix.scss +9 -0
- package/src/scss/base/mixins/_color-scheme.scss +7 -0
- package/src/scss/base/mixins/_container.scss +11 -0
- package/src/scss/base/mixins/_deprecate.scss +10 -0
- package/src/scss/base/mixins/_forms.scss +152 -0
- package/src/scss/base/mixins/_gradients.scss +47 -0
- package/src/scss/base/mixins/_grid.scss +151 -0
- package/src/scss/base/mixins/_image.scss +15 -0
- package/src/scss/base/mixins/_list-group.scss +24 -0
- package/src/scss/base/mixins/_lists.scss +7 -0
- package/src/scss/base/mixins/_pagination.scss +10 -0
- package/src/scss/base/mixins/_reset-text.scss +17 -0
- package/src/scss/base/mixins/_resize.scss +6 -0
- package/src/scss/base/mixins/_table-variants.scss +24 -0
- package/src/scss/base/mixins/_text-truncate.scss +8 -0
- package/src/scss/base/mixins/_transition.scss +26 -0
- package/src/scss/base/mixins/_utilities.scss +96 -0
- package/src/scss/base/mixins/_visually-hidden.scss +29 -0
- package/src/scss/base/utilities/_api.scss +45 -0
- package/src/scss/base/vendor/_rfs.scss +337 -0
- package/src/scss/bootstrap-italia.scss +137 -156
- package/src/scss/components/_accordion.scss +297 -0
- package/src/scss/components/_badge.scss +60 -0
- package/src/scss/components/_breadcrumb.scss +95 -0
- package/src/scss/components/_button-group.scss +143 -0
- package/src/scss/components/_buttons.scss +467 -0
- package/src/scss/{custom → components}/_card.scss +228 -0
- package/src/scss/{custom → components}/_carousel.scss +225 -3
- package/src/scss/components/_dropdown.scss +480 -0
- package/src/scss/{custom → components}/_grid.scss +33 -0
- package/src/scss/{custom → components}/_gridlist.scss +7 -0
- package/src/scss/{custom → components}/_hero.scss +23 -57
- package/src/scss/components/_images.scss +48 -0
- package/src/scss/{custom → components}/_linklist.scss +0 -1
- package/src/scss/components/_list-group.scss +190 -0
- package/src/scss/components/_modal.scss +475 -0
- package/src/scss/components/_nav.scss +169 -0
- package/src/scss/components/_navbar.scss +273 -0
- package/src/scss/components/_offcanvas.scss +144 -0
- package/src/scss/components/_pagination.scss +108 -0
- package/src/scss/components/_placeholders.scss +51 -0
- package/src/scss/components/_popover.scss +298 -0
- package/src/scss/components/_progress-bars.scss +126 -0
- package/src/scss/{custom → components}/_steppers.scss +2 -2
- package/src/scss/{custom → components}/_tab.scss +3 -7
- package/src/scss/components/_tables.scss +171 -0
- package/src/scss/components/_toasts.scss +73 -0
- package/src/scss/{custom → components}/_toolbar.scss +19 -12
- package/src/scss/components/_tooltip.scss +139 -0
- package/src/scss/{custom → components}/_type.scss +92 -0
- package/src/scss/forms/_accessible-autocomplete.scss +188 -0
- package/src/scss/forms/_floating-labels.scss +75 -0
- package/src/scss/forms/_form-check.scss +175 -0
- package/src/scss/forms/_form-control.scss +201 -0
- package/src/scss/forms/_form-range.scss +95 -0
- package/src/scss/{custom → forms}/_form-select.scss +72 -0
- package/src/scss/forms/_form-text.scss +11 -0
- package/src/scss/{custom → forms}/_forms.scss +8 -12
- package/src/scss/forms/_input-group.scss +129 -0
- package/src/scss/forms/_labels.scss +36 -0
- package/src/scss/forms/_validation.scss +12 -0
- package/src/scss/utilities/icons.scss +5 -5
- package/types/index.d.ts +4 -1
- package/types/plugins/video.ts +33 -0
- package/dist/plugins/backToTop.js.map +0 -1
- package/src/scss/_functions.scss +0 -38
- package/src/scss/_variables.scss +0 -639
- package/src/scss/custom/_accessible-autocomplete.scss +0 -30
- package/src/scss/custom/_accordion.scss +0 -176
- package/src/scss/custom/_badge.scss +0 -29
- package/src/scss/custom/_breadcrumb.scss +0 -51
- package/src/scss/custom/_buttons.scss +0 -235
- package/src/scss/custom/_componente-base.scss +0 -6
- package/src/scss/custom/_dropdown.scss +0 -248
- package/src/scss/custom/_form-datepicker.scss +0 -604
- package/src/scss/custom/_images.scss +0 -10
- package/src/scss/custom/_modal.scss +0 -248
- package/src/scss/custom/_popover.scss +0 -106
- package/src/scss/custom/_progress-bars.scss +0 -70
- package/src/scss/custom/_tables.scss +0 -11
- package/src/scss/custom/_timepicker.scss +0 -252
- package/src/scss/custom/_tooltip.scss +0 -33
- package/src/scss/custom/_version.scss +0 -3
- package/src/scss/custom/mixins/_buttons.scss +0 -67
- package/src/scss/utilities/colors_vars.scss +0 -426
- /package/src/scss/{custom → base}/mixins/_text-emphasis.scss +0 -0
- /package/src/scss/{custom → components}/_accept-overlay.scss +0 -0
- /package/src/scss/{custom → components}/_affix.scss +0 -0
- /package/src/scss/{custom → components}/_alert.scss +0 -0
- /package/src/scss/{custom → components}/_anchor.scss +0 -0
- /package/src/scss/{custom → components}/_avatar.scss +0 -0
- /package/src/scss/{custom → components}/_back-to-top.scss +0 -0
- /package/src/scss/{custom → components}/_bottomnav.scss +0 -0
- /package/src/scss/{custom → components}/_calendar.scss +0 -0
- /package/src/scss/{custom → components}/_callout.scss +0 -0
- /package/src/scss/{custom → components}/_chips.scss +0 -0
- /package/src/scss/{custom → components}/_code.scss +0 -0
- /package/src/scss/{custom → components}/_cookiebar.scss +0 -0
- /package/src/scss/{custom → components}/_dimmer.scss +0 -0
- /package/src/scss/{custom → components}/_figcaption.scss +0 -0
- /package/src/scss/{custom → components}/_font.scss +0 -0
- /package/src/scss/{custom → components}/_footer.scss +0 -0
- /package/src/scss/{custom → components}/_forward.scss +0 -0
- /package/src/scss/{custom → components}/_header.scss +0 -0
- /package/src/scss/{custom → components}/_headercenter.scss +0 -0
- /package/src/scss/{custom → components}/_headercentertheme.scss +0 -0
- /package/src/scss/{custom → components}/_headernavbar.scss +0 -0
- /package/src/scss/{custom → components}/_headernavbartheme.scss +0 -0
- /package/src/scss/{custom → components}/_headerslim.scss +0 -0
- /package/src/scss/{custom → components}/_headerslimtheme.scss +0 -0
- /package/src/scss/{custom → components}/_imgresponsive.scss +0 -0
- /package/src/scss/{custom → components}/_list.scss +0 -0
- /package/src/scss/{custom → components}/_map.scss +0 -0
- /package/src/scss/{custom → components}/_masonry-loader.scss +0 -0
- /package/src/scss/{custom → components}/_megamenu.scss +0 -0
- /package/src/scss/{custom → components}/_navigation.scss +0 -0
- /package/src/scss/{custom → components}/_navigationtheme.scss +0 -0
- /package/src/scss/{custom → components}/_navscroll.scss +0 -0
- /package/src/scss/{custom → components}/_navscrolltheme.scss +0 -0
- /package/src/scss/{custom → components}/_notifications.scss +0 -0
- /package/src/scss/{custom → components}/_overlay-panel.scss +0 -0
- /package/src/scss/{custom → components}/_page-scroll.scss +0 -0
- /package/src/scss/{custom → components}/_pager.scss +0 -0
- /package/src/scss/{custom → components}/_point-list.scss +0 -0
- /package/src/scss/{custom → components}/_print.scss +0 -0
- /package/src/scss/{custom → components}/_progress-donuts.scss +0 -0
- /package/src/scss/{custom → components}/_progress-spinners.scss +0 -0
- /package/src/scss/{custom → components}/_rating-list.scss +0 -0
- /package/src/scss/{custom → components}/_rating.scss +0 -0
- /package/src/scss/{custom → components}/_sections.scss +0 -0
- /package/src/scss/{custom → components}/_sidebar.scss +0 -0
- /package/src/scss/{custom → components}/_sidebarthemes.scss +0 -0
- /package/src/scss/{custom → components}/_skiplinks.scss +0 -0
- /package/src/scss/{custom → components}/_sticky.scss +0 -0
- /package/src/scss/{custom → components}/_thumbnav.scss +0 -0
- /package/src/scss/{custom → components}/_timeline.scss +0 -0
- /package/src/scss/{custom → components}/_videoplayer.scss +0 -0
- /package/src/scss/{custom → forms}/_autocomplete.scss +0 -0
- /package/src/scss/{custom → forms}/_form-input-file.scss +0 -0
- /package/src/scss/{custom → forms}/_form-input-number.scss +0 -0
- /package/src/scss/{custom → forms}/_form-input-upload.scss +0 -0
- /package/src/scss/{custom → forms}/_form-password.scss +0 -0
- /package/src/scss/{custom → forms}/_form-toggles.scss +0 -0
- /package/src/scss/{custom → forms}/_form-transfer.scss +0 -0
- /package/src/scss/{custom → forms}/_just-validate.scss +0 -0
- /package/types/plugins/{backToTop.d.ts → back-to-top.d.ts} +0 -0
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
// Bootstrap functions
|
|
2
|
+
//
|
|
3
|
+
// Utility mixins and functions for evaluating source code across our variables, maps, and mixins.
|
|
4
|
+
|
|
5
|
+
// Ascending
|
|
6
|
+
// Used to evaluate Sass maps like our grid breakpoints.
|
|
7
|
+
@mixin _assert-ascending($map, $map-name) {
|
|
8
|
+
$prev-key: null;
|
|
9
|
+
$prev-num: null;
|
|
10
|
+
@each $key, $num in $map {
|
|
11
|
+
@if $prev-num == null or unit($num) == '%' or unit($prev-num) == '%' {
|
|
12
|
+
// Do nothing
|
|
13
|
+
} @else if not comparable($prev-num, $num) {
|
|
14
|
+
@warn "Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !";
|
|
15
|
+
} @else if $prev-num >= $num {
|
|
16
|
+
@warn "Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !";
|
|
17
|
+
}
|
|
18
|
+
$prev-key: $key;
|
|
19
|
+
$prev-num: $num;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Starts at zero
|
|
24
|
+
// Used to ensure the min-width of the lowest breakpoint starts at 0.
|
|
25
|
+
@mixin _assert-starts-at-zero($map, $map-name: '$grid-breakpoints') {
|
|
26
|
+
@if length($map) > 0 {
|
|
27
|
+
$values: map-values($map);
|
|
28
|
+
$first-value: nth($values, 1);
|
|
29
|
+
@if $first-value != 0 {
|
|
30
|
+
@warn "First breakpoint in #{$map-name} must start at 0, but starts at #{$first-value}.";
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// Colors
|
|
36
|
+
@function to-rgb($value) {
|
|
37
|
+
@return red($value), green($value), blue($value);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// stylelint-disable scss/dollar-variable-pattern
|
|
41
|
+
@function rgba-css-var($identifier, $target) {
|
|
42
|
+
@if $identifier == 'body' and $target == 'bg' {
|
|
43
|
+
@return rgba(var(--#{$prefix}#{$identifier}-bg-rgb), var(--#{$prefix}#{$target}-opacity));
|
|
44
|
+
}
|
|
45
|
+
@if $identifier == 'body' and $target == 'text' {
|
|
46
|
+
@return rgba(var(--#{$prefix}#{$identifier}-color-rgb), var(--#{$prefix}#{$target}-opacity));
|
|
47
|
+
} @else {
|
|
48
|
+
@return rgba(var(--#{$prefix}#{$identifier}-rgb), var(--#{$prefix}#{$target}-opacity));
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@function map-loop($map, $func, $args...) {
|
|
53
|
+
$_map: ();
|
|
54
|
+
|
|
55
|
+
@each $key, $value in $map {
|
|
56
|
+
// allow to pass the $key and $value of the map as an function argument
|
|
57
|
+
$_args: ();
|
|
58
|
+
@each $arg in $args {
|
|
59
|
+
$_args: append($_args, if($arg == '$key', $key, if($arg == '$value', $value, $arg)));
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
$_map: map-merge(
|
|
63
|
+
$_map,
|
|
64
|
+
(
|
|
65
|
+
$key: call(get-function($func), $_args...),
|
|
66
|
+
)
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@return $_map;
|
|
71
|
+
}
|
|
72
|
+
// stylelint-enable scss/dollar-variable-pattern
|
|
73
|
+
|
|
74
|
+
@function varify($list) {
|
|
75
|
+
$result: null;
|
|
76
|
+
@each $entry in $list {
|
|
77
|
+
$result: append($result, var(--#{$prefix}#{$entry}), space);
|
|
78
|
+
}
|
|
79
|
+
@return $result;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// Internal Bootstrap function to turn maps into its negative variant.
|
|
83
|
+
// It prefixes the keys with `n` and makes the value negative.
|
|
84
|
+
@function negativify-map($map) {
|
|
85
|
+
$result: ();
|
|
86
|
+
@each $key, $value in $map {
|
|
87
|
+
@if $key != 0 {
|
|
88
|
+
$result: map-merge($result, ('n' + $key: (-$value)));
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
@return $result;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// Get multiple keys from a sass map
|
|
95
|
+
@function map-get-multiple($map, $values) {
|
|
96
|
+
$result: ();
|
|
97
|
+
@each $key, $value in $map {
|
|
98
|
+
@if (index($values, $key) != null) {
|
|
99
|
+
$result: map-merge(
|
|
100
|
+
$result,
|
|
101
|
+
(
|
|
102
|
+
$key: $value,
|
|
103
|
+
)
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
@return $result;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// Merge multiple maps
|
|
111
|
+
@function map-merge-multiple($maps...) {
|
|
112
|
+
$merged-maps: ();
|
|
113
|
+
|
|
114
|
+
@each $map in $maps {
|
|
115
|
+
$merged-maps: map-merge($merged-maps, $map);
|
|
116
|
+
}
|
|
117
|
+
@return $merged-maps;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// Replace `$search` with `$replace` in `$string`
|
|
121
|
+
// Used on our SVG icon backgrounds for custom forms.
|
|
122
|
+
//
|
|
123
|
+
// @author Kitty Giraudel
|
|
124
|
+
// @param {String} $string - Initial string
|
|
125
|
+
// @param {String} $search - Substring to replace
|
|
126
|
+
// @param {String} $replace ('') - New value
|
|
127
|
+
// @return {String} - Updated string
|
|
128
|
+
@function str-replace($string, $search, $replace: '') {
|
|
129
|
+
$index: str-index($string, $search);
|
|
130
|
+
|
|
131
|
+
@if $index {
|
|
132
|
+
@return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@return $string;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// See https://codepen.io/kevinweber/pen/dXWoRw
|
|
139
|
+
//
|
|
140
|
+
// Requires the use of quotes around data URIs.
|
|
141
|
+
|
|
142
|
+
@function escape-svg($string) {
|
|
143
|
+
@if str-index($string, 'data:image/svg+xml') {
|
|
144
|
+
@each $char, $encoded in $escaped-characters {
|
|
145
|
+
// Do not escape the url brackets
|
|
146
|
+
@if str-index($string, 'url(') == 1 {
|
|
147
|
+
$string: url('#{str-replace(str-slice($string, 6, -3), $char, $encoded)}');
|
|
148
|
+
} @else {
|
|
149
|
+
$string: str-replace($string, $char, $encoded);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@return $string;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
// Color contrast
|
|
158
|
+
// See https://github.com/twbs/bootstrap/pull/30168
|
|
159
|
+
|
|
160
|
+
// A list of pre-calculated numbers of pow(divide((divide($value, 255) + .055), 1.055), 2.4). (from 0 to 255)
|
|
161
|
+
// stylelint-disable-next-line scss/dollar-variable-default, scss/dollar-variable-pattern
|
|
162
|
+
$_luminance-list: 0.0008 0.001 0.0011 0.0013 0.0015 0.0017 0.002 0.0022 0.0025 0.0027 0.003 0.0033 0.0037 0.004 0.0044 0.0048 0.0052 0.0056 0.006 0.0065 0.007
|
|
163
|
+
0.0075 0.008 0.0086 0.0091 0.0097 0.0103 0.011 0.0116 0.0123 0.013 0.0137 0.0144 0.0152 0.016 0.0168 0.0176 0.0185 0.0194 0.0203 0.0212 0.0222 0.0232 0.0242
|
|
164
|
+
0.0252 0.0262 0.0273 0.0284 0.0296 0.0307 0.0319 0.0331 0.0343 0.0356 0.0369 0.0382 0.0395 0.0409 0.0423 0.0437 0.0452 0.0467 0.0482 0.0497 0.0513 0.0529
|
|
165
|
+
0.0545 0.0561 0.0578 0.0595 0.0612 0.063 0.0648 0.0666 0.0685 0.0704 0.0723 0.0742 0.0762 0.0782 0.0802 0.0823 0.0844 0.0865 0.0887 0.0908 0.0931 0.0953
|
|
166
|
+
0.0976 0.0999 0.1022 0.1046 0.107 0.1095 0.1119 0.1144 0.117 0.1195 0.1221 0.1248 0.1274 0.1301 0.1329 0.1356 0.1384 0.1413 0.1441 0.147 0.15 0.1529 0.1559
|
|
167
|
+
0.159 0.162 0.1651 0.1683 0.1714 0.1746 0.1779 0.1812 0.1845 0.1878 0.1912 0.1946 0.1981 0.2016 0.2051 0.2086 0.2122 0.2159 0.2195 0.2232 0.227 0.2307 0.2346
|
|
168
|
+
0.2384 0.2423 0.2462 0.2502 0.2542 0.2582 0.2623 0.2664 0.2705 0.2747 0.2789 0.2831 0.2874 0.2918 0.2961 0.3005 0.305 0.3095 0.314 0.3185 0.3231 0.3278 0.3325
|
|
169
|
+
0.3372 0.3419 0.3467 0.3515 0.3564 0.3613 0.3663 0.3712 0.3763 0.3813 0.3864 0.3916 0.3968 0.402 0.4072 0.4125 0.4179 0.4233 0.4287 0.4342 0.4397 0.4452
|
|
170
|
+
0.4508 0.4564 0.4621 0.4678 0.4735 0.4793 0.4851 0.491 0.4969 0.5029 0.5089 0.5149 0.521 0.5271 0.5333 0.5395 0.5457 0.552 0.5583 0.5647 0.5711 0.5776 0.5841
|
|
171
|
+
0.5906 0.5972 0.6038 0.6105 0.6172 0.624 0.6308 0.6376 0.6445 0.6514 0.6584 0.6654 0.6724 0.6795 0.6867 0.6939 0.7011 0.7084 0.7157 0.7231 0.7305 0.7379
|
|
172
|
+
0.7454 0.7529 0.7605 0.7682 0.7758 0.7835 0.7913 0.7991 0.807 0.8148 0.8228 0.8308 0.8388 0.8469 0.855 0.8632 0.8714 0.8796 0.8879 0.8963 0.9047 0.9131 0.9216
|
|
173
|
+
0.9301 0.9387 0.9473 0.956 0.9647 0.9734 0.9823 0.9911 1;
|
|
174
|
+
|
|
175
|
+
@function color-contrast(
|
|
176
|
+
$background,
|
|
177
|
+
$color-contrast-dark: $color-contrast-dark,
|
|
178
|
+
$color-contrast-light: $color-contrast-light,
|
|
179
|
+
$min-contrast-ratio: $min-contrast-ratio
|
|
180
|
+
) {
|
|
181
|
+
$foregrounds: $color-contrast-light, $color-contrast-dark, $white, $black;
|
|
182
|
+
$max-ratio: 0;
|
|
183
|
+
$max-ratio-color: null;
|
|
184
|
+
|
|
185
|
+
@each $color in $foregrounds {
|
|
186
|
+
$contrast-ratio: contrast-ratio($background, $color);
|
|
187
|
+
@if $contrast-ratio > $min-contrast-ratio {
|
|
188
|
+
@return $color;
|
|
189
|
+
} @else if $contrast-ratio > $max-ratio {
|
|
190
|
+
$max-ratio: $contrast-ratio;
|
|
191
|
+
$max-ratio-color: $color;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@warn "Found no color leading to #{$min-contrast-ratio}:1 contrast ratio against #{$background}...";
|
|
196
|
+
|
|
197
|
+
@return $max-ratio-color;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@function contrast-ratio($background, $foreground: $color-contrast-light) {
|
|
201
|
+
$l1: luminance($background);
|
|
202
|
+
$l2: luminance(opaque($background, $foreground));
|
|
203
|
+
|
|
204
|
+
@return if($l1 > $l2, divide($l1 + 0.05, $l2 + 0.05), divide($l2 + 0.05, $l1 + 0.05));
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
// Return WCAG2.1 relative luminance
|
|
208
|
+
// See https://www.w3.org/TR/WCAG/#dfn-relative-luminance
|
|
209
|
+
// See https://www.w3.org/TR/WCAG/#dfn-contrast-ratio
|
|
210
|
+
@function luminance($color) {
|
|
211
|
+
$rgb: (
|
|
212
|
+
'r': red($color),
|
|
213
|
+
'g': green($color),
|
|
214
|
+
'b': blue($color),
|
|
215
|
+
);
|
|
216
|
+
|
|
217
|
+
@each $name, $value in $rgb {
|
|
218
|
+
$value: if(divide($value, 255) < 0.03928, divide(divide($value, 255), 12.92), nth($_luminance-list, $value + 1));
|
|
219
|
+
$rgb: map-merge(
|
|
220
|
+
$rgb,
|
|
221
|
+
(
|
|
222
|
+
$name: $value,
|
|
223
|
+
)
|
|
224
|
+
);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
@return (map-get($rgb, 'r') * 0.2126) + (map-get($rgb, 'g') * 0.7152) + (map-get($rgb, 'b') * 0.0722);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
// Return opaque color
|
|
231
|
+
// opaque(#fff, rgba(0, 0, 0, .5)) => #808080
|
|
232
|
+
@function opaque($background, $foreground) {
|
|
233
|
+
@return mix(rgba($foreground, 1), $background, opacity($foreground) * 100%);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
// scss-docs-start color-functions
|
|
237
|
+
// Tint a color: mix a color with white
|
|
238
|
+
@function tint-color($color, $weight) {
|
|
239
|
+
@return mix(white, $color, $weight);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
// Shade a color: mix a color with black
|
|
243
|
+
@function shade-color($color, $weight) {
|
|
244
|
+
@return mix(black, $color, $weight);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
// Shade the color if the weight is positive, else tint it
|
|
248
|
+
@function shift-color($color, $weight) {
|
|
249
|
+
@return if($weight > 0, shade-color($color, $weight), tint-color($color, -$weight));
|
|
250
|
+
}
|
|
251
|
+
// scss-docs-end color-functions
|
|
252
|
+
|
|
253
|
+
// Return valid calc
|
|
254
|
+
@function add($value1, $value2, $return-calc: true) {
|
|
255
|
+
@if $value1 == null {
|
|
256
|
+
@return $value2;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
@if $value2 == null {
|
|
260
|
+
@return $value1;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
@if type-of($value1) == number and type-of($value2) == number and comparable($value1, $value2) {
|
|
264
|
+
@return $value1 + $value2;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
@return if($return-calc == true, calc(#{$value1} + #{$value2}), $value1 + unquote(' + ') + $value2);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
@function subtract($value1, $value2, $return-calc: true) {
|
|
271
|
+
@if $value1 == null and $value2 == null {
|
|
272
|
+
@return null;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
@if $value1 == null {
|
|
276
|
+
@return -$value2;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
@if $value2 == null {
|
|
280
|
+
@return $value1;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
@if type-of($value1) == number and type-of($value2) == number and comparable($value1, $value2) {
|
|
284
|
+
@return $value1 - $value2;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
@if type-of($value2) != number {
|
|
288
|
+
$value2: unquote('(') + $value2 + unquote(')');
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
@return if($return-calc == true, calc(#{$value1} - #{$value2}), $value1 + unquote(' - ') + $value2);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
@function divide($dividend, $divisor, $precision: 10) {
|
|
295
|
+
$sign: if($dividend > 0 and $divisor > 0 or $dividend < 0 and $divisor < 0, 1, -1);
|
|
296
|
+
$dividend: abs($dividend);
|
|
297
|
+
$divisor: abs($divisor);
|
|
298
|
+
@if $dividend == 0 {
|
|
299
|
+
@return 0;
|
|
300
|
+
}
|
|
301
|
+
@if $divisor == 0 {
|
|
302
|
+
@error "Cannot divide by 0";
|
|
303
|
+
}
|
|
304
|
+
$remainder: $dividend;
|
|
305
|
+
$result: 0;
|
|
306
|
+
$factor: 10;
|
|
307
|
+
@while ($remainder > 0 and $precision >= 0) {
|
|
308
|
+
$quotient: 0;
|
|
309
|
+
@while ($remainder >= $divisor) {
|
|
310
|
+
$remainder: $remainder - $divisor;
|
|
311
|
+
$quotient: $quotient + 1;
|
|
312
|
+
}
|
|
313
|
+
$result: $result * 10 + $quotient;
|
|
314
|
+
$factor: $factor * 0.1;
|
|
315
|
+
$remainder: $remainder * 10;
|
|
316
|
+
$precision: $precision - 1;
|
|
317
|
+
@if ($precision < 0 and $remainder >= $divisor * 5) {
|
|
318
|
+
$result: $result + 1;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
$result: $result * $factor * $sign;
|
|
322
|
+
$dividend-unit: unit($dividend);
|
|
323
|
+
$divisor-unit: unit($divisor);
|
|
324
|
+
$unit-map: (
|
|
325
|
+
'px': 1px,
|
|
326
|
+
'rem': 1rem,
|
|
327
|
+
'em': 1em,
|
|
328
|
+
'%': 1%,
|
|
329
|
+
);
|
|
330
|
+
@if ($dividend-unit != $divisor-unit and map-has-key($unit-map, $dividend-unit)) {
|
|
331
|
+
$result: $result * map-get($unit-map, $dividend-unit);
|
|
332
|
+
}
|
|
333
|
+
@return $result;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
// Custom functions (not available in Bootstrap)
|
|
337
|
+
@function hsb($h-hsb, $s-hsb, $b-hsb) {
|
|
338
|
+
// Checking hsb values for 0 and turning them into 1 to avoid issues with SASS compiler
|
|
339
|
+
@if $h-hsb < 1 {
|
|
340
|
+
$h-hsb: 1;
|
|
341
|
+
}
|
|
342
|
+
@if $s-hsb < 1 {
|
|
343
|
+
$s-hsb: 1;
|
|
344
|
+
}
|
|
345
|
+
@if $b-hsb < 1 {
|
|
346
|
+
$b-hsb: 1;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
@if $b-hsb < 1 {
|
|
350
|
+
@return hsl(0, 0%, 0%);
|
|
351
|
+
} @else {
|
|
352
|
+
$l-hsl: calc($b-hsb / 2) * (2 - calc($s-hsb / 100));
|
|
353
|
+
$s-hsl: calc(($b-hsb * $s-hsb) / if($l-hsl < 50, $l-hsl * 2, 200 - $l-hsl * 2));
|
|
354
|
+
@return hsl($h-hsb, $s-hsl * 1%, $l-hsl * 1%);
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
@function hsb-with-brightness-modifier($h-hsb, $s-hsb, $b-hsb, $b-variant) {
|
|
359
|
+
$b-hsb: $b-hsb + $b-variant;
|
|
360
|
+
@return hsb($h-hsb, $s-hsb, $b-hsb);
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
@function color-hover($color) {
|
|
364
|
+
@return desaturate(shade-color($color, 10%), 20%);
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
@function url-friendly-color($color) {
|
|
368
|
+
@if str-slice('#{$color}', 1, 1) == '#' {
|
|
369
|
+
@return '%23' + str-slice('#{$color}', 2, -1);
|
|
370
|
+
} @else {
|
|
371
|
+
@return $color;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
@import 'helpers/clearfix';
|
|
2
|
+
@import 'helpers/color-bg';
|
|
3
|
+
@import 'helpers/colored-links';
|
|
4
|
+
@import 'helpers/ratio';
|
|
5
|
+
@import 'helpers/position';
|
|
6
|
+
@import 'helpers/stacks';
|
|
7
|
+
@import 'helpers/visually-hidden';
|
|
8
|
+
@import 'helpers/stretched-link';
|
|
9
|
+
@import 'helpers/text-truncation';
|
|
10
|
+
@import 'helpers/vr';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// Re-assigned maps
|
|
2
|
+
//
|
|
3
|
+
// Placed here so that others can override the default Sass maps and see automatic updates to utilities and more.
|
|
4
|
+
|
|
5
|
+
// scss-docs-start theme-colors-rgb
|
|
6
|
+
$theme-colors-rgb: map-loop($theme-colors, to-rgb, '$value') !default;
|
|
7
|
+
// scss-docs-end theme-colors-rgb
|
|
8
|
+
|
|
9
|
+
// Utilities maps
|
|
10
|
+
//
|
|
11
|
+
// Extends the default `$theme-colors` maps to help create our utilities.
|
|
12
|
+
|
|
13
|
+
// Come v6, we'll de-dupe these variables. Until then, for backward compatibility, we keep them to reassign.
|
|
14
|
+
// scss-docs-start utilities-colors
|
|
15
|
+
$utilities-colors: $theme-colors-rgb !default;
|
|
16
|
+
// scss-docs-end utilities-colors
|
|
17
|
+
|
|
18
|
+
// scss-docs-start utilities-text-colors
|
|
19
|
+
$utilities-text: map-merge(
|
|
20
|
+
$utilities-colors,
|
|
21
|
+
(
|
|
22
|
+
'black': to-rgb($black),
|
|
23
|
+
'white': to-rgb($white),
|
|
24
|
+
'body': to-rgb($body-color),
|
|
25
|
+
)
|
|
26
|
+
) !default;
|
|
27
|
+
$utilities-text-colors: map-loop($utilities-text, rgba-css-var, '$key', 'text') !default;
|
|
28
|
+
// scss-docs-end utilities-text-colors
|
|
29
|
+
|
|
30
|
+
// scss-docs-start utilities-bg-colors
|
|
31
|
+
$utilities-bg: map-merge(
|
|
32
|
+
$utilities-colors,
|
|
33
|
+
(
|
|
34
|
+
'black': to-rgb($black),
|
|
35
|
+
'white': to-rgb($white),
|
|
36
|
+
'body': to-rgb($body-bg),
|
|
37
|
+
)
|
|
38
|
+
) !default;
|
|
39
|
+
$utilities-bg-colors: map-loop($utilities-bg, rgba-css-var, '$key', 'bg') !default;
|
|
40
|
+
// scss-docs-end utilities-bg-colors
|
|
41
|
+
|
|
42
|
+
// scss-docs-start utilities-border-colors
|
|
43
|
+
$utilities-border: map-merge(
|
|
44
|
+
$utilities-colors,
|
|
45
|
+
(
|
|
46
|
+
'white': to-rgb($white),
|
|
47
|
+
)
|
|
48
|
+
) !default;
|
|
49
|
+
$utilities-border-colors: map-loop($utilities-border, rgba-css-var, '$key', 'border') !default;
|
|
50
|
+
// scss-docs-end utilities-border-colors
|
|
51
|
+
|
|
52
|
+
$negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default;
|
|
53
|
+
|
|
54
|
+
$gutters: $spacers !default;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// Toggles
|
|
2
|
+
//
|
|
3
|
+
// Used in conjunction with global variables to enable certain theme features.
|
|
4
|
+
|
|
5
|
+
// Vendor
|
|
6
|
+
@import 'vendor/rfs';
|
|
7
|
+
|
|
8
|
+
// Deprecate
|
|
9
|
+
@import 'mixins/deprecate';
|
|
10
|
+
|
|
11
|
+
// Helpers
|
|
12
|
+
@import 'mixins/breakpoints';
|
|
13
|
+
@import 'mixins/color-scheme';
|
|
14
|
+
@import 'mixins/image';
|
|
15
|
+
@import 'mixins/resize';
|
|
16
|
+
@import 'mixins/visually-hidden';
|
|
17
|
+
@import 'mixins/reset-text';
|
|
18
|
+
@import 'mixins/text-truncate';
|
|
19
|
+
@import 'mixins/text-emphasis';
|
|
20
|
+
|
|
21
|
+
// Utilities
|
|
22
|
+
@import 'mixins/utilities';
|
|
23
|
+
|
|
24
|
+
// Components
|
|
25
|
+
@import 'mixins/alert';
|
|
26
|
+
@import 'mixins/backdrop';
|
|
27
|
+
@import 'mixins/buttons';
|
|
28
|
+
@import 'mixins/caret';
|
|
29
|
+
@import 'mixins/pagination';
|
|
30
|
+
@import 'mixins/lists';
|
|
31
|
+
@import 'mixins/list-group';
|
|
32
|
+
@import 'mixins/forms';
|
|
33
|
+
@import 'mixins/table-variants';
|
|
34
|
+
|
|
35
|
+
// Skins
|
|
36
|
+
@import 'mixins/border-radius';
|
|
37
|
+
@import 'mixins/box-shadow';
|
|
38
|
+
@import 'mixins/gradients';
|
|
39
|
+
@import 'mixins/transition';
|
|
40
|
+
|
|
41
|
+
// Layout
|
|
42
|
+
@import 'mixins/clearfix';
|
|
43
|
+
@import 'mixins/container';
|
|
44
|
+
@import 'mixins/grid';
|