]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Remove scss items marked for removal in 6.3 9437/head
authorKevin Ball <kmball11@gmail.com>
Fri, 2 Dec 2016 23:15:39 +0000 (15:15 -0800)
committerKevin Ball <kmball11@gmail.com>
Fri, 2 Dec 2016 23:15:39 +0000 (15:15 -0800)
scss/_global.scss
scss/grid/_flex-grid.scss
scss/grid/_grid.scss
scss/util/_breakpoint.scss

index cb975302364139a81d4fc2b60cbb4b7634a1b7ac..e23f65b8d3cf3a5e29bd7191b2e513c84a32b3b1 100644 (file)
@@ -109,10 +109,6 @@ $success-color: map-get($foundation-palette, success);
 $warning-color: map-get($foundation-palette, warning);
 $alert-color: map-get($foundation-palette, alert);
 
-// Remove this in 6.3
-$-zf-menu-icon-imported: false;
-$-zf-flex-classes-imported: false;
-
 @mixin foundation-global-styles {
   @include -zf-normalize;
 
index fa76956fa7474c29e59efc2fcac25f6f9ef61ca5..a43774d1a883965c5578325b89567891ae48a3ae 100644 (file)
   }
 }
 
-/// Changes the source order of a flex grid column. Columns with lower numbers appear first in the layout.
-/// @param {Number} $order [0] - Order number to apply.
-@mixin flex-grid-order($order: 0) {
-  @warn 'This mixin is being replaced by flex-order(). flex-grid-order() will be removed in Foundation 6.3.';
-  @include flex-order($order);
-}
-
-/// Horizontally or vertically aligns the columns within a flex row. Apply this mixin to a flex row.
-///
-/// @param {Keyword} $x [null] - Horizontal alignment to use. Can be `left`, `right`, `center`, `justify`, or `spaced`. Or, set it to `null` (the default) to not set horizontal alignment.
-/// @param {Keyword} $y [null] - Vertical alignment to use. Can be `top`, `bottom`, `middle`, or `stretch`. Or, set it to `null` (the default) to not set vertical alignment.
-@mixin flex-grid-row-align($x: null, $y: null) {
-  @warn 'This mixin is being replaced by flex-align(). flex-grid-row-align() will be removed in Foundation 6.3.';
-  @include flex-align($x, $y);
-}
-
-/// Vertically align a single column within a flex row. Apply this mixin to a flex column.
-///
-/// @param {Keyword} $y [null] - Vertical alignment to use. Can be `top`, `bottom`, `middle`, or `stretch`. Or, set it to `null` (the default) to not set vertical alignment.
-@mixin flex-grid-column-align($y: null) {
-  @warn 'This mixin is being replaced by flex-align-self(). flex-grid-column-align() will be removed in Foundation 6.3.';
-  @include flex-align-self($y);
-}
 
 @mixin foundation-flex-grid {
   // Row
     max-width: 100%;
   }
 
-  // Vertical alignment using align-items and align-self
-  // Remove these in 6.3
-  @each $vdir, $prop in $-zf-flex-align {
-    .column.align-#{$vdir} {
-      @include flex-align-self($vdir);
-    }
-  }
-
   .columns {
     @extend .column; // sass-lint:disable-line placeholder-in-extend
 
index eab0dc1c8c22deadab1113a987c604747d68e7f1..23fd33f89803e7c50f0fea79ff082eb5524c411e 100644 (file)
@@ -33,14 +33,6 @@ $block-grid-max: 8 !default;
 // Internal value to store the end column float direction
 $-zf-end-float: if($grid-column-align-edge, $global-right, $global-left);
 
-// The last piece to transition the responsive gutter feature
-// Remove this in 6.3
-$grid-column-responsive-gutter: null !default;
-@if $grid-column-responsive-gutter {
-  @warn 'Rename $grid-column-responsive-gutter to $grid-column-gutter to remove this warning.';
-  $grid-column-gutter: $grid-column-responsive-gutter;
-}
-
 @import 'row';
 @import 'column';
 @import 'size';
index 50f6f22b90c0fec8d7d3f8b2f9589260ff8f6925..fc2b6db53e88d918587e24e0973e2a5ee68a7ea1 100644 (file)
@@ -248,19 +248,6 @@ $breakpoint-classes: (small medium large) !default;
   }
 }
 
-// Legacy breakpoint variables
-// These will be removed in 6.3
-$small-up: null;
-$small-only: null;
-$medium-up: null;
-$medium-only: null;
-$large-up: null;
-$large-only: null;
-$xlarge-up: null;
-$xlarge-only: null;
-$xxlarge-up: null;
-$xxlarge-only: null;
-
 @if map-has-key($breakpoints, small) {
   $small-up: screen;
   $small-only: unquote('screen and #{breakpoint(small only)}');