Sha256: 1df725e19aa7c8cee66bb8aa2aeb550d6ffb604aaa0eb1551bf20686e80a55c5

Contents?: true

Size: 983 Bytes

Versions: 130

Compression:

Stored size: 983 Bytes

Contents

// Stripped out additional styles not needed for flexbox support from original mixins/grid-framework.scss

@mixin make-grid-columns($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) {
  @each $breakpoint in map-keys($breakpoints) {
    $infix: breakpoint-infix($breakpoint, $breakpoints);
    @include media-breakpoint-up($breakpoint, $breakpoints) {
      // Provide basic `.col-{bp}` classes for equal-width flexbox columns
      .col#{$infix} {
        -ms-flex-preferred-size: 0;
        -ms-flex-positive: 1;
      }
      .col#{$infix}-auto {
        -ms-flex: 0 0 auto;
      }

      @for $i from 1 through $columns {
        .col#{$infix}-#{$i} {
          @include make-col($i, $columns);
        }
      }

      .order#{$infix}-first { -ms-flex-order: -1; }
      .order#{$infix}-last { -ms-flex-order: $columns + 1; }

      @for $i from 0 through $columns {
        .order#{$infix}-#{$i} { -ms-flex-order: $i; }
      }
    }
  }
}

Version data entries

130 entries across 130 versions & 1 rubygems

Version Path
nfg_ui-6.17.2 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-6.17.1 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-6.17.0 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-6.16.3 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-6.16.2 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-6.16.1 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-6.16.0 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-5.15.7 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-5.15.6 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-5.15.5 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-5.15.4 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-5.15.3 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-0.15.2 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-0.15.1 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-0.15.0 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-0.14.7 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-0.14.6.3 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-0.14.6.2 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-0.14.6.1 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
nfg_ui-0.14.6 app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss