Sha256: f7d3b1bb26eda5d855de77f1992f37c6d52df81f2c8ec745ae52e33b44ef2c62

Contents?: true

Size: 750 Bytes

Versions: 2

Compression:

Stored size: 750 Bytes

Contents

// Foundation for Sites
// https://get.foundation
// Licensed under MIT Open Source

////
/// @group prototype-border-box
////

/// Responsive breakpoints for border box.
/// @type Boolean
$prototype-border-box-breakpoints: $global-prototype-breakpoints !default;

/// Border box utility
@mixin border-box {
  box-sizing: border-box !important;
}

@mixin foundation-prototype-border-box {
  .border-box {
    @include border-box;
  }

  @if ($prototype-border-box-breakpoints) {
    // Loop through Responsive Breakpoints
    @each $size in $breakpoint-classes {
      @include breakpoint($size) {
        @if $size != $-zf-zero-breakpoint {
          .#{$size}-border-box {
            @include border-box;
          }
        }
      }
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foundation-rails-6.9.0.0 vendor/assets/scss/prototype/_border-box.scss
foundation-rails-6.6.2.0 vendor/assets/scss/prototype/_border-box.scss