-
Notifications
You must be signed in to change notification settings - Fork 0
/
border.scss
44 lines (34 loc) · 1.01 KB
/
border.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@use "sass:list";
@import "../variables/default";
@import "../mixins/common";
@import "../functions/helper";
@import "../functions/theme";
@import "./gen-mixins/border-radius";
$color: themefix(border-color-default);
#{$computed-prefix}b {
@include common-border-1px('', $color);
}
#{$computed-prefix}bb {
@include common-border-1px(bottom, $color);
}
#{$computed-prefix}br {
@include common-border-1px(right, $color);
}
#{$computed-prefix}bl {
@include common-border-1px(left, $color);
}
#{$computed-prefix}bt {
@include common-border-1px(top, $color);
}
#{$computed-prefix}br-circle {
border-radius: 100% !important;
}
#{$computed-prefix}br-default {
border-radius: themefix(border-radius-default) !important;
}
$border-radius-list: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, !default;
@if $scale > 1 {
$border-radius-list: list.join($border-radius-list, (1, 3, 5, 7, 9));
}
$border-radius-options: (unit: $unit, scale: $scale, prefix: $prefix, name: br);
@include border-radius($border-radius-list, $border-radius-options);