Sha256: ff36bc827bde857888461c54d2320bbe6ae845a72a322b0ff7abaf9e5fa83e53
Contents?: true
Size: 807 Bytes
Versions: 2
Compression:
Stored size: 807 Bytes
Contents
// Context Syntax // ============== // Nested [function] // ----------------- // Return a subset grid for nested context. // - $context : <span> @function nested( $context ) { $context: parse-span($context); $this-span : get-span-setting(span, $context); $this-location : get-span-setting(location, $context); $this-columns : get-span-setting(columns, $context); $this-columns : if($this-columns, $this-columns, $columns); @return get-columns($this-span, $this-location, $this-columns); } // Nested [mixin] // -------------- // Use a subset grid for a nested context // - $context : <span> // - @content : <content> @mixin nested( $context ) { $old-columns: get-setting(columns); $columns: nested($context); @content; $columns: $old-columns; }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
susy-2.0.0.alpha.4 | sass/susy/language/shared/_context.scss |
susy-2.0.0.alpha.3 | sass/susy/language/shared/_context.scss |