Sha256: 363ecbdced027cf21d930bfe57b6d732e9f704eacdda1aa72db7d7e9e76cef22

Contents?: true

Size: 979 Bytes

Versions: 3

Compression:

Stored size: 979 Bytes

Contents

// Make column
@mixin make-col($size) {
  flex: 0 0 percentage($size / $grid-columns);
  max-width: percentage($size / $grid-columns);
}

@mixin make-col-offset($size) {
  $num: $size / $grid-columns;

  margin-left: if($num == 0, 0, percentage($num));
}

@mixin make-col-ready() {
  min-height: 1px;
  padding-right: ($grid-gutter-width / 2);
  padding-left: ($grid-gutter-width / 2);
  position: relative;
  width: 100%;
}

// Make container

@mixin make-container() {
  margin-right: auto;
  margin-left: auto;
  padding-right: ($grid-gutter-width / 2);
  padding-left: ($grid-gutter-width / 2);
  width: 100%;
}

@mixin make-container-max-widths() {
  @each $breakpoint, $container-max-width in $container-max-widths {
    @include media-breakpoint-up($breakpoint) {
      max-width: $container-max-width;
    }
  }
}

// Make row

@mixin make-row() {
  display: flex;
  flex-wrap: wrap;
  margin-right: ($grid-gutter-width / -2);
  margin-left: ($grid-gutter-width / -2);
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
material-sass-4.1.1 assets/stylesheets/material/mixins/_grid.scss
material-sass-4.1.0 assets/stylesheets/material/mixins/_grid.scss
material-sass-4.0.0 assets/stylesheets/material/mixins/_grid.scss