Sha256: 163970873467a8346dca5e9ccf75cd5701a4325aa17dbb6026c76001dfe57e9c
Contents?: true
Size: 1.25 KB
Versions: 2
Compression:
Stored size: 1.25 KB
Contents
/** * @copyright 2010-2015, The Titon Project * @license http://opensource.org/licenses/BSD-3-Clause * @link http://titon.io */ @import "../common"; // Row wrapper #{$grid-class} { @include grid-row(); } // These should be the same for all sizes #{$grid-class-column}[class*="span-"] { @include grid-column(); } // Global Push and pull classes @if $grid-push-pull { @for $i from 1 through 12 { $span: grid-span($i, 12); .push-#{$i} { left: $span; } .pull-#{$i} { right: $span; } } } // Grid sizes @each $size, $options in $grid-sizes { $size-columns: nth($options, 1); @include in-range(nth($options, 2)) { #{$grid-class-column}[class*="#{$size}-"] { @include grid-column; } @for $i from 1 through $size-columns { $span: grid-span($i, $size-columns); #{$grid-class-column}.#{$size}-#{$i} { width: $span; } @if $grid-push-pull { #{$grid-class-column}.#{$size}-push-#{$i} { left: $span; } #{$grid-class-column}.#{$size}-pull-#{$i} { right: $span; } } } } } // End capping #{$grid-class-column}#{$grid-class-end} { margin-right: 0 !important; float: right !important; }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
titon-toolkit-2.0.2 | scss/toolkit/components/grid.scss |
titon-toolkit-2.0.1 | scss/toolkit/components/grid.scss |