-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathstyles.module.css
More file actions
83 lines (76 loc) · 1.57 KB
/
styles.module.css
File metadata and controls
83 lines (76 loc) · 1.57 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
.container {
display: flex;
align-items: center;
justify-content: center;
padding: 14px;
background-color: var(--swm-green-light-60);
border-radius: 4px;
position: relative;
overflow: hidden;
text-decoration: none !important;
}
.container:hover .button svg {
transform: translate(5px);
}
.container:hover .button {
border: 1px solid var(--swm-green-light-100);
}
.text {
font-size: 15px;
color: var(--swm-navy-light-100);
font-weight: 500;
z-index: 1;
position: relative;
margin-bottom: 8px;
text-wrap: balance;
text-align: center;
}
.button {
position: relative;
display: flex;
align-items: center;
justify-content: center;
padding: 5px 10px;
color: var(--swm-navy-light-100);
background-color: var(--swm-white);
transition: border 0.3s;
border: 1px solid var(--swm-navy-light-100);
font-size: 14px;
font-weight: 500;
cursor: pointer;
z-index: 1;
gap: 4px;
}
.button svg {
transition: transform 0.3s;
}
.ellipseLeft {
position: absolute;
width: 100px;
height: 100px;
top: -20px;
left: -30px;
border-radius: 50%;
transform: rotate(-30deg);
background: linear-gradient(
184.24deg,
var(--swm-green-light-80) 3.45%,
var(--swm-green-light-40) 66.97%,
rgba(255, 255, 255, 0) 124.45%
);
}
.ellipseRight {
position: absolute;
width: 150px;
height: 150px;
bottom: -45px;
right: -70px;
border-radius: 50%;
transform: rotate(-120deg);
background: linear-gradient(
184.24deg,
var(--swm-green-light-80) 3.45%,
var(--swm-green-light-40) 66.97%,
rgba(255, 255, 255, 0) 124.45%
);
}