This repository was archived by the owner on Dec 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ .button-primary {
2
+ background-color : rgb (230 , 230 , 230 );
3
+ border-color : rgb (225 , 225 , 225 );
4
+
5
+ & :hover {
6
+ background-color : rgb (245 , 245 , 245 );
7
+ background-color : rgb (240 , 240 , 240 );
8
+ }
9
+ }
10
+
1
11
.button-green {
2
12
background-color : $color-green ;
3
13
color : $color-white ;
6
16
background-color : $color-green-light ;
7
17
}
8
18
}
19
+
20
+ .close-button {
21
+ background-color : transparent ;
22
+ border-color : transparent ;
23
+ cursor : pointer ;
24
+ height : 2rem ;
25
+ position : relative ;
26
+ width : 2rem ;
27
+
28
+ & ::before ,
29
+ & ::after {
30
+ background-color : rgba (0 , 0 , 0 , 0.3 );
31
+ position : absolute ;
32
+ content : ' ' ;
33
+ }
34
+
35
+ & ::before {
36
+ height : 100% ;
37
+ left : 50% ;
38
+ top : 0px ;
39
+ transform : translate (-50% , 0% ) rotate (45deg );
40
+ width : 1px ;
41
+ }
42
+
43
+ & ::after {
44
+ height : 1px ;
45
+ left : 0px ;
46
+ top : 50% ;
47
+ transform : translate (0% , -50% ) rotate (45deg );
48
+ width : 100% ;
49
+ }
50
+
51
+ & :hover ::before ,
52
+ & :hover ::after {
53
+ background-color : rgba (0 , 0 , 0 , 0.7 );
54
+ }
55
+
56
+ & :active ::before ,
57
+ & :active ::after {
58
+ transform : rotate (55deg );
59
+ transition : transform $transition-standard ;
60
+ }
61
+ }
You can’t perform that action at this time.
0 commit comments