Sha256: c51ed3d2cc41d337b437e14a8d7638addbbe0352dfc4d2ccb7f78fc258ab8c06

Contents?: true

Size: 456 Bytes

Versions: 15

Compression:

Stored size: 456 Bytes

Contents

@function end-row($span, $location, $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 == 'first' or $location == 'alpha' {
    @return true;
  }
  @else if $location == 1 {
    @return true;
  }
  @else {
    @return false;
  }
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
singularitygs-1.8.0 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.7.1 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.7.0 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.6.2 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.6.1 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.5.1 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.5.0 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.4.0 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.3.0 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.2.3 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.2.1 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.2.0 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.2.0.rc.6 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.2.0.rc.3 stylesheets/singularitygs/helpers/_columns.scss
singularitygs-1.2.0.rc.1 stylesheets/singularitygs/helpers/_columns.scss