Sha256: 9bdbc8e3f9bfdf16f8227865916e985982a0354f657b923f841bfc1f433877cb

Contents?: true

Size: 872 Bytes

Versions: 4

Compression:

Stored size: 872 Bytes

Contents

// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source

////
/// @group grid
////

/// Collapse the gutters on a column by removing the padding.
@mixin grid-column-collapse {
  padding-left: 0;
  padding-right: 0;
}

/// Un-collapse the gutters on a column by re-adding the padding.
///
/// @param {Number} $gutter [$grid-column-gutter] - Spacing between columns.
@mixin grid-column-uncollapse($gutter: $grid-column-gutter) {
  $gutter: rem-calc($gutter) / 2;
  padding-left: $gutter;
  padding-right: $gutter;
}

/// Shorthand for `grid-column-collapse()`.
/// @alias grid-column-collapse
@mixin grid-col-collapse {
  @include grid-column-collapse;
}

/// Shorthand for `grid-column-uncollapse()`.
/// @alias grid-column-uncollapse
@mixin grid-col-uncollapse($gutter: $grid-column-gutter) {
  @include grid-column-uncollapse($gutter);
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foundation-rails-6.1.1.3 vendor/assets/scss/grid/_gutter.scss
foundation-rails-6.1.1.2 vendor/assets/scss/grid/_gutter.scss
foundation-rails-6.1.1.1 vendor/assets/scss/grid/_gutter.scss
foundation-rails-6.1.1.0 vendor/assets/scss/grid/_gutter.scss