Sha256: d878a122676cee06ee9f7118a5e7863fb16d69cf2c3537443b478431fef68ba2

Contents?: true

Size: 410 Bytes

Versions: 10

Compression:

Stored size: 410 Bytes

Contents

@function end-row($span, $location, $columns) {
  $columns: find-grid($columns);

  @if $location == 'last' or $location == 'omega' {
    @return true;
  }
  @else {
    @if $location + ($span - 1) == column-count($columns) {
      @return true;
    }
    @else {
      @return false;
    }
  }
}

@function start-row($location) {
  @if $location == 1 {
    @return true;
  }
  @else {
    @return false;
  }
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
singularitygs-1.1.2 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.1.1 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.1.0 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.0.8 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.0.7 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.0.6 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.0.5 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.0.4 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.0.3 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.0.2 stylesheets/singularitygs/helpers/_columns.scss