/* ============================================================================
   @LAYOUT -> GRID -> PULL
   ========================================================================= */


/**
 * Pull grid items over to the right by certain amounts with the option to
 * apply at all the main breakpoints.
 *
 * @credit
 * https://github.com/csswizardry/csswizardry-grids/blob/master/csswizardry-grids.scss
 */


/**
 * Settings.
 */

// Turned off by default as this generates a lot of CSS
$l-grid-pull-apply:                 false !default;

// Apply at these breakpoints
$l-grid-pull-apply-at-breakpoints:  (lap) !default;


/**
 * Generate all the pull classes.
 */

@if $l-grid-pull-apply {
  @include generate-percentage-classes-at-breakpoints(
    $l-grid-pull-apply-at-breakpoints,
    $scally-type: "l",
    $class-name: "pull",
    $css-property: "right"
  );
}