-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
106 lines (92 loc) · 1.68 KB
/
style.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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500&display=swap");
* {
font-family: "Sora", sans-serif;
line-height: 1.5;
font-weight: 400;
}
body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
span {
display: block;
}
#app {
position: relative;
max-width: 1280px;
margin: 0 auto;
text-align: center;
}
.container {
transform-origin: top left;
width: 130px;
height: 50px;
overflow: hidden;
display: flex;
align-items: flex-start;
flex-direction: column;
border: 0px solid #c2cef9;
background: #ffffff;
border-radius: 30px;
.item, .item-start {
cursor: pointer;
display: flex;
align-items: center;
gap: 0.5rem;
border: none;
//background: #d9f5eb;
background: transparent;
width: 100%;
height: 50px;
flex-shrink: 0;
padding-left: 20px;
padding-right: 20px;
border-radius: 20px;
transition: background 0.3s;
svg {
width: 20px;
flex-shrink: 0;
}
span {
color: #051345;
font-weight: bold;
font-size: 16px;
}
&-container {
height: 24px;
display: flex;
flex-direction: column;
align-items: flex-start;
overflow: hidden;
}
&:hover {
background: #d9f5eb;
animation: bounceX 0.3s ease 0s forwards;
svg g path {
fill: #21ba7c;
}
span {
color: #21ba7c;
}
}
@keyframes bounceX {
0% {
padding-left: 20px;
}
50% {
padding-left: 27px;
}
100% {
padding-left: 24px;
}
}
}
}
.codebyln{
display: block;
margin-top: 20px;
color: #051345;
}