1
+ @use ' ../utils/box-shadow_variables' ;
2
+ @use ' ../utils/color_variables' ;
3
+ @use ' ../utils/size_variables' ;
4
+ @use ' ../core/box.scss' ;
5
+ @use ' ../core/columns.scss' ;
6
+ @use ' ../helper-classes/flexbox-and-grid.scss' ;
7
+
1
8
/* *
2
9
* Copyright (c) HashiCorp, Inc.
3
10
* SPDX-License-Identifier: BUSL-1.1
@@ -11,11 +18,11 @@ label.box-label {
11
18
@extend .box ;
12
19
@extend .is-centered ;
13
20
14
- border-color : $grey-light ;
21
+ border-color : color_variables . $grey-light ;
15
22
border-radius : 3px ;
16
- box-shadow : $box-link-shadow ;
23
+ box-shadow : box-shadow_variables . $box-link-shadow ;
17
24
text-decoration : none ;
18
- transition : box-shadow $speed ;
25
+ transition : box-shadow size_variables . $speed ;
19
26
width : 100% ;
20
27
21
28
> div :first-child {
@@ -27,23 +34,23 @@ label.box-label {
27
34
}
28
35
29
36
& .is-selected {
30
- box-shadow : $box-link-hover-shadow , $box-shadow-middle ;
37
+ box-shadow : box-shadow_variables . $box-link-hover-shadow , box-shadow_variables . $box-shadow-middle ;
31
38
32
39
.icon {
33
- color : $grey ;
40
+ color : color_variables . $grey ;
34
41
}
35
42
}
36
43
37
44
.icon {
38
- color : $grey-light ;
45
+ color : color_variables . $grey-light ;
39
46
}
40
47
41
48
input [type = ' radio' ] {
42
49
display : none ;
43
50
}
44
51
45
52
input [type = ' radio' ] + label {
46
- border : 1px solid $grey-light ;
53
+ border : 1px solid color_variables . $grey-light ;
47
54
border-radius : 50% ;
48
55
cursor : pointer ;
49
56
display : block ;
@@ -53,16 +60,16 @@ label.box-label {
53
60
}
54
61
55
62
input [type = ' radio' ]:checked + label {
56
- background : $blue ;
57
- border : 1px solid $blue ;
58
- box-shadow : inset 0 0 0 0.15rem $white ;
63
+ background : color_variables . $blue ;
64
+ border : 1px solid color_variables . $blue ;
65
+ box-shadow : inset 0 0 0 0.15rem color_variables . $white ;
59
66
}
60
67
}
61
68
62
69
.box-label-header {
63
- color : $grey ;
70
+ color : color_variables . $grey ;
64
71
65
72
.is-selected & {
66
- color : $grey-darkest ;
73
+ color : color_variables . $grey-darkest ;
67
74
}
68
75
}
0 commit comments