From: Kevin Ball Date: Tue, 20 Jun 2017 00:22:40 +0000 (-0700) Subject: Add css for nested variation of frame X-Git-Tag: v6.4.0-rc5~8^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10209%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Add css for nested variation of frame --- diff --git a/scss/xy-grid/_classes.scss b/scss/xy-grid/_classes.scss index 0d038110b..a29d2b2fa 100644 --- a/scss/xy-grid/_classes.scss +++ b/scss/xy-grid/_classes.scss @@ -305,6 +305,10 @@ @include xy-grid-frame; } + .cell .grid-frame { + width: 100%; // Same as include with $nested, but with less css + } + .cell-block { @include xy-cell-block(); } @@ -325,6 +329,10 @@ @include xy-grid-frame; } + .cell .#{$-zf-size}-grid-frame { + width: 100%; // Same as include with $nested, but with less css + } + .#{$-zf-size}-cell-block { @include xy-cell-block(); } @@ -354,8 +362,17 @@ } } + .cell { + .grid-y.grid-frame { + height: 100%; // Same as include with $nested, but with less css + } + @include -zf-each-breakpoint(false) { + .grid-y.#{$-zf-size}-grid-frame { + height: 100%; // Same as include with $nested, but with less css + } + } + } } - } // Final classes