Sha256: cc2b0b487a6a3a71a8379a00bf83127be87ae9c02595971476c009a54dcd8ac8
Contents?: true
Size: 1.04 KB
Versions: 16
Compression:
Stored size: 1.04 KB
Contents
@mixin grid-column-gradient($values...) { background-image: -webkit-linear-gradient(left, $values); background-image: -moz-linear-gradient(left, $values); background-image: -ms-linear-gradient(left, $values); background-image: -o-linear-gradient(left, $values); background-image: unquote("linear-gradient(to left, #{$values})"); } @if $visual-grid == true or $visual-grid == yes { body:before { content: ''; display: inline-block; @include grid-column-gradient(gradient-stops($grid-columns)); height: 100%; left: 0; margin: 0 auto; max-width: $max-width; opacity: $visual-grid-opacity; position: fixed; right: 0; width: 100%; pointer-events: none; @if $visual-grid-index == back { z-index: -1; } @else if $visual-grid-index == front { z-index: 9999; } @each $breakpoint in $visual-grid-breakpoints { @if $breakpoint { @include media($breakpoint) { @include grid-column-gradient(gradient-stops($grid-columns)); } } } } }
Version data entries
16 entries across 16 versions & 2 rubygems