You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
722 B
36 lines
722 B
7 years ago
|
// Single side border-radius
|
||
|
|
||
|
@mixin border-radius($radius: $border-radius) {
|
||
|
@if $enable-rounded {
|
||
|
border-radius: $radius;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@mixin border-top-radius($radius) {
|
||
|
@if $enable-rounded {
|
||
|
border-top-right-radius: $radius;
|
||
|
border-top-left-radius: $radius;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@mixin border-right-radius($radius) {
|
||
|
@if $enable-rounded {
|
||
|
border-bottom-right-radius: $radius;
|
||
|
border-top-right-radius: $radius;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@mixin border-bottom-radius($radius) {
|
||
|
@if $enable-rounded {
|
||
|
border-bottom-right-radius: $radius;
|
||
|
border-bottom-left-radius: $radius;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@mixin border-left-radius($radius) {
|
||
|
@if $enable-rounded {
|
||
|
border-bottom-left-radius: $radius;
|
||
|
border-top-left-radius: $radius;
|
||
|
}
|
||
|
}
|