0
|
1 // Single side border-radius
|
|
2
|
|
3 @mixin border-radius($radius: $border-radius) {
|
|
4 @if $enable-rounded {
|
|
5 border-radius: $radius;
|
|
6 }
|
|
7 }
|
|
8
|
|
9 @mixin border-top-radius($radius) {
|
|
10 @if $enable-rounded {
|
|
11 border-top-left-radius: $radius;
|
|
12 border-top-right-radius: $radius;
|
|
13 }
|
|
14 }
|
|
15
|
|
16 @mixin border-right-radius($radius) {
|
|
17 @if $enable-rounded {
|
|
18 border-top-right-radius: $radius;
|
|
19 border-bottom-right-radius: $radius;
|
|
20 }
|
|
21 }
|
|
22
|
|
23 @mixin border-bottom-radius($radius) {
|
|
24 @if $enable-rounded {
|
|
25 border-bottom-right-radius: $radius;
|
|
26 border-bottom-left-radius: $radius;
|
|
27 }
|
|
28 }
|
|
29
|
|
30 @mixin border-left-radius($radius) {
|
|
31 @if $enable-rounded {
|
|
32 border-top-left-radius: $radius;
|
|
33 border-bottom-left-radius: $radius;
|
|
34 }
|
|
35 }
|