UNPKG

1.55 kBSCSSView Raw
1// stylelint-disable declaration-no-important
2
3//
4// Border
5//
6
7.border { border: $border-width solid $border-color !important; }
8.border-top { border-top: $border-width solid $border-color !important; }
9.border-right { border-right: $border-width solid $border-color !important; }
10.border-bottom { border-bottom: $border-width solid $border-color !important; }
11.border-left { border-left: $border-width solid $border-color !important; }
12
13.border-0 { border: 0 !important; }
14.border-top-0 { border-top: 0 !important; }
15.border-right-0 { border-right: 0 !important; }
16.border-bottom-0 { border-bottom: 0 !important; }
17.border-left-0 { border-left: 0 !important; }
18
19@each $color, $value in $theme-colors {
20 .border-#{$color} {
21 border-color: $value !important;
22 }
23}
24
25.border-white {
26 border-color: $white !important;
27}
28
29//
30// Border-radius
31//
32
33.rounded {
34 border-radius: $border-radius !important;
35}
36.rounded-top {
37 border-top-left-radius: $border-radius !important;
38 border-top-right-radius: $border-radius !important;
39}
40.rounded-right {
41 border-top-right-radius: $border-radius !important;
42 border-bottom-right-radius: $border-radius !important;
43}
44.rounded-bottom {
45 border-bottom-right-radius: $border-radius !important;
46 border-bottom-left-radius: $border-radius !important;
47}
48.rounded-left {
49 border-top-left-radius: $border-radius !important;
50 border-bottom-left-radius: $border-radius !important;
51}
52
53.rounded-circle {
54 border-radius: 50% !important;
55}
56
57.rounded-0 {
58 border-radius: 0 !important;
59}