]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
allow foundation-flex-video mixin, warn if used 8765/head
authorAndy Cochran <acochran@council.nyc.gov>
Tue, 10 May 2016 21:17:08 +0000 (17:17 -0400)
committerAndy Cochran <acochran@council.nyc.gov>
Tue, 10 May 2016 21:17:08 +0000 (17:17 -0400)
scss/components/_flex-video.scss [new file with mode: 0644]
scss/components/_responsive-embed.scss

diff --git a/scss/components/_flex-video.scss b/scss/components/_flex-video.scss
new file mode 100644 (file)
index 0000000..bf85a6c
--- /dev/null
@@ -0,0 +1 @@
+@import 'responsive-embed';
index 3f84e55388019ba57362b01a56c0c19a1e11d88a..fb80bd3375e7b16a3261e8bc6fbe4797f436ec59 100644 (file)
@@ -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;