From: Andy Cochran Date: Tue, 10 May 2016 21:17:08 +0000 (-0400) Subject: allow foundation-flex-video mixin, warn if used X-Git-Tag: v6.3-rc1~61^2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8765%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git allow foundation-flex-video mixin, warn if used --- diff --git a/scss/components/_flex-video.scss b/scss/components/_flex-video.scss new file mode 100644 index 000000000..bf85a6c53 --- /dev/null +++ b/scss/components/_flex-video.scss @@ -0,0 +1 @@ +@import 'responsive-embed'; diff --git a/scss/components/_responsive-embed.scss b/scss/components/_responsive-embed.scss index 3f84e5538..fb80bd337 100644 --- a/scss/components/_responsive-embed.scss +++ b/scss/components/_responsive-embed.scss @@ -58,6 +58,11 @@ $responsive-embed-ratio-widescreen: 16 by 9 !default; } } +@mixin foundation-flex-video { + @warn 'This mixin is being replaced by foundation-responsive-embed(). foundation-flex-video() will be removed in Foundation 6.4.'; + @include foundation-responsive-embed; +} + @mixin flex-video($ratio: $responsive-embed-ratio) { @warn 'This mixin is being replaced by responsive-embed(). flex-video() will be removed in Foundation 6.4.'; position: relative;