Spaces:
Building
Building
Update flare-ui/src/app/components/chat/realtime-chat.component.scss
Browse files
flare-ui/src/app/components/chat/realtime-chat.component.scss
CHANGED
@@ -46,6 +46,19 @@ mat-card-header {
|
|
46 |
min-height: 60px;
|
47 |
border: 2px solid #4caf50;
|
48 |
transition: all 0.3s ease;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
.transcription-label {
|
51 |
font-size: 12px;
|
@@ -76,6 +89,11 @@ mat-card-header {
|
|
76 |
}
|
77 |
}
|
78 |
|
|
|
|
|
|
|
|
|
|
|
79 |
@keyframes pulse {
|
80 |
0% { transform: scale(1); opacity: 1; }
|
81 |
50% { transform: scale(1.1); opacity: 0.8; }
|
@@ -181,15 +199,14 @@ mat-card-header {
|
|
181 |
background: #212121;
|
182 |
border-radius: 8px;
|
183 |
margin-top: 16px;
|
184 |
-
opacity: 0.
|
185 |
transition: all 0.3s ease;
|
186 |
position: relative;
|
187 |
overflow: hidden;
|
188 |
|
189 |
&.active {
|
190 |
-
opacity:
|
191 |
background: #1a1a1a;
|
192 |
-
box-shadow: 0 0 30px rgba(76, 175, 80, 0.4);
|
193 |
|
194 |
&::before {
|
195 |
content: '';
|
@@ -199,7 +216,17 @@ mat-card-header {
|
|
199 |
right: 0;
|
200 |
bottom: 0;
|
201 |
background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
|
202 |
-
animation: scan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
}
|
204 |
}
|
205 |
}
|
|
|
46 |
min-height: 60px;
|
47 |
border: 2px solid #4caf50;
|
48 |
transition: all 0.3s ease;
|
49 |
+
opacity: 0.8;
|
50 |
+
|
51 |
+
&.active {
|
52 |
+
background: #c8e6c9;
|
53 |
+
border-color: #2e7d32;
|
54 |
+
box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
|
55 |
+
opacity: 1;
|
56 |
+
}
|
57 |
+
|
58 |
+
&.listening {
|
59 |
+
border-style: dashed;
|
60 |
+
animation: borderPulse 2s ease-in-out infinite;
|
61 |
+
}
|
62 |
|
63 |
.transcription-label {
|
64 |
font-size: 12px;
|
|
|
89 |
}
|
90 |
}
|
91 |
|
92 |
+
@keyframes borderPulse {
|
93 |
+
0%, 100% { border-color: #4caf50; }
|
94 |
+
50% { border-color: #81c784; }
|
95 |
+
}
|
96 |
+
|
97 |
@keyframes pulse {
|
98 |
0% { transform: scale(1); opacity: 1; }
|
99 |
50% { transform: scale(1.1); opacity: 0.8; }
|
|
|
199 |
background: #212121;
|
200 |
border-radius: 8px;
|
201 |
margin-top: 16px;
|
202 |
+
opacity: 0.3;
|
203 |
transition: all 0.3s ease;
|
204 |
position: relative;
|
205 |
overflow: hidden;
|
206 |
|
207 |
&.active {
|
208 |
+
opacity: 0.7;
|
209 |
background: #1a1a1a;
|
|
|
210 |
|
211 |
&::before {
|
212 |
content: '';
|
|
|
216 |
right: 0;
|
217 |
bottom: 0;
|
218 |
background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
|
219 |
+
animation: scan 3s linear infinite;
|
220 |
+
}
|
221 |
+
}
|
222 |
+
|
223 |
+
&.recording {
|
224 |
+
opacity: 1;
|
225 |
+
box-shadow: 0 0 30px rgba(76, 175, 80, 0.4);
|
226 |
+
|
227 |
+
&::before {
|
228 |
+
background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.2), transparent);
|
229 |
+
animation: scan 1.5s linear infinite;
|
230 |
}
|
231 |
}
|
232 |
}
|