Spaces:
Building
Building
Update flare-ui/src/app/components/chat/chat.component.scss
Browse files
flare-ui/src/app/components/chat/chat.component.scss
CHANGED
@@ -249,4 +249,37 @@
|
|
249 |
.realtime-indicator {
|
250 |
color: #4caf50;
|
251 |
animation: pulse 2s infinite;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
}
|
|
|
249 |
.realtime-indicator {
|
250 |
color: #4caf50;
|
251 |
animation: pulse 2s infinite;
|
252 |
+
}
|
253 |
+
|
254 |
+
// STT/TTS selection styling
|
255 |
+
.tts-checkbox, .stt-checkbox {
|
256 |
+
display: block;
|
257 |
+
margin-bottom: 8px;
|
258 |
+
|
259 |
+
&[disabled] {
|
260 |
+
opacity: 0.5;
|
261 |
+
}
|
262 |
+
}
|
263 |
+
|
264 |
+
.tts-hint, .stt-hint {
|
265 |
+
font-size: 12px;
|
266 |
+
color: #666;
|
267 |
+
margin-bottom: 16px;
|
268 |
+
margin-left: 32px; // Align with checkbox text
|
269 |
+
font-style: italic;
|
270 |
+
}
|
271 |
+
|
272 |
+
// Highlight when STT is enabled
|
273 |
+
.stt-checkbox.mat-mdc-checkbox-checked + .stt-hint {
|
274 |
+
color: #4caf50;
|
275 |
+
font-weight: 500;
|
276 |
+
}
|
277 |
+
|
278 |
+
// Button states
|
279 |
+
.mat-mdc-raised-button[disabled] {
|
280 |
+
opacity: 0.6;
|
281 |
+
|
282 |
+
&.realtime-button {
|
283 |
+
opacity: 0.4;
|
284 |
+
}
|
285 |
}
|