-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
168 lines (147 loc) · 2.77 KB
/
style.css
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
:root {
--Background: #2e2e2e;
--Primary: #8180ff;
--White: #ffffff;
--Black: #000000;
--button: #32325e;
}
p {
color: var(--White);
}
body {
background-color: var(--Background);
margin: 0;
padding: 0;
}
main {
height: 75vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-left: 2rem;
margin-right: 2rem;
}
#keyboard {
width: 95%;
}
.white-key,
.black-key {
cursor: pointer;
transition: 300ms;
}
.white-key {
fill: var(--White);
}
.black-key {
fill: var(--Black);
}
.white-key:active,
.black-key:active {
fill: var(--Primary);
}
/* .row {
margin-top: 5rem;
} */
#rec-btn {
scale: 75%;
cursor: pointer;
}
#rec-btn:hover #rec-box {
stroke: #e5e5ff;
}
#rec-btn:hover #rec-text {
fill: #e5e5ff;
}
@keyframes glowing {
0% {
stroke: rgba(255, 0, 0, 0.25);
color: rgba(255, 0, 0, 0.25);
/* filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.7)); */
}
25% {
stroke: rgba(255, 0, 0, 0.5);
color: rgba(255, 0, 0, 0.5)
}
50% {
stroke: rgba(255, 0, 0, 0.9);
color: rgba(255, 0, 0, 0.9);
/* filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.9)); */
}
75% {
stroke: rgba(255, 0, 0, 0.5);
color: rgba(255, 0, 0, 0.5);
/* filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.7)); */
}
100% {
stroke: rgba(255, 0, 0, 0.25);
color: rgba(255, 0, 0, 0.25);
/* filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.7)); */
}
}
#rec-cir.rec-active {
animation: glowing 2s infinite; /* Adjust the duration as needed */
transition: 1;
}
@media screen and (orientation: landscape) {
#keyboard {
height: 75%;
}
}
.drum-pad {
/* border: 2px solid black; */
background-color: black;
color: black;
border-radius: 10%;
/* width: 100px; */
height: 150px;
display: flex;
justify-content: center;
align-items: center;
margin: 30px;
/* transition: background-color 0.3s; */
}
.drum-pad.active {
background-color: var(--Primary);
}
.voice-container {
margin-right: -5%;
}
.voice-button {
border: 2px solid white;
color: white;
border-radius: 10%;
background-color: transparent;
margin: 2px;
box-shadow: #8180ff 0px 0px 5px;
min-width: 100px;
}
.voice-button:hover {
border: 2px solid var(--Primary);
color: var(--Primary);
cursor: pointer;
}
#microphone.rec-voice-active {
animation: glowing 2s infinite; /* Adjust the duration as needed */
transition: 1;
}
#play.play-active {
animation: glowing 2s infinite; /* Adjust the duration as needed */
transition: 1;
}
.fas {
color: var(--White);
margin-right: 12px;
}
#download-link {
display: none;
}
#download-link i {
font-size: 28px; /* You can adjust the size as needed */
cursor: pointer;
margin-top: 15px;
}
.fa-download {
color: var(--White);
margin-right: 12px;
}