-
Notifications
You must be signed in to change notification settings - Fork 3
/
styles.css
256 lines (219 loc) · 6.44 KB
/
styles.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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
.smart-memo-text-box {
width: 350px;
height: 400px;
}
body .modal-container .modal.smart-memo-paused {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 90%; /* Adjust width if needed */
max-width: 400px; /* Set a max width */
height: 80%; /* Adjust height if needed */
max-height: 600px; /* Set a max height */
border-radius: 20px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
overflow: hidden;
box-sizing: border-box;
animation: none;
background-size: 200% 200% !important;
background: linear-gradient(270deg, var(--background-primary), var(--background-secondary));
/* background: linear-gradient(270deg, #D08770, #babc8d, #B48EAD, #D08770); */
}
body .modal-container .modal.smart-memo-recording {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 90%; /* Adjust width if needed */
max-width: 400px; /* Set a max width */
height: 80%; /* Adjust height if needed */
max-height: 600px; /* Set a max height */
border-radius: 20px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
overflow: hidden;
box-sizing: border-box;
background: var(--background-secondary);
background: linear-gradient(270deg, var(--background-primary), var(--background-secondary));
background-size: 200% 200% !important;
/* background-size: 200% 200%; */
animation: gradientAnimation 5s ease infinite;
}
.smart-memo-audio-record-modal-content {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 20px;
background: none; /* Make modal content transparent */
}
@keyframes gradientAnimation {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.smart-memo-modal-button {
background-color:var(--interactive-accent) !important;
color: var(--text-on-accent);
border: none;
padding: 12px 24px;
font-size: 16px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
cursor: pointer;
transition: background-color 0.3s, transform 0.2s;
height: 40px;
border-radius: 5px !important;
}
.smart-memo-modal-button:hover {
background-color: rgba(68, 68, 68, 0.8);
/* transform: translateY(-2px); */
}
.smart-memo-modal-button-group {
display: flex;
justify-content: space-between;
width: 100%;
box-sizing: border-box; /* Include padding and border in the element's total width and height */
gap: 10px; /* Consistent spacing between buttons */
}
.smart-memo-full-width-button {
width: 100%;
}
.smart-memo-control-group-wrapper {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px; /* Consistent spacing between elements */
}
.smart-memo-header-timer-container {
display: flex;
flex-direction: column;
align-items: center;
}
.smart-memo-header-timer-container h2 {
font-size: 24px;
margin-bottom: 5px; /* Reduce the bottom margin */
/* color: var(--text-normal); */
color: var(--text-on-accent);
}
.smart-memo-transcribe-button {
width: 100%;
box-sizing: border-box; /* Include padding and border in the element's total width and height */
}
.smart-memo-flex {
flex: auto;
}
.smart-memo-timer {
/* color: var(--text-normal); */
color: var(--text-on-accent);
font-size: 20px; /* Adjust the font size if needed */
margin-bottom: 10px; /* Adjust the spacing as needed */
}
.smart-memo-red-dot-container {
height: 24px; /* Fixed height */
display: flex;
align-items: center;
justify-content: center;
}
.smart-memo-red-dot {
width: 25px;
height: 25px;
background-color: #e03a3a;
border-radius: 50%;
border: 3px solid #ffffff; /* Increased border for better visibility */
visibility: visible; /* Default to visible */
}
/* Define the animation in a separate class */
.smart-memo-pulse-animation {
animation: pulse 1s infinite;
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}
.smart-memo-reset-button {
width: 100%;
margin-top: 20px; /* Add space between the middle buttons and the reset button */
height: 40px; /* Ensure it has the same height as other buttons */
box-sizing: border-box; /* Include padding and border in the element's total width and height */
}
.smart-memo-paused {
animation-play-state: paused;
}
.smart-memo-keep-audio-container {
margin-bottom: -20px;
}
/* Add this CSS to your existing stylesheet */
body .modal-container .modal .smart-memo-modal-button:focus,
body .modal-container .modal .smart-memo-modal-button:focus-visible {
outline: none;
box-shadow: none;
}
/* uncomment later when updating to new animations and modal container
/* .smart-memo-wave-animation-active {
animation: waveAnimation 2s linear infinite;
} */
/* @media (max-width: 600px) {
body .modal-container .modal.smart-memo-paused,
body .modal-container .modal.smart-memo-recording {
background-size: 1200% 1200% !important;
background: linear-gradient(270deg, #e67e80, #e69875, #dbbc7f, #a7c080, #83c092, #7fbbb3, #d3c6aa);
}
body .modal-container .modal.smart-memo-recording {
animation: gradientAnimation 15s ease infinite;
}
} */
/* .wave-container {
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px; /* Adjust as needed
overflow: hidden; /* Hide overflow to create seamless effect
width: 100%; /* Full width of the container
height: 100px; /* Height of the wave
/* } */
/* .wave-animation {
width: 200%; /* Full width of the container
} */
/* @keyframes waveAnimation {
0% {
d: path("M 0,50 Q 20,30 40,50 T 80,50 T 120,50 T 160,50 T 200,50");
}
50% {
d: path("M 0,50 Q 20,70 40,50 T 80,50 T 120,50 T 160,50 T 200,50");
}
100% {
d: path("M 0,50 Q 20,30 40,50 T 80,50 T 120,50 T 160,50 T 200,50");
}
}
.wave-animation-active path {
animation: waveAnimation 2s linear infinite;
}
.straight-line path {
animation: none;
} */