-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
285 lines (254 loc) · 6.12 KB
/
style.css
File metadata and controls
285 lines (254 loc) · 6.12 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
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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
html {
height: 100%;
width: 100%;
}
body {background-color: black;}
button, #slider-labels {
font-family: 'Inter', sans-serif;
color:#ffffff
}
#editor {
border-radius: 4px;
padding: 20px;
min-height: 300px;
border: 1px solid #1c1c1c;
margin-top: 10px;
background: rgb(29, 30, 35);
color: rgb(255, 255, 255);
gap: 8px;
font-family: 'Inter', sans-serif;
line-height: 155%;
}
#emoji-slider-container {
box-sizing: border-box;
position: absolute;
background: rgb(40, 43, 47);
padding: 18px;
border: 1px solid #000000;
border-radius: 8px;
z-index: 1000;
min-width: 290px;
width: auto;/* Adjusted to auto to accommodate the content */
}
#emoji-selector {
display: flex;
margin-bottom: 0px;
justify-content: space-between; /* Distributes space evenly between items */
align-items: center; /* Align items vertically in the center */
width: 100%; /* Full width of its container */
}
.emoji-btn {
background-color: transparent;
border: none;
cursor: pointer;
font-size: 30px;
}
#slider-container {
display: none; /* Initially hidden */
width: 100%; /* Make slider container full width of emoji-selector */
}
#slider-labels {
display: flex;
justify-content: space-between;
margin-top: 14px;
margin-bottom: 5px;
}
#emotion-slider {
width: 100%; /* Slider takes full width of its container */
background: rgb(29, 30, 35);
overflow: hidden;
height: 32px;
border-radius: 4px;
}
#button-container {
display: flex;
justify-content: center; /* Center the buttons horizontally */
width: 100%;
gap: 18px; /* Space between the buttons */
margin-top: 20px;
}
#generate-line-btn, #download-btn {
flex-grow: 1;
flex-basis: 0px;
height: 40px;
white-space: nowrap;
transition: none 0s ease 0s;
max-width: 100%;
min-width: 110px;
width: auto;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: 20px;
border-radius: 4px;
padding: 4px 16px;
min-height: 32px;
border: 0px;
place-items: center;
display: flex;
cursor: pointer;
justify-content: center;
background: rgb(105, 4, 233);
color: rgb(255, 255, 255);
}
#try-again-btn {
flex-grow: 1;
flex-basis: 0px;
height: 40px;
white-space: nowrap;
transition: none 0s ease 0s;
max-width: 100%;
min-width: 110px;
width: auto;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: 20px;
border-radius: 4px;
padding: 4px 16px;
min-height: 32px;
border: 0px;
place-items: center;
cursor: pointer;
display: flex;
justify-content: center;
background: rgb(29, 30, 35);
color: rgb(255, 255, 255);
}
#loading-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 30px;
font-family: 'Inter', sans-serif;
color: white;
}
#loading-spinner {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center; /* Center-align text */
font-family: 'Inter', sans-serif;
}
.spinner {
border: 4px solid #f3f3f3; /* Light grey for spinner background */
border-top: 4px solid rgb(105, 4, 233); /* Spinner color */
border-radius: 50%;
width: 40px;
height: 40px;
margin: 0 auto; /* Center the spinner horizontally */
animation: spin 2s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
#loading-text, #percentage-counter {
color: white; /* White color for text */
margin-top: 10px; /* Spacing between spinner and text */
}
/* Define CSS variables for easy customization */
:root {
--thumb-color: #ffffff;
--range-color-idle: #414550;
--thumb-box-shadow: 0px 0px 0px 0.5px rgba(255, 255, 255, 0.1);
--hover-range-background: #414550;
--thumb-height: 31px;
}
/* General styling for the slider */
input[type='range'] {
-webkit-appearance: none;
margin-bottom: 20px;
width: 100%;
height: 32px;
border-radius: 4px;
background: rgb(29, 30, 35);
position: relative;
overflow: hidden;
cursor: pointer;
}
/* Styling for the slider thumb */
input[type='range']::-webkit-slider-thumb {
-webkit-appearance: none;
height: var(--thumb-height);
width: var(--thumb-height); /* Assuming square thumb */
border-radius: 50%;
background: var(--thumb-color);
box-shadow: var(--thumb-box-shadow);
margin-top: 0.5px; /* Adjust according to the height for proper alignment */
}
input[type='range']::-moz-range-thumb {
height: var(--thumb-height);
width: var(--thumb-height); /* Assuming square thumb */
border-radius: 50%;
background: var(--thumb-color);
box-shadow: var(--thumb-box-shadow);
}
/* Styling for the slider track */
input[type='range']::-webkit-slider-runnable-track {
width: 100%;
height: 100%;
background: var(--range-color-idle);
}
input[type='range']::-moz-range-track {
width: 100%;
height: 100%;
background: var(--range-color-idle);
}
/* Hover effect for the range */
input[type='range']:hover {
background: var(--hover-range-background);
}
#feedback-section {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
margin-top: 16px;
}
#audio-player {
width: 100%;
border-radius: 4px;
overflow: hidden;
opacity: 0.85;
}
#feedback-text {
font-family: 'Inter', sans-serif;
color:#bababa;
font-size: 11pt;
margin-right: 8px;
}
#thumbs-up-btn, #thumbs-down-btn {
background-color: transparent;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
box-shadow: none;
outline: none;
font-size:14pt;
}
#feedback-buttons {
display: flex;
gap: 2px; /* Adjust as needed */
}
#thank-you-message {
width: 100%;
text-align: center;
font-family: 'Inter', sans-serif;
color:#ffffff;
margin-top: 16px;
}
.play-button {
background-color: #505050;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
box-shadow: none;
outline: none;
font-size:14pt;
margin-left: 3px;
}