@swisspost/design-system-styles 9.0.0-next.2 → 9.0.0-next.21
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/_svg-icon-map.scss +85 -23
- package/basics.css +1 -1
- package/basics.scss +2 -6
- package/cargo-external.css +7 -0
- package/cargo-external.scss +10 -0
- package/cargo-internal.css +7 -0
- package/cargo-internal.scss +10 -0
- package/cargo-tokens-external.css +1 -0
- package/cargo-tokens-external.scss +8 -0
- package/cargo-tokens-internal.css +1 -0
- package/cargo-tokens-internal.scss +8 -0
- package/components/_form-check.scss +166 -0
- package/components/_index.scss +21 -13
- package/components/appstore-badge.css +1 -0
- package/components/appstore-badge.scss +18 -0
- package/components/avatar.css +1 -0
- package/components/avatar.scss +41 -0
- package/components/badge.css +1 -1
- package/components/badge.scss +8 -2
- package/components/banner.css +1 -0
- package/components/banner.scss +105 -0
- package/components/blockquote.css +1 -0
- package/components/blockquote.scss +46 -0
- package/components/breadcrumb.css +1 -1
- package/components/breadcrumb.scss +4 -24
- package/components/breakpoints.css +1 -0
- package/components/breakpoints.scss +17 -0
- package/components/button-group.css +1 -1
- package/components/button-group.scss +7 -6
- package/components/button.css +1 -1
- package/components/button.scss +41 -228
- package/components/card-control.css +1 -1
- package/components/card-control.scss +33 -24
- package/components/card.css +1 -1
- package/components/card.scss +72 -68
- package/components/checkbox.css +1 -0
- package/components/checkbox.scss +127 -0
- package/components/chip.css +1 -1
- package/components/chip.scss +9 -8
- package/components/close.css +1 -1
- package/components/close.scss +0 -2
- package/components/datatable.css +1 -3
- package/components/datatable.scss +22 -17
- package/components/datepicker.css +1 -1
- package/components/datepicker.scss +6 -22
- package/components/dialog.css +1 -1
- package/components/dialog.scss +26 -38
- package/components/dropdown.css +1 -1
- package/components/dropdown.scss +9 -6
- package/components/fonts.css +1 -1
- package/components/fonts.scss +7 -45
- package/components/form-footer.css +1 -0
- package/components/form-footer.scss +18 -0
- package/components/form-hint.css +1 -0
- package/components/form-hint.scss +15 -0
- package/components/form-input.css +1 -0
- package/components/form-input.scss +301 -0
- package/components/form-range.css +1 -1
- package/components/form-range.scss +9 -9
- package/components/form-search-input.css +1 -0
- package/components/form-search-input.scss +97 -0
- package/components/form-select.css +1 -1
- package/components/form-select.scss +266 -55
- package/components/form-textarea.css +1 -1
- package/components/form-textarea.scss +172 -9
- package/components/globals/_index.scss +1 -0
- package/components/globals/post-footer.css +1 -0
- package/components/globals/post-footer.scss +113 -0
- package/components/header/_mixins.scss +48 -0
- package/components/header/index.css +1 -0
- package/components/header/index.scss +131 -0
- package/components/icon-button.css +1 -0
- package/components/icon-button.scss +19 -0
- package/components/icon-close-button.css +1 -0
- package/components/icon-close-button.scss +29 -0
- package/components/intranet-header/_icon.scss +1 -1
- package/components/intranet-header/_index.scss +0 -2
- package/components/intranet-header/_language-chooser.scss +3 -2
- package/components/intranet-header/_nav-overflow.scss +2 -2
- package/components/intranet-header/_scaffolding.scss +1 -1
- package/components/intranet-header/_searchbox.scss +1 -1
- package/components/intranet-header/_sidebar.scss +11 -11
- package/components/intranet-header/_top-navigation.scss +1 -1
- package/components/list-check.css +1 -0
- package/components/list-check.scss +79 -0
- package/components/list-group.css +1 -1
- package/components/list-group.scss +72 -127
- package/components/modal.css +2 -2
- package/components/modal.scss +2 -4
- package/components/offcanvas.css +1 -1
- package/components/offcanvas.scss +0 -2
- package/components/pagination.css +1 -1
- package/components/pagination.scss +10 -9
- package/components/popover.css +1 -1
- package/components/popover.scss +0 -2
- package/components/product-card.css +1 -1
- package/components/product-card.scss +11 -5
- package/components/progress.scss +0 -2
- package/components/radio-button.css +1 -0
- package/components/radio-button.scss +125 -0
- package/components/segmented-button.css +3 -0
- package/components/segmented-button.scss +207 -0
- package/components/skiplinks.css +1 -0
- package/components/skiplinks.scss +20 -0
- package/components/spinner.scss +0 -1
- package/components/stepper.css +1 -1
- package/components/stepper.scss +40 -33
- package/components/subnavigation.css +1 -1
- package/components/subnavigation.scss +17 -14
- package/components/switch.css +1 -0
- package/components/switch.scss +212 -0
- package/components/tables.css +1 -1
- package/components/tables.scss +0 -1
- package/components/tabs/_tab-title.scss +16 -55
- package/components/tabs/_tabs-wrapper.scss +3 -13
- package/components/tabs/index.css +1 -1
- package/components/tabs/index.scss +0 -2
- package/components/tag.css +1 -1
- package/components/tag.scss +1 -2
- package/components/teaser.css +1 -0
- package/components/teaser.scss +83 -0
- package/components/text-highlight.css +1 -1
- package/components/timepicker.css +1 -1
- package/components/timepicker.scss +13 -16
- package/components/toast.css +1 -1
- package/components/toast.scss +19 -16
- package/components/tooltip.css +1 -1
- package/components/tooltip.scss +0 -2
- package/components/transitions.scss +0 -2
- package/components/validation.css +1 -0
- package/components/validation.scss +120 -0
- package/elements/_index.scss +7 -1
- package/elements/anchor.css +1 -0
- package/elements/anchor.scss +33 -0
- package/elements/body.css +1 -1
- package/elements/body.scss +5 -1
- package/elements/fieldset-legend.css +1 -1
- package/elements/fieldset-legend.scss +7 -3
- package/elements/heading.css +1 -1
- package/elements/heading.scss +10 -12
- package/elements/list-bullet.css +1 -0
- package/elements/list-bullet.scss +43 -0
- package/elements/list-description.css +1 -0
- package/elements/list-description.scss +5 -0
- package/elements/list-number.css +1 -0
- package/elements/list-number.scss +33 -0
- package/elements/paragraph.css +1 -0
- package/elements/paragraph.scss +17 -0
- package/elements/reset.css +1 -1
- package/elements/reset.scss +16 -7
- package/elements.css +1 -0
- package/elements.scss +1 -0
- package/fonts.css +1 -1
- package/functions/_breakpoint.scss +26 -0
- package/functions/_forms.scss +46 -3
- package/functions/_icons.scss +2 -14
- package/helpers/_index.scss +4 -0
- package/helpers/clearfix.css +1 -0
- package/helpers/clearfix.scss +5 -0
- package/helpers/focus-ring.css +1 -0
- package/helpers/focus-ring.scss +5 -0
- package/helpers/text-truncation.css +1 -0
- package/helpers/text-truncation.scss +5 -0
- package/helpers/visually-hidden.css +1 -0
- package/helpers/visually-hidden.scss +5 -0
- package/index.css +3 -3
- package/index.scss +2 -5
- package/intranet.css +3 -3
- package/intranet.scss +2 -2
- package/layout/_containers.scss +32 -0
- package/layout/_section.scss +133 -0
- package/layout/grid/_index.scss +11 -0
- package/layout/grid/_mixins.scss +104 -0
- package/layout/grid/_variables.scss +2 -0
- package/layout/index.css +1 -0
- package/layout/index.scss +3 -0
- package/mixins/_button.scss +19 -15
- package/mixins/_form-checks.scss +1 -1
- package/mixins/_forms.scss +42 -33
- package/mixins/_icon-button.scss +27 -0
- package/mixins/_icons.scss +22 -32
- package/mixins/_index.scss +3 -2
- package/mixins/_layout.scss +26 -0
- package/mixins/_list.scss +112 -0
- package/mixins/_media.scss +58 -2
- package/mixins/_notification.scss +59 -53
- package/mixins/_utilities.scss +46 -25
- package/package.json +16 -16
- package/palettes/_mixins.scss +74 -0
- package/palettes/_utilities.scss +3 -0
- package/palettes/_variables.scss +2 -0
- package/palettes/cargo-palettes.css +1 -0
- package/palettes/cargo-palettes.scss +3 -0
- package/palettes/post-palettes.css +1 -0
- package/palettes/post-palettes.scss +3 -0
- package/placeholders/_button.scss +3 -6
- package/placeholders/_close.scss +2 -5
- package/placeholders/_schemes.scss +10 -0
- package/post-external.css +3 -3
- package/post-external.scss +7 -1
- package/post-internal.css +3 -3
- package/post-internal.scss +7 -1
- package/post-tokens-external.css +1 -1
- package/post-tokens-external.scss +1 -1
- package/post-tokens-internal.css +1 -1
- package/post-tokens-internal.scss +1 -1
- package/themes/bootstrap/_core.scss +0 -2
- package/themes/bootstrap/_forms.scss +0 -4
- package/themes/bootstrap/_overrides-variables.scss +0 -6
- package/themes/bootstrap/_utilities.scss +45 -1
- package/tokens/_cargo-theme.scss +8 -0
- package/tokens/_helpers.scss +1 -0
- package/tokens/_palettes.scss +9 -0
- package/tokens/_schemes.scss +11 -0
- package/tokens/_utilities_formatted.scss +1 -0
- package/tokens/temp/_channel.scss +4 -3
- package/tokens/temp/_components.scss +594 -503
- package/tokens/temp/_core.scss +49 -37
- package/tokens/temp/_device.scss +210 -239
- package/tokens/temp/_elements.scss +11 -11
- package/tokens/temp/_helpers.scss +13 -0
- package/tokens/temp/_index.scss +6 -4
- package/tokens/temp/_palettes.scss +19 -0
- package/tokens/temp/_scheme.scss +334 -0
- package/tokens/temp/_theme.scss +28 -9
- package/tokens/temp/_utilities-formatted.scss +128 -0
- package/tokens/temp/_utilities.scss +34 -58
- package/tokens/temp/palettes/_cargo-dark.scss +19 -0
- package/tokens/temp/palettes/_cargo-light.scss +19 -0
- package/tokens/temp/palettes/_post-dark.scss +19 -0
- package/tokens/temp/palettes/_post-light.scss +19 -0
- package/utilities/_not-defined.scss +44 -0
- package/utilities/_variables.scss +304 -22
- package/utilities/index.css +1 -0
- package/utilities/{_index.scss → index.scss} +1 -2
- package/variables/_animation.scss +10 -6
- package/variables/_breakpoints.scss +9 -5
- package/variables/_color.scss +0 -61
- package/variables/_commons.scss +1 -0
- package/variables/_elevation.scss +16 -22
- package/variables/_grid.scss +2 -12
- package/variables/_icons.scss +19 -696
- package/variables/_index.scss +1 -1
- package/variables/_sizing.scss +17 -0
- package/variables/_spacing.scss +0 -152
- package/variables/_type.scss +17 -27
- package/variables/components/_accordion.scss +0 -47
- package/variables/components/_badge.scss +9 -5
- package/variables/components/_button.scss +61 -113
- package/variables/components/_card.scss +7 -4
- package/variables/components/_chip.scss +13 -7
- package/variables/components/_close.scss +14 -8
- package/variables/components/_code.scss +1 -1
- package/variables/components/_datatable.scss +12 -8
- package/variables/components/_dropdowns.scss +1 -1
- package/variables/components/_form-check.scss +9 -46
- package/variables/components/_forms.scss +8 -101
- package/variables/components/_index.scss +0 -5
- package/variables/components/_modal.scss +17 -12
- package/variables/components/_nav.scss +3 -3
- package/variables/components/_navbar.scss +7 -4
- package/variables/components/_notification.scss +48 -37
- package/variables/components/_pagination.scss +14 -6
- package/variables/components/_spinners.scss +7 -2
- package/variables/components/_stepper.scss +15 -10
- package/variables/components/_subnavigation.scss +11 -9
- package/variables/components/_tables.scss +11 -6
- package/variables/components/_tag.scss +10 -7
- package/components/accordion.css +0 -1
- package/components/accordion.scss +0 -100
- package/components/alert.css +0 -1
- package/components/alert.scss +0 -137
- package/components/carousel.css +0 -1
- package/components/carousel.scss +0 -178
- package/components/elevation.css +0 -1
- package/components/elevation.scss +0 -8
- package/components/floating-label.css +0 -1
- package/components/floating-label.scss +0 -353
- package/components/form-check.css +0 -1
- package/components/form-check.scss +0 -297
- package/components/form-validation.css +0 -1
- package/components/form-validation.scss +0 -148
- package/components/forms.css +0 -1
- package/components/forms.scss +0 -215
- package/components/grid.css +0 -1
- package/components/grid.scss +0 -170
- package/components/icons.css +0 -1
- package/components/icons.scss +0 -60
- package/components/sizing.css +0 -1
- package/components/sizing.scss +0 -85
- package/components/topic-teaser.css +0 -1
- package/components/topic-teaser.scss +0 -196
- package/layouts/portal/_grid.scss +0 -85
- package/layouts/portal/_index.scss +0 -2
- package/layouts/portal/_subnavigation.scss +0 -5
- package/layouts/portal/_variables.scss +0 -8
- package/mixins/_accordion.scss +0 -16
- package/mixins/_elevation.scss +0 -6
- package/mixins/_focus.scss +0 -9
- package/mixins/_form-validation.scss +0 -5
- package/mixins/_size.scss +0 -65
- package/placeholders/_modes.scss +0 -10
- package/themes/bootstrap/_carousel.scss +0 -2
- package/themes/bootstrap/_containers.scss +0 -2
- package/themes/bootstrap/_grid.scss +0 -2
- package/themes/bootstrap/_overrides-mixins.scss +0 -33
- package/themes/bootstrap/forms/_floating-labels.scss +0 -2
- package/themes/bootstrap/forms/_form-control.scss +0 -2
- package/themes/bootstrap/forms/_form-select.scss +0 -2
- package/themes/bootstrap/forms/_form-text.scss +0 -2
- package/tokens/_modes.scss +0 -11
- package/tokens/temp/_mode.scss +0 -299
- package/utilities/_functions.scss +0 -35
- package/utilities/temp/_legacy.scss +0 -95
- package/variables/_options.scss +0 -5
- package/variables/components/_carousel.scss +0 -27
- package/variables/components/_figures.scss +0 -6
- package/variables/components/_form-select.scss +0 -13
- package/variables/components/_form-validation.scss +0 -38
- package/variables/components/_list-group.scss +0 -29
- package/variables/components/_topic-teaser.scss +0 -32
package/components/grid.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--bs-breakpoint-xs: 0;--bs-breakpoint-sm: 400px;--bs-breakpoint-rg: 600px;--bs-breakpoint-md: 780px;--bs-breakpoint-lg: 1024px;--bs-breakpoint-xl: 1280px;--bs-breakpoint-xxl: 1440px}.row{--bs-gutter-x: 30px;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1*var(--bs-gutter-y));margin-right:calc(-0.5*var(--bs-gutter-x));margin-left:calc(-0.5*var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x)*.5);padding-left:calc(var(--bs-gutter-x)*.5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: 0.25rem}.g-1,.gy-1{--bs-gutter-y: 0.25rem}.g-2,.gx-2{--bs-gutter-x: 0.5rem}.g-2,.gy-2{--bs-gutter-y: 0.5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media(min-width: 400px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: 0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: 0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: 0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: 0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media(min-width: 600px){.col-rg{flex:1 0 0%}.row-cols-rg-auto>*{flex:0 0 auto;width:auto}.row-cols-rg-1>*{flex:0 0 auto;width:100%}.row-cols-rg-2>*{flex:0 0 auto;width:50%}.row-cols-rg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-rg-4>*{flex:0 0 auto;width:25%}.row-cols-rg-5>*{flex:0 0 auto;width:20%}.row-cols-rg-6>*{flex:0 0 auto;width:16.66666667%}.col-rg-auto{flex:0 0 auto;width:auto}.col-rg-1{flex:0 0 auto;width:8.33333333%}.col-rg-2{flex:0 0 auto;width:16.66666667%}.col-rg-3{flex:0 0 auto;width:25%}.col-rg-4{flex:0 0 auto;width:33.33333333%}.col-rg-5{flex:0 0 auto;width:41.66666667%}.col-rg-6{flex:0 0 auto;width:50%}.col-rg-7{flex:0 0 auto;width:58.33333333%}.col-rg-8{flex:0 0 auto;width:66.66666667%}.col-rg-9{flex:0 0 auto;width:75%}.col-rg-10{flex:0 0 auto;width:83.33333333%}.col-rg-11{flex:0 0 auto;width:91.66666667%}.col-rg-12{flex:0 0 auto;width:100%}.offset-rg-0{margin-left:0}.offset-rg-1{margin-left:8.33333333%}.offset-rg-2{margin-left:16.66666667%}.offset-rg-3{margin-left:25%}.offset-rg-4{margin-left:33.33333333%}.offset-rg-5{margin-left:41.66666667%}.offset-rg-6{margin-left:50%}.offset-rg-7{margin-left:58.33333333%}.offset-rg-8{margin-left:66.66666667%}.offset-rg-9{margin-left:75%}.offset-rg-10{margin-left:83.33333333%}.offset-rg-11{margin-left:91.66666667%}.g-rg-0,.gx-rg-0{--bs-gutter-x: 0}.g-rg-0,.gy-rg-0{--bs-gutter-y: 0}.g-rg-1,.gx-rg-1{--bs-gutter-x: 0.25rem}.g-rg-1,.gy-rg-1{--bs-gutter-y: 0.25rem}.g-rg-2,.gx-rg-2{--bs-gutter-x: 0.5rem}.g-rg-2,.gy-rg-2{--bs-gutter-y: 0.5rem}.g-rg-3,.gx-rg-3{--bs-gutter-x: 1rem}.g-rg-3,.gy-rg-3{--bs-gutter-y: 1rem}.g-rg-4,.gx-rg-4{--bs-gutter-x: 1.5rem}.g-rg-4,.gy-rg-4{--bs-gutter-y: 1.5rem}.g-rg-5,.gx-rg-5{--bs-gutter-x: 3rem}.g-rg-5,.gy-rg-5{--bs-gutter-y: 3rem}}@media(min-width: 780px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: 0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y: 0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x: 0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y: 0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media(min-width: 1024px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: 0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: 0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: 0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: 0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media(min-width: 1280px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: 0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: 0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: 0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: 0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media(min-width: 1440px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: 0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: 0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: 0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: 0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}.container,.container-fluid,.container-xxl,.container-xl{--bs-gutter-x: 30px;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x)*.5);padding-left:calc(var(--bs-gutter-x)*.5);margin-right:auto;margin-left:auto}@media(min-width: 1280px){.container-xl,.container-lg,.container-md,.container-rg,.container-sm,.container{max-width:1280px}}@media(min-width: 1440px){.container-xxl,.container-xl,.container-lg,.container-md,.container-rg,.container-sm,.container{max-width:1440px}}.container{padding-inline:var(--post-container-padding-x)}.container-fluid{padding-inline:var(--post-container-fluid-padding-x)}.container{--post-container-padding-x: 12px}.container-fluid{--post-container-fluid-padding-x: 12px}.row{--bs-gutter-x: 12px}@media(min-width: 400px){.container{--post-container-padding-x: 16px}}@media(min-width: 400px){.container-fluid{--post-container-fluid-padding-x: 16px}}@media(min-width: 400px){.row{--bs-gutter-x: 16px}}@media(min-width: 780px){.container{--post-container-padding-x: 32px}}@media(min-width: 780px){.container-fluid{--post-container-fluid-padding-x: 32px}}@media(min-width: 1280px){.container{--post-container-padding-x: 40px}}@media(min-width: 1440px){.container{--post-container-padding-x: 120px}}.g-0,.gx-0{--bs-gutter-x: 0}.g-1,.gx-1{--bs-gutter-x: 0.25rem}.g-2,.gx-2{--bs-gutter-x: 0.5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}@media(min-width: 400px){.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}}@media(min-width: 400px){.g-sm-1,.gx-sm-1{--bs-gutter-x: 0.25rem}}@media(min-width: 400px){.g-sm-2,.gx-sm-2{--bs-gutter-x: 0.5rem}}@media(min-width: 400px){.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}}@media(min-width: 400px){.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}}@media(min-width: 400px){.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}}@media(min-width: 600px){.g-rg-0,.gx-rg-0{--bs-gutter-x: 0}}@media(min-width: 600px){.g-rg-1,.gx-rg-1{--bs-gutter-x: 0.25rem}}@media(min-width: 600px){.g-rg-2,.gx-rg-2{--bs-gutter-x: 0.5rem}}@media(min-width: 600px){.g-rg-3,.gx-rg-3{--bs-gutter-x: 1rem}}@media(min-width: 600px){.g-rg-4,.gx-rg-4{--bs-gutter-x: 1.5rem}}@media(min-width: 600px){.g-rg-5,.gx-rg-5{--bs-gutter-x: 3rem}}@media(min-width: 780px){.g-md-0,.gx-md-0{--bs-gutter-x: 0}}@media(min-width: 780px){.g-md-1,.gx-md-1{--bs-gutter-x: 0.25rem}}@media(min-width: 780px){.g-md-2,.gx-md-2{--bs-gutter-x: 0.5rem}}@media(min-width: 780px){.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}}@media(min-width: 780px){.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}}@media(min-width: 780px){.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}}@media(min-width: 1024px){.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}}@media(min-width: 1024px){.g-lg-1,.gx-lg-1{--bs-gutter-x: 0.25rem}}@media(min-width: 1024px){.g-lg-2,.gx-lg-2{--bs-gutter-x: 0.5rem}}@media(min-width: 1024px){.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}}@media(min-width: 1024px){.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}}@media(min-width: 1024px){.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}}@media(min-width: 1280px){.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}}@media(min-width: 1280px){.g-xl-1,.gx-xl-1{--bs-gutter-x: 0.25rem}}@media(min-width: 1280px){.g-xl-2,.gx-xl-2{--bs-gutter-x: 0.5rem}}@media(min-width: 1280px){.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}}@media(min-width: 1280px){.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}}@media(min-width: 1280px){.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}}@media(min-width: 1440px){.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}}@media(min-width: 1440px){.g-xxl-1,.gx-xxl-1{--bs-gutter-x: 0.25rem}}@media(min-width: 1440px){.g-xxl-2,.gx-xxl-2{--bs-gutter-x: 0.5rem}}@media(min-width: 1440px){.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}}@media(min-width: 1440px){.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}}@media(min-width: 1440px){.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}}.vertical-gutters{margin-bottom:-30px}.vertical-gutters>.col,.vertical-gutters>[class*=col-]{padding-bottom:30px}.row.border-gutters{margin-right:-1px;margin-bottom:-1px;margin-left:0}.row.border-gutters>.col,.row.border-gutters>[class*=col-]{padding-right:1px;padding-bottom:1px;padding-left:0}.container-reset{margin-right:-12px;margin-left:-12px}.container-reset-left{margin-left:-12px}.container-reset-right{margin-right:-12px}@media(max-width: 399.98px){.container-fluid-xs{padding-right:1rem;padding-left:1rem}}@media(min-width: 400px){.container-reset{margin-right:-16px;margin-left:-16px}}@media(min-width: 400px){.container-reset-left{margin-left:-16px}}@media(min-width: 400px){.container-reset-right{margin-right:-16px}}@media(min-width: 400px)and (max-width: 599.98px){.container-fluid-sm{padding-right:1rem;padding-left:1rem}}@media(min-width: 600px)and (max-width: 779.98px){.container-fluid-rg{padding-right:1rem;padding-left:1rem}}@media(min-width: 780px){.container-reset{margin-right:-32px;margin-left:-32px}}@media(min-width: 780px){.container-reset-left{margin-left:-32px}}@media(min-width: 780px){.container-reset-right{margin-right:-32px}}@media(min-width: 780px)and (max-width: 1023.98px){.container-fluid-md{padding-right:1rem;padding-left:1rem}}@media(min-width: 1024px)and (max-width: 1279.98px){.container-fluid-lg{padding-right:1rem;padding-left:1rem}}@media(min-width: 1280px){.container-reset{margin-right:-40px;margin-left:-40px}}@media(min-width: 1280px){.container-reset-left{margin-left:-40px}}@media(min-width: 1280px){.container-reset-right{margin-right:-40px}}@media(min-width: 1280px)and (max-width: 1439.98px){.container-fluid-xl{padding-right:1rem;padding-left:1rem}}@media(min-width: 1440px){.container-reset{margin-right:-120px;margin-left:-120px}}@media(min-width: 1440px){.container-reset-left{margin-left:-120px}}@media(min-width: 1440px){.container-reset-right{margin-right:-120px}}@media(min-width: 1440px){.container-fluid-xxl{padding-right:1rem;padding-left:1rem}}
|
package/components/grid.scss
DELETED
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
@forward './../variables/options';
|
|
2
|
-
|
|
3
|
-
@use 'sass:map';
|
|
4
|
-
|
|
5
|
-
@use './../themes/bootstrap/core' as *;
|
|
6
|
-
@use './../themes/bootstrap/grid' as bg;
|
|
7
|
-
@use './../themes/bootstrap/containers' as bc;
|
|
8
|
-
|
|
9
|
-
@use './../variables/commons';
|
|
10
|
-
@use './../variables/spacing';
|
|
11
|
-
@use './../variables/grid';
|
|
12
|
-
|
|
13
|
-
$container-padding-x-cache: 0;
|
|
14
|
-
$container-fluid-padding-x-cache: 0;
|
|
15
|
-
$gutter-x-cache: 0;
|
|
16
|
-
|
|
17
|
-
.container {
|
|
18
|
-
padding-inline: var(--post-container-padding-x);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.container-fluid {
|
|
22
|
-
padding-inline: var(--post-container-fluid-padding-x);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@each $breakpoint in grid.$grid-breakpoints-list {
|
|
26
|
-
$container-padding-x: map.get(grid.$grid-container-padding, $breakpoint);
|
|
27
|
-
$container-fluid-padding-x: map.get(grid.$grid-container-fluid-padding, $breakpoint);
|
|
28
|
-
$gutter-x: map.get(grid.$grid-gutter-x, $breakpoint);
|
|
29
|
-
|
|
30
|
-
@if ($container-padding-x-cache != $container-padding-x) {
|
|
31
|
-
.container {
|
|
32
|
-
@if $breakpoint == 'xs' {
|
|
33
|
-
--post-container-padding-x: #{$container-padding-x};
|
|
34
|
-
} @else {
|
|
35
|
-
@include media-breakpoint-up($breakpoint) {
|
|
36
|
-
--post-container-padding-x: #{$container-padding-x};
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@if ($container-fluid-padding-x-cache != $container-fluid-padding-x) {
|
|
43
|
-
.container-fluid {
|
|
44
|
-
@if $breakpoint == 'xs' {
|
|
45
|
-
--post-container-fluid-padding-x: #{$container-fluid-padding-x};
|
|
46
|
-
} @else {
|
|
47
|
-
@include media-breakpoint-up($breakpoint) {
|
|
48
|
-
--post-container-fluid-padding-x: #{$container-fluid-padding-x};
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@if ($gutter-x-cache != $gutter-x) {
|
|
55
|
-
.row {
|
|
56
|
-
@if $breakpoint == 'xs' {
|
|
57
|
-
--bs-gutter-x: #{$gutter-x};
|
|
58
|
-
} @else {
|
|
59
|
-
@include media-breakpoint-up($breakpoint) {
|
|
60
|
-
--bs-gutter-x: #{$gutter-x};
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
$container-padding-x-cache: $container-padding-x;
|
|
67
|
-
$container-fluid-padding-x-cache: $container-fluid-padding-x;
|
|
68
|
-
$gutter-x-cache: $gutter-x;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// redefine gutter-utilities, to override the custom gutter-width above
|
|
72
|
-
@each $infix in grid.$grid-breakpoints-list {
|
|
73
|
-
@each $postfix, $gutter in $gutters {
|
|
74
|
-
@if $infix == 'xs' {
|
|
75
|
-
.g-#{$postfix},
|
|
76
|
-
.gx-#{$postfix} {
|
|
77
|
-
--bs-gutter-x: #{$gutter};
|
|
78
|
-
}
|
|
79
|
-
} @else {
|
|
80
|
-
@include media-breakpoint-up($infix) {
|
|
81
|
-
.g-#{$infix}-#{$postfix},
|
|
82
|
-
.gx-#{$infix}-#{$postfix} {
|
|
83
|
-
--bs-gutter-x: #{$gutter};
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
//the following classes are all deprecated and wil be removed in next major version
|
|
91
|
-
|
|
92
|
-
//deprecated
|
|
93
|
-
.vertical-gutters {
|
|
94
|
-
margin-bottom: grid.$grid-gutter-width * -1;
|
|
95
|
-
|
|
96
|
-
> .col,
|
|
97
|
-
> [class*='col-'] {
|
|
98
|
-
padding-bottom: grid.$grid-gutter-width;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
//deprecated
|
|
103
|
-
// border-gutters class is used to manipulate border collapse
|
|
104
|
-
.row.border-gutters {
|
|
105
|
-
margin-right: -(commons.$border-width);
|
|
106
|
-
margin-bottom: -(commons.$border-width);
|
|
107
|
-
margin-left: 0;
|
|
108
|
-
|
|
109
|
-
> .col,
|
|
110
|
-
> [class*='col-'] {
|
|
111
|
-
padding-right: commons.$border-width;
|
|
112
|
-
padding-bottom: commons.$border-width;
|
|
113
|
-
padding-left: 0;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
//deprecated
|
|
118
|
-
$container-cache: 0;
|
|
119
|
-
|
|
120
|
-
//deprecated
|
|
121
|
-
@each $breakpoint in grid.$grid-breakpoints-list {
|
|
122
|
-
$container-padding: map.get(grid.$grid-container-padding, $breakpoint);
|
|
123
|
-
|
|
124
|
-
// Ensure this breakpoint is only overwritten when the padding differs from the last breakpoint
|
|
125
|
-
@if ($container-cache != $container-padding) {
|
|
126
|
-
.container-reset {
|
|
127
|
-
@if $breakpoint == 'xs' {
|
|
128
|
-
margin-right: -($container-padding);
|
|
129
|
-
margin-left: -($container-padding);
|
|
130
|
-
} @else {
|
|
131
|
-
@include media-breakpoint-up($breakpoint) {
|
|
132
|
-
margin-right: -($container-padding);
|
|
133
|
-
margin-left: -($container-padding);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.container-reset-left {
|
|
139
|
-
@if $breakpoint== 'xs' {
|
|
140
|
-
margin-left: -($container-padding);
|
|
141
|
-
} @else {
|
|
142
|
-
@include media-breakpoint-up($breakpoint) {
|
|
143
|
-
margin-left: -($container-padding);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.container-reset-right {
|
|
149
|
-
@if $breakpoint== 'xs' {
|
|
150
|
-
margin-right: -($container-padding);
|
|
151
|
-
} @else {
|
|
152
|
-
@include media-breakpoint-up($breakpoint) {
|
|
153
|
-
margin-right: -($container-padding);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
//deprecated
|
|
160
|
-
// Container fluid responsive needs to be written every time
|
|
161
|
-
.container-fluid-#{$breakpoint} {
|
|
162
|
-
@include media-breakpoint-only($breakpoint) {
|
|
163
|
-
padding-right: spacing.$spacer;
|
|
164
|
-
padding-left: spacing.$spacer;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
//deprecated
|
|
169
|
-
$container-cache: $container-padding;
|
|
170
|
-
}
|