2014-12-02 23:02:35 +01:00
|
|
|
// Single side border-radius
|
|
|
|
|
2015-10-07 09:05:38 +02:00
|
|
|
@mixin border-radius($radius: $border-radius) {
|
|
|
|
@if $enable-rounded {
|
|
|
|
border-radius: $radius;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-12-02 23:02:35 +01:00
|
|
|
@mixin border-top-radius($radius) {
|
2015-09-03 18:04:51 +02:00
|
|
|
@if $enable-rounded {
|
|
|
|
border-top-left-radius: $radius;
|
2017-03-18 21:06:05 +01:00
|
|
|
border-top-right-radius: $radius;
|
2015-09-03 18:04:51 +02:00
|
|
|
}
|
2014-12-02 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin border-right-radius($radius) {
|
2015-09-03 18:04:51 +02:00
|
|
|
@if $enable-rounded {
|
|
|
|
border-top-right-radius: $radius;
|
2017-03-18 21:06:05 +01:00
|
|
|
border-bottom-right-radius: $radius;
|
2015-09-03 18:04:51 +02:00
|
|
|
}
|
2014-12-02 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin border-bottom-radius($radius) {
|
2015-09-03 18:04:51 +02:00
|
|
|
@if $enable-rounded {
|
|
|
|
border-bottom-right-radius: $radius;
|
|
|
|
border-bottom-left-radius: $radius;
|
|
|
|
}
|
2014-12-02 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin border-left-radius($radius) {
|
2015-09-03 18:04:51 +02:00
|
|
|
@if $enable-rounded {
|
|
|
|
border-top-left-radius: $radius;
|
2017-03-18 21:06:05 +01:00
|
|
|
border-bottom-left-radius: $radius;
|
2015-09-03 18:04:51 +02:00
|
|
|
}
|
2014-12-02 23:02:35 +01:00
|
|
|
}
|