Sha256: b11163d7a4218e58fba14d1f0f8a519fe445dec034486b93a80c7dbe567f21f3

Contents?: true

Size: 489 Bytes

Versions: 2

Compression:

Stored size: 489 Bytes

Contents

// Shapes

@mixin shape($shape: square, $shape-radius: false) {
	@if $shape == oval {
    @include border-radius(1000px);
  }
  @else if $shape == circle {
    @include border-radius(1000px);
  }
	@else if $shape == pill-left {
    @include border-radius(500px 0 0 500px);
 	}
	@else if $shape == pill-right {
    @include border-radius(0 500px 500px 0);
  }
  @else if $shape-radius != false {
    @include border-radius($shape-radius);
  }
  @else {
    @include border-radius(0);
  }
}

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
gumby_on_rails-0.0.1 app/assets/stylesheets/gumby/functions/_shapes.scss
middleman-gumby-0.0.1 vendor/assets/sass/functions/_shapes.scss