Sha256: 7f8d9ee91ef34c697026d08c1dea4fc261db94eba46d9e13018db0d287ddadc0

Contents?: true

Size: 1.24 KB

Versions: 11

Compression:

Stored size: 1.24 KB

Contents

// ---------------------------------------------------------------------------
// Imports

@import "../../../sass/ezy/grid";

$column-width: 60px;
$gutter-width: 30px;
$total-columns: 12;
@include grid-init();

// Widths for use in media queries
$width-small:   context-width( 4 );
$width-medium:  context-width( 8 );
$width-large:   context-width( $total-columns );

// Defining media query breakpoints
$breakpoint-small:  set-breakpoint( $max: $width-small );
$breakpoint-medium: set-breakpoint( $min: $width-small+1 );
$breakpoint-large:  set-breakpoint( $min: $width-medium+1, $legacy-support: true ); // Support for legacy browsers

.page {
  @include master( $total-columns ); // Sets max-width
}

.grid {
  @include container( 4 );
  @include at-breakpoint( $breakpoint-medium ) {
    @include container( 8, $at-breakpoint: true );
  }
  @include at-breakpoint( $breakpoint-large ) {
    @include container( $total-columns, $at-breakpoint: true );
  }
}

.column {
  @include span-columns( 4, $context: 4);
  @include at-breakpoint( $breakpoint-medium ) {
    @include span-columns( 4, $context: 8, $at-breakpoint: true);
  }
  @include at-breakpoint( $breakpoint-large ) {
    @include span-columns( 4, $context: $total-columns, $at-breakpoint: true);
  }
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ezy-0.4.2.beta test/scss/grid/responsive.scss
ezy-0.3.3 test/scss/grid/responsive.scss
ezy-0.3.2 test/scss/grid/responsive.scss
ezy-0.4.1.beta test/scss/grid/responsive.scss
ezy-0.4.0.beta test/scss/grid/responsive.scss
ezy-0.3.1.beta test/scss/grid/responsive.scss
ezy-0.3.0.beta test/scss/grid/responsive.scss
ezy-0.2.9 test/scss/grid/responsive.scss
ezy-0.2.8 test/scss/grid/responsive.scss
ezy-0.2.7.alpha test/scss/grid/responsive.scss
ezy-0.2.6.alpha test/scss/grid/responsive.scss