Sha256: d614c3fc2ffdc6db5f2e0c76d29321fcae406a00dec37f85401624531f0e6100
Contents?: true
Size: 963 Bytes
Versions: 1
Compression:
Stored size: 963 Bytes
Contents
// Grid Syntax // =========== // Layout // ------ // Set a new layout using a shorthand // - $layout: <settings> // - $clean: boolean @mixin layout( $layout, $clean: false ) { $susy: _get-layout($layout, $clean) !global; } // Use Grid // -------- // Use an arbitrary layout for a section of code // - $layout: <settings> // - $clean: boolean @mixin with-layout( $layout, $clean: false ) { $old: $susy; $susy: _get-layout($layout, $clean) !global; @content; $susy: $old !global; } // Layout // ------ // Return a parsed layout map based on shorthand syntax // - $layout: <settings> @function layout( $layout: $susy ) { @return parse-grid($layout); } // Get Layout // ---------- // Return a new layout based on current and given settings // - $layout: <settings> // - $clean: boolean @function _get-layout( $layout, $clean: false ) { $layout: layout($layout); @return if($clean, $layout, _susy-deep-merge($susy, $layout)); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
susy-2.1.2 | sass/susy/language/susy/_grids.scss |