1
0
mirror of https://github.com/kidoman/embd synced 2024-06-01 16:48:06 +02:00
embd/bower_components/gumby/sass/functions/_shapes.scss

23 lines
489 B
SCSS
Raw Normal View History

2014-03-31 03:03:08 +02:00
// 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);
}
}