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.1.5 1.6.85 0.1.6 1.6.86 0.1.7 1.6.87 0.1.8 1.6.88 0.1.9 1.6.89 0.2.0 1.6.90
ai-engine / themes / messages.css
ai-engine / themes Last commit date
icons 2 years ago sass 1 year ago chatgpt.css 1 year ago messages.css 1 year ago timeless.css 1 year ago
messages.css
1314 lines
1 .mwai-context-menu-portal .mwai-context-menu {
2 background: var(--mwai-backgroundHeaderColor);
3 border: 1px solid rgba(0, 0, 0, 0.1);
4 border-radius: var(--mwai-borderRadius);
5 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
6 font-size: 13px;
7 color: var(--mwai-fontColor);
8 }
9 .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item {
10 display: flex;
11 align-items: center;
12 gap: 8px;
13 padding: 8px 12px;
14 cursor: pointer;
15 transition: background-color 0.2s;
16 }
17 .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item:hover {
18 background-color: rgba(0, 0, 0, 0.05);
19 }
20 .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item.mwai-danger {
21 color: #dc3545;
22 }
23 .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item.mwai-danger:hover {
24 background-color: rgba(220, 53, 69, 0.1);
25 }
26 .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item svg {
27 flex-shrink: 0;
28 }
29
30 .mwai-chunks {
31 padding: 8px;
32 background: rgba(0, 0, 0, 0.03);
33 font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
34 font-size: 11px;
35 border-top: 1px solid rgba(0, 0, 0, 0.06);
36 }
37 .mwai-chunks.mwai-chunks-collapsed .mwai-chunks-header {
38 margin-bottom: 0 !important;
39 }
40 .mwai-chunks .mwai-chunks-header {
41 display: flex;
42 align-items: center;
43 gap: 6px;
44 margin-bottom: 8px;
45 color: #6b7280;
46 font-size: 10px;
47 text-transform: uppercase;
48 letter-spacing: 0.05em;
49 }
50 .mwai-chunks .mwai-chunks-header .mwai-chunks-title {
51 flex: 1;
52 }
53 .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle {
54 background: none;
55 border: 1px solid rgba(0, 0, 0, 0.1);
56 border-radius: 3px;
57 padding: 2px;
58 width: 30px;
59 height: 20px;
60 cursor: pointer;
61 color: #6b7280;
62 display: flex;
63 align-items: center;
64 justify-content: center;
65 transition: all 0.2s ease;
66 margin-left: 4px;
67 }
68 .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle:hover {
69 background: rgba(0, 0, 0, 0.05);
70 color: #374151;
71 }
72 .mwai-chunks .mwai-chunk {
73 margin-bottom: 4px;
74 padding: 6px 8px;
75 background: white;
76 border-radius: 4px;
77 border: 1px solid rgba(0, 0, 0, 0.06);
78 transition: all 0.2s ease;
79 }
80 .mwai-chunks .mwai-chunk .mwai-chunk-header {
81 display: flex;
82 align-items: center;
83 gap: 8px;
84 cursor: pointer;
85 user-select: none;
86 }
87 .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time {
88 color: #9ca3af;
89 font-size: 10px;
90 font-variant-numeric: tabular-nums;
91 }
92 .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-type {
93 display: flex;
94 align-items: center;
95 gap: 4px;
96 padding: 2px 6px;
97 border-radius: 3px;
98 font-size: 10px;
99 font-weight: 500;
100 color: white;
101 }
102 .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data {
103 flex: 1;
104 color: #374151;
105 overflow: hidden;
106 text-overflow: ellipsis;
107 white-space: nowrap;
108 }
109 .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand {
110 color: #9ca3af;
111 transition: transform 0.2s ease;
112 }
113 .mwai-chunks .mwai-chunk .mwai-chunk-details {
114 margin-top: 8px;
115 padding: 8px;
116 background: rgba(0, 0, 0, 0.02);
117 border-radius: 3px;
118 overflow-x: auto;
119 }
120 .mwai-chunks .mwai-chunk .mwai-chunk-details pre {
121 margin: 0;
122 white-space: pre-wrap;
123 word-break: break-word;
124 color: #4b5563;
125 }
126
127 .mwai-messages-theme {
128 --mwai-spacing: 10px;
129 --mwai-fontSize: 13px;
130 --mwai-lineHeight: 1.5;
131 --mwai-borderRadius: 10px;
132 --mwai-width: 460px;
133 --mwai-maxHeight: 40vh;
134 --mwai-iconTextColor: black;
135 --mwai-iconTextBackgroundColor: white;
136 --mwai-fontColor: black;
137 --mwai-backgroundPrimaryColor: #fafafa;
138 --mwai-backgroundHeaderColor: #0084ff;
139 --mwai-bubbleColor: #0084ff;
140 --mwai-headerButtonsColor: white;
141 --mwai-conversationsBackgroundColor: white;
142 --mwai-backgroundUserColor: #0084ff;
143 --mwai-backgroundAiColor: #eee;
144 --mwai-backgroundAiSecondaryColor: #ddd;
145 --mwai-errorBackgroundColor: #6d2f2a;
146 --mwai-errorTextColor: #FFFFFF;
147 }
148 .mwai-messages-theme * {
149 box-sizing: border-box;
150 }
151 .mwai-messages-theme .mwai-body {
152 display: flex;
153 background: var(--mwai-backgroundPrimaryColor);
154 font-size: var(--mwai-fontSize);
155 color: var(--mwai-fontColor);
156 border-radius: var(--mwai-borderRadius);
157 flex-direction: column;
158 }
159 .mwai-messages-theme .mwai-shortcuts {
160 display: flex;
161 flex-direction: column;
162 align-items: flex-end;
163 }
164 .mwai-messages-theme .mwai-shortcuts .mwai-shortcut {
165 margin-bottom: 5px;
166 font-size: var(--mwai-fontSize);
167 height: inherit;
168 min-height: inherit;
169 width: inherit;
170 min-width: 90px;
171 border-radius: var(--mwai-borderRadius);
172 padding: 7px 12px;
173 cursor: pointer;
174 display: flex;
175 align-items: center;
176 justify-content: end;
177 }
178 .mwai-messages-theme .mwai-shortcuts .mwai-shortcut.mwai-success {
179 background: #4caf50;
180 color: white;
181 box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
182 }
183 .mwai-messages-theme .mwai-shortcuts .mwai-shortcut.mwai-danger {
184 background: #f44336;
185 color: white;
186 box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
187 }
188 .mwai-messages-theme .mwai-shortcuts .mwai-shortcut.mwai-warning {
189 background: #ff9800;
190 color: white;
191 box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
192 }
193 .mwai-messages-theme .mwai-shortcuts .mwai-shortcut.mwai-info {
194 background: #2196f3;
195 color: white;
196 box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
197 }
198 .mwai-messages-theme .mwai-shortcuts .mwai-shortcut .mwai-icon {
199 margin-right: 5px;
200 }
201 .mwai-messages-theme .mwai-shortcuts .mwai-shortcut .mwai-icon img {
202 max-height: 16px;
203 width: auto;
204 }
205 .mwai-messages-theme .mwai-shortcuts .mwai-shortcut:hover {
206 filter: brightness(1.1);
207 }
208 .mwai-messages-theme .mwai-blocks {
209 display: flex;
210 flex-direction: column;
211 padding: var(--mwai-spacing);
212 }
213 .mwai-messages-theme .mwai-blocks .mwai-block p:first-child {
214 margin-top: 0;
215 }
216 .mwai-messages-theme .mwai-blocks button {
217 cursor: pointer;
218 }
219 .mwai-messages-theme .mwai-conversation {
220 display: flex;
221 flex-direction: column;
222 overflow: auto;
223 max-height: var(--mwai-maxHeight);
224 padding: var(--mwai-spacing) var(--mwai-spacing) 0;
225 }
226 .mwai-messages-theme .mwai-conversation .mwai-reply {
227 margin-bottom: var(--mwai-spacing);
228 padding: 7px 12px;
229 border-radius: 15px;
230 font-size: var(--mwai-fontSize);
231 color: var(--mwai-fontColor);
232 position: relative;
233 }
234 .mwai-messages-theme .mwai-conversation .mwai-reply .mwai-name,
235 .mwai-messages-theme .mwai-conversation .mwai-reply .mwai-name-text {
236 display: none;
237 }
238 .mwai-messages-theme .mwai-conversation .mwai-reply * > p:first-child {
239 margin-top: 0;
240 }
241 .mwai-messages-theme .mwai-conversation .mwai-reply * > p:last-child {
242 margin-bottom: 0;
243 }
244 .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-ai {
245 align-self: flex-start;
246 background: var(--mwai-backgroundAiColor);
247 margin-left: 5px;
248 }
249 .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-ai::before, .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-ai::after {
250 content: "";
251 position: absolute;
252 z-index: 1;
253 bottom: 0;
254 left: -10px;
255 width: 10px;
256 height: 20px;
257 background: var(--mwai-backgroundPrimaryColor);
258 border-bottom-right-radius: 10px;
259 }
260 .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-ai::before {
261 z-index: 0;
262 left: -7px;
263 height: 20px;
264 width: 20px;
265 background: var(--mwai-backgroundAiColor);
266 border-bottom-right-radius: 15px;
267 }
268 .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-user {
269 align-self: flex-end;
270 background: var(--mwai-backgroundUserColor);
271 color: white;
272 margin-right: 10px;
273 }
274 .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-user::before, .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-user::after {
275 content: "";
276 position: absolute;
277 z-index: 1;
278 bottom: 0;
279 right: -10px;
280 width: 10px;
281 height: 20px;
282 background: var(--mwai-backgroundPrimaryColor);
283 border-bottom-left-radius: 10px;
284 }
285 .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-user::before {
286 z-index: 0;
287 right: -10px;
288 height: 20px;
289 width: 20px;
290 background: var(--mwai-backgroundUserColor);
291 background-attachment: fixed;
292 border-bottom-left-radius: 15px;
293 }
294 .mwai-messages-theme .mwai-text {
295 flex: auto;
296 }
297 .mwai-messages-theme .mwai-text .mwai-image {
298 display: block;
299 max-width: 250px;
300 height: auto;
301 margin: 0 0 10px 0;
302 border-radius: var(--mwai-borderRadius);
303 }
304 .mwai-messages-theme .mwai-text .mwai-filename {
305 display: flex;
306 text-decoration: none;
307 border: 1px solid var(--mwai-backgroundPrimaryColor);
308 border-radius: var(--mwai-borderRadius);
309 color: white;
310 padding: 5px 10px;
311 margin-bottom: 10px;
312 }
313 .mwai-messages-theme .mwai-text > span > p > *:first-child {
314 margin-top: 0;
315 }
316 .mwai-messages-theme .mwai-text a {
317 color: #2196f3;
318 }
319 .mwai-messages-theme .mwai-text h1 {
320 font-size: 200%;
321 }
322 .mwai-messages-theme .mwai-text h2 {
323 font-size: 160%;
324 }
325 .mwai-messages-theme .mwai-text h3 {
326 font-size: 140%;
327 }
328 .mwai-messages-theme .mwai-text h4 {
329 font-size: 120%;
330 }
331 .mwai-messages-theme .mwai-text p {
332 font-size: var(--mwai-fontSize);
333 line-height: var(--mwai-lineHeight);
334 }
335 .mwai-messages-theme .mwai-text p code {
336 background: var(--mwai-backgroundAiSecondaryColor);
337 padding: 2px 6px;
338 border-radius: 8px;
339 font-size: calc(var(--mwai-fontSize) * 0.9);
340 font-family: system-ui;
341 }
342 .mwai-messages-theme .mwai-text pre {
343 color: var(--mwai-fontColor);
344 border-radius: var(--mwai-borderRadius);
345 break-after: auto;
346 white-space: pre-wrap;
347 max-width: 100%;
348 width: 100%;
349 font-family: system-ui;
350 background: var(--mwai-backgroundAiSecondaryColor);
351 padding: var(--mwai-spacing);
352 }
353 .mwai-messages-theme .mwai-text pre code {
354 padding: 0 !important;
355 font-family: system-ui;
356 background: var(--mwai-backgroundAiSecondaryColor);
357 }
358 .mwai-messages-theme .mwai-text ol {
359 padding: 0;
360 margin: 0 0 0 20px;
361 }
362 .mwai-messages-theme .mwai-text table {
363 width: 100%;
364 border: 2px solid var(--mwai-backgroundAiSecondaryColor);
365 border-collapse: collapse;
366 }
367 .mwai-messages-theme .mwai-text thead {
368 background: var(--mwai-backgroundAiSecondaryColor);
369 }
370 .mwai-messages-theme .mwai-text tr,
371 .mwai-messages-theme .mwai-text td {
372 padding: 2px 5px;
373 }
374 .mwai-messages-theme .mwai-text td {
375 border: 2px solid var(--mwai-backgroundAiSecondaryColor);
376 }
377 .mwai-messages-theme .mwai-text .mwai-typewriter {
378 display: inline-block;
379 }
380 .mwai-messages-theme .mwai-text .mwai-typewriter > :first-child {
381 margin-top: 0;
382 }
383 .mwai-messages-theme .mwai-text > *:first-child {
384 margin-top: 0;
385 }
386 .mwai-messages-theme .mwai-text > *:last-child {
387 margin-bottom: 0;
388 }
389 .mwai-messages-theme .mwai-input {
390 display: flex;
391 align-items: center;
392 padding: var(--mwai-spacing);
393 }
394 .mwai-messages-theme .mwai-input .mwai-input-text {
395 flex: auto;
396 position: relative;
397 display: flex;
398 background: var(--mwai-backgroundPrimaryColor);
399 border-radius: var(--mwai-borderRadius);
400 border: 1px solid var(--mwai-backgroundAiSecondaryColor);
401 overflow: hidden;
402 }
403 .mwai-messages-theme .mwai-input .mwai-input-text.mwai-blocked img {
404 filter: grayscale(100%);
405 opacity: 0.5;
406 }
407 .mwai-messages-theme .mwai-input .mwai-input-text.mwai-dragging {
408 border: 1px dashed var(--mwai-backgroundAiSecondaryColor);
409 }
410 .mwai-messages-theme .mwai-input .mwai-input-text textarea {
411 background: var(--mwai-backgroundPrimaryColor);
412 color: var(--mwai-fontColor);
413 flex: auto;
414 padding: var(--mwai-spacing);
415 border: none;
416 font-size: var(--mwai-fontSize);
417 resize: none;
418 font-family: inherit;
419 margin: 0;
420 overflow: hidden;
421 min-height: inherit;
422 }
423 .mwai-messages-theme .mwai-input .mwai-input-text textarea:focus {
424 outline: none;
425 box-shadow: none;
426 }
427 .mwai-messages-theme .mwai-input .mwai-input-text textarea::placeholder {
428 color: var(--mwai-fontColor);
429 opacity: 0.5;
430 }
431 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone {
432 display: flex;
433 justify-content: center;
434 align-items: center;
435 margin-right: 5px;
436 }
437 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone svg {
438 opacity: 0.5;
439 filter: grayscale(100%);
440 transition: opacity 0.3s ease-out;
441 cursor: pointer;
442 }
443 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone[active=true] svg {
444 opacity: 1;
445 }
446 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone[disabled] svg {
447 opacity: 0;
448 cursor: not-allowed;
449 }
450 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon {
451 background: url("icons/white-icons.svg");
452 background-size: 500%;
453 background-position: 0px -96px;
454 width: 32px;
455 height: 32px;
456 margin-top: calc(var(--mwai-spacing) / 2);
457 margin-left: 5px;
458 z-index: 100;
459 }
460 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-idle-add {
461 background-position: -32px -96px;
462 }
463 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-add {
464 background-position: -32px 0px;
465 }
466 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-up {
467 background-position: -64px 0px;
468 }
469 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-del {
470 background-position: -96px 0px;
471 }
472 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-ok {
473 background-position: -128px 0px;
474 }
475 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-add {
476 background-position: -32px -64px;
477 }
478 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-up {
479 background-position: -64px -64px;
480 }
481 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-del {
482 background-position: -96px -64px;
483 }
484 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-ok {
485 background-position: -128px -64px;
486 }
487 .mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon .mwai-file-upload-progress {
488 position: absolute;
489 font-size: 8px;
490 width: 21px;
491 top: 24px;
492 left: 23px;
493 overflow: hidden;
494 text-align: center;
495 font-weight: bold;
496 color: white;
497 }
498 .mwai-messages-theme .mwai-input .mwai-input-submit {
499 width: 70px;
500 }
501 .mwai-messages-theme button {
502 margin-left: var(--mwai-spacing);
503 padding: 5px 15px;
504 background-color: var(--mwai-backgroundUserColor);
505 color: white;
506 border: none;
507 border-radius: var(--mwai-borderRadius);
508 cursor: pointer;
509 height: 32px;
510 display: flex;
511 justify-content: center;
512 align-items: center;
513 }
514 .mwai-messages-theme button .mwai-timer {
515 margin-left: 5px;
516 margin-right: 5px;
517 font-size: 11px;
518 }
519 .mwai-messages-theme button:hover {
520 filter: brightness(1.2);
521 }
522 .mwai-messages-theme button[disabled] {
523 cursor: not-allowed;
524 }
525 .mwai-messages-theme button[disabled] span {
526 opacity: 0.5;
527 }
528 .mwai-messages-theme button[disabled].mwai-busy span {
529 display: none;
530 }
531 .mwai-messages-theme button[disabled].mwai-busy:before {
532 content: "";
533 width: 18px;
534 height: 18px;
535 margin: auto;
536 border: 3px solid transparent;
537 border-top-color: var(--mwai-fontColor);
538 border-radius: 50%;
539 animation: mwai-button-spinner 1s ease infinite;
540 }
541 .mwai-messages-theme .mwai-compliance {
542 opacity: 0.5;
543 margin-top: calc(-1 * var(--mwai-spacing));
544 padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing);
545 font-size: smaller;
546 color: var(--mwai-fontColor);
547 text-align: left;
548 }
549 .mwai-messages-theme .mwai-gallery {
550 display: grid;
551 grid-template-columns: repeat(3, 1fr);
552 grid-gap: 5px;
553 }
554 .mwai-messages-theme .mwai-gallery img {
555 width: 100%;
556 }
557
558 .mwai-messages-theme.mwai-transition, .mwai-messages-theme .mwai-transition {
559 opacity: 0;
560 transition: opacity 350ms ease-in-out;
561 }
562 .mwai-messages-theme.mwai-transition-visible, .mwai-messages-theme .mwai-transition-visible {
563 opacity: 1;
564 }
565 .mwai-messages-theme .mwai-text {
566 overflow-wrap: anywhere;
567 }
568 .mwai-messages-theme .mwai-text img {
569 max-width: 100%;
570 }
571 .mwai-messages-theme .mwai-text div p:first-child {
572 margin-top: 0;
573 }
574 .mwai-messages-theme .mwai-text div p:last-child {
575 margin-bottom: 0;
576 }
577 .mwai-messages-theme .mwai-trigger {
578 position: absolute;
579 right: 0;
580 bottom: 0;
581 transition: all 0.2s ease-out;
582 z-index: 9999;
583 display: flex;
584 flex-direction: column;
585 align-items: end;
586 }
587 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container {
588 display: flex;
589 flex-direction: column;
590 align-items: flex-end;
591 }
592 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text {
593 background: var(--mwai-iconTextBackgroundColor);
594 color: var(--mwai-iconTextColor);
595 box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
596 max-width: 200px;
597 font-size: 13px;
598 margin-bottom: 15px;
599 padding: 10px 15px;
600 border-radius: 8px;
601 }
602 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close {
603 color: var(--mwai-iconTextColor);
604 background: var(--mwai-iconTextBackgroundColor);
605 padding: 5px;
606 width: 30px;
607 height: 20px;
608 border-radius: 100%;
609 display: none;
610 justify-content: center;
611 align-items: center;
612 margin-bottom: 3px;
613 }
614 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container:hover {
615 cursor: pointer;
616 }
617 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close {
618 display: flex;
619 font-size: 12px;
620 }
621 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close:hover {
622 filter: brightness(1.2);
623 }
624 @media (max-width: 760px) {
625 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close {
626 display: flex;
627 }
628 }
629 .mwai-messages-theme .mwai-trigger .mwai-icon-container .mwai-icon {
630 filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15));
631 transition: all 0.2s ease-out;
632 }
633 .mwai-messages-theme .mwai-trigger .mwai-icon-container .mwai-icon:hover {
634 cursor: pointer;
635 transform: scale(1.05);
636 }
637 .mwai-messages-theme.mwai-window {
638 position: fixed;
639 right: 30px;
640 bottom: 30px;
641 width: var(--mwai-width);
642 z-index: 9999;
643 }
644 .mwai-messages-theme.mwai-window .mwai-header {
645 display: none;
646 justify-content: flex-end;
647 align-items: center;
648 border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0;
649 background: var(--mwai-backgroundHeaderColor);
650 }
651 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons {
652 display: flex;
653 align-items: center;
654 }
655 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button {
656 justify-content: center;
657 height: 32px;
658 width: 22px;
659 cursor: pointer;
660 display: flex;
661 justify-content: center;
662 align-items: center;
663 }
664 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before {
665 transition: all 0.2s ease-out;
666 content: " ";
667 cursor: pointer;
668 position: absolute;
669 height: 13px;
670 width: 13px;
671 border: 1px solid var(--mwai-headerButtonsColor);
672 }
673 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
674 width: 16px;
675 height: 16px;
676 }
677 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button {
678 justify-content: center;
679 height: 32px;
680 width: 33px;
681 cursor: pointer;
682 border-radius: var(--mwai-borderRadius);
683 }
684 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before {
685 transition: all 0.2s ease-out;
686 transform: translate(16px, 5px) rotate(45deg);
687 }
688 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
689 transition: all 0.2s ease-out;
690 transform: translate(16px, 5px) rotate(-45deg);
691 }
692 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before, .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
693 content: " ";
694 cursor: pointer;
695 position: absolute;
696 height: 22px;
697 width: 1px;
698 background-color: var(--mwai-headerButtonsColor);
699 }
700 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before {
701 opacity: 1;
702 transform: translate(16px, 5px) rotate(135deg);
703 }
704 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after {
705 opacity: 1;
706 transform: translate(16px, 5px) rotate(45deg);
707 }
708 .mwai-messages-theme.mwai-window .mwai-body {
709 display: none;
710 opacity: 0;
711 max-height: var(--mwai-maxHeight);
712 border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius);
713 }
714 .mwai-messages-theme.mwai-window.mwai-bottom-left {
715 bottom: 30px;
716 right: inherit;
717 left: 30px;
718 }
719 .mwai-messages-theme.mwai-window.mwai-bottom-left .mwai-trigger {
720 right: inherit;
721 left: 0;
722 }
723 .mwai-messages-theme.mwai-window.mwai-top-right {
724 top: 30px;
725 bottom: inherit;
726 right: 30px;
727 }
728 .mwai-messages-theme.mwai-window.mwai-top-right .mwai-trigger {
729 top: 0;
730 bottom: inherit;
731 }
732 .mwai-messages-theme.mwai-window.mwai-top-left {
733 top: 30px;
734 bottom: inherit;
735 right: inherit;
736 left: 30px;
737 }
738 .mwai-messages-theme.mwai-window.mwai-top-left .mwai-trigger {
739 top: 0;
740 bottom: inherit;
741 right: inherit;
742 left: 0;
743 }
744 .mwai-messages-theme.mwai-window.mwai-top-left .mwai-trigger, .mwai-messages-theme.mwai-window.mwai-bottom-left .mwai-trigger {
745 align-items: flex-start;
746 }
747 .mwai-messages-theme.mwai-window.mwai-top-right .mwai-trigger, .mwai-messages-theme.mwai-window.mwai-top-left .mwai-trigger {
748 flex-direction: column-reverse;
749 }
750 .mwai-messages-theme.mwai-window.mwai-top-right .mwai-trigger .mwai-icon-text, .mwai-messages-theme.mwai-window.mwai-top-left .mwai-trigger .mwai-icon-text {
751 margin-bottom: 0;
752 margin-top: 15px;
753 }
754 .mwai-messages-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons {
755 margin-bottom: 0px;
756 }
757 .mwai-messages-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before {
758 width: 16px;
759 height: 16px;
760 }
761 .mwai-messages-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
762 width: 13px;
763 height: 13px;
764 }
765 .mwai-messages-theme.mwai-fullscreen:not(.mwai-window), .mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open {
766 position: fixed;
767 left: 0 !important;
768 right: 0 !important;
769 bottom: 0 !important;
770 top: 0 !important;
771 width: 100%;
772 height: 100%;
773 max-height: 100%;
774 max-width: 100%;
775 display: flex;
776 flex-direction: column;
777 margin: 0;
778 z-index: 999999;
779 background-color: var(--mwai-backgroundSecondaryColor);
780 }
781 .mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-header, .mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-header {
782 border-radius: 0;
783 }
784 .mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-body, .mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body {
785 height: 100%;
786 max-height: inherit;
787 border-radius: 0;
788 }
789 .mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-conversation, .mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-conversation {
790 flex: auto;
791 max-height: none;
792 }
793 .mwai-messages-theme.mwai-window.mwai-open .mwai-header {
794 display: flex;
795 }
796 .mwai-messages-theme.mwai-window.mwai-open .mwai-body {
797 display: flex;
798 transition: opacity 200ms ease-in-out 0s;
799 opacity: 1;
800 }
801 .mwai-messages-theme.mwai-window.mwai-open .mwai-trigger {
802 display: none;
803 }
804 .mwai-messages-theme .mwai-error {
805 margin: var(--mwai-spacing);
806 color: white;
807 background: rgba(180, 55, 55, 0.55);
808 padding: var(--mwai-spacing);
809 border-radius: var(--mwai-borderRadius);
810 }
811 .mwai-messages-theme .mwai-error:hover {
812 cursor: pointer;
813 background: rgba(180, 44, 44, 0.85);
814 }
815 .mwai-messages-theme.mwai-bubble .mwai-icon-container {
816 background: var(--mwai-bubbleColor);
817 width: 60px;
818 height: 60px;
819 border-radius: 100%;
820 transition: all 0.2s ease-out;
821 display: flex;
822 justify-content: center;
823 align-items: center;
824 }
825 .mwai-messages-theme.mwai-bubble .mwai-icon-container .mwai-icon {
826 max-width: 50%;
827 max-height: 50%;
828 filter: none;
829 }
830 .mwai-messages-theme.mwai-bubble .mwai-icon-container .mwai-icon:hover {
831 transform: none;
832 }
833 .mwai-messages-theme.mwai-bubble .mwai-icon-container .mwai-emoji {
834 font-size: 30px !important;
835 }
836 .mwai-messages-theme.mwai-bubble .mwai-icon-container:hover {
837 cursor: pointer;
838 filter: brightness(1.1);
839 }
840 @media (max-width: 760px) {
841 .mwai-messages-theme.mwai-window.mwai-open {
842 position: fixed;
843 left: 0 !important;
844 right: 0 !important;
845 bottom: 0 !important;
846 top: 0 !important;
847 width: 100%;
848 height: 100%;
849 max-height: 100%;
850 max-width: 100%;
851 display: flex;
852 flex-direction: column;
853 margin: 0;
854 z-index: 999999;
855 background-color: var(--mwai-backgroundSecondaryColor);
856 }
857 .mwai-messages-theme.mwai-window.mwai-open .mwai-header {
858 border-radius: 0;
859 }
860 .mwai-messages-theme.mwai-window.mwai-open .mwai-body {
861 height: 100%;
862 max-height: inherit;
863 border-radius: 0;
864 }
865 .mwai-messages-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
866 flex: auto;
867 max-height: none;
868 }
869 .mwai-messages-theme.mwai-window.mwai-open .mwai-input {
870 flex-direction: column;
871 }
872 .mwai-messages-theme.mwai-window.mwai-open .mwai-input button {
873 font-size: 16px;
874 margin-left: 0;
875 width: 100%;
876 }
877 .mwai-messages-theme.mwai-window.mwai-open .mwai-input .mwai-input-text {
878 width: 100%;
879 }
880 .mwai-messages-theme.mwai-window.mwai-open .mwai-input .mwai-input-text input, .mwai-messages-theme.mwai-window.mwai-open .mwai-input .mwai-input-text textarea {
881 font-size: 16px;
882 }
883 .mwai-messages-theme.mwai-window.mwai-open .mwai-body {
884 display: flex;
885 transition: opacity 200ms ease-in-out 0s;
886 opacity: 1;
887 height: 100%;
888 max-height: inherit;
889 }
890 .mwai-messages-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
891 flex: auto;
892 max-height: none;
893 }
894 .mwai-messages-theme.mwai-window.mwai-open .mwai-resize-button {
895 display: none !important;
896 }
897 .mwai-messages-theme.mwai-window.mwai-open .mwai-trigger {
898 display: none;
899 }
900 }
901 @keyframes mwai-button-spinner {
902 from {
903 transform: rotate(0turn);
904 }
905 to {
906 transform: rotate(1turn);
907 }
908 }
909 .mwai-messages-theme button:not(.mwai-busy):before {
910 content: none !important;
911 display: none !important;
912 animation: none !important;
913 }
914 .mwai-messages-theme .admin-bar .mwai-fullscreen:not(.mwai-window),
915 .mwai-messages-theme .admin-bar .mwai-fullscreen.mwai-window.mwai-open {
916 top: 32px;
917 }
918 .mwai-messages-theme pre code.hljs {
919 display: block;
920 overflow-x: auto;
921 padding: 1em;
922 }
923 .mwai-messages-theme code.hljs {
924 padding: 3px 5px;
925 }
926 .mwai-messages-theme .hljs {
927 color: #333;
928 background: #f0f0f0;
929 }
930 .mwai-messages-theme .hljs-subst {
931 color: #333;
932 }
933 .mwai-messages-theme .hljs-comment {
934 color: #888;
935 }
936 .mwai-messages-theme .hljs-attr, .mwai-messages-theme .hljs-doctag, .mwai-messages-theme .hljs-keyword, .mwai-messages-theme .hljs-meta .hljs-keyword, .mwai-messages-theme .hljs-section, .mwai-messages-theme .hljs-selector-tag {
937 color: #0077cc;
938 }
939 .mwai-messages-theme .hljs-attribute {
940 color: #aa3377;
941 }
942 .mwai-messages-theme .hljs-name, .mwai-messages-theme .hljs-number, .mwai-messages-theme .hljs-quote, .mwai-messages-theme .hljs-selector-id, .mwai-messages-theme .hljs-template-tag, .mwai-messages-theme .hljs-type {
943 color: #c18401;
944 }
945 .mwai-messages-theme .hljs-selector-class {
946 color: #0077cc;
947 }
948 .mwai-messages-theme .hljs-link, .mwai-messages-theme .hljs-regexp, .mwai-messages-theme .hljs-selector-attr, .mwai-messages-theme .hljs-string, .mwai-messages-theme .hljs-symbol, .mwai-messages-theme .hljs-template-variable, .mwai-messages-theme .hljs-variable {
949 color: #689700;
950 }
951 .mwai-messages-theme .hljs-meta, .mwai-messages-theme .hljs-selector-pseudo {
952 color: #0077cc;
953 }
954 .mwai-messages-theme .hljs-built_in, .mwai-messages-theme .hljs-literal, .mwai-messages-theme .hljs-title {
955 color: #c18401;
956 }
957 .mwai-messages-theme .hljs-bullet, .mwai-messages-theme .hljs-code {
958 color: #555;
959 }
960 .mwai-messages-theme .hljs-meta .hljs-string {
961 color: #689700;
962 }
963 .mwai-messages-theme .hljs-deletion {
964 color: #b71c1c;
965 }
966 .mwai-messages-theme .hljs-addition {
967 color: #1b5e20;
968 }
969 .mwai-messages-theme .hljs-emphasis {
970 font-style: italic;
971 }
972 .mwai-messages-theme .hljs-strong {
973 font-weight: 700;
974 }
975 .mwai-messages-theme .mwai-reply-actions {
976 position: absolute;
977 border-radius: 5px;
978 top: 10px;
979 right: 10px;
980 display: flex;
981 align-items: center;
982 padding: 2px 2px;
983 z-index: 100;
984 background: var(--mwai-backgroundPrimaryColor);
985 box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
986 z-index: 100;
987 }
988 .mwai-messages-theme .mwai-reply-actions .mwai-copy-button {
989 fill: var(--mwai-fontColor);
990 padding: 3px 5px;
991 width: 24px;
992 height: 24px;
993 background: var(--mwai-backgroundPrimaryColor);
994 cursor: pointer;
995 border-radius: 5px;
996 }
997 .mwai-messages-theme .mwai-reply-actions .mwai-copy-button:hover {
998 filter: brightness(1.2);
999 }
1000 .mwai-messages-theme .mwai-reply-actions.mwai-hidden {
1001 opacity: 0;
1002 }
1003 .mwai-messages-theme .mwai-realtime {
1004 padding: var(--mwai-spacing);
1005 }
1006 .mwai-messages-theme .mwai-realtime .mwai-visualizer {
1007 display: flex;
1008 justify-content: center;
1009 align-items: center;
1010 }
1011 .mwai-messages-theme .mwai-realtime .mwai-visualizer hr {
1012 width: 100px;
1013 margin-right: var(--mwai-spacing);
1014 margin-left: var(--mwai-spacing);
1015 border: 1px solid var(--mwai-backgroundPrimaryColor);
1016 }
1017 .mwai-messages-theme .mwai-realtime .mwai-visualizer .mwai-animation {
1018 background: var(--mwai-backgroundPrimaryColor);
1019 }
1020 .mwai-messages-theme .mwai-realtime .mwai-controls {
1021 display: flex;
1022 justify-content: center;
1023 align-items: center;
1024 margin-bottom: var(--mwai-spacing);
1025 }
1026 .mwai-messages-theme .mwai-realtime .mwai-controls > * + * {
1027 margin-left: 10px;
1028 }
1029 .mwai-messages-theme .mwai-realtime .mwai-controls button {
1030 border-radius: 100%;
1031 width: 50px;
1032 height: 50px;
1033 margin: 5px;
1034 padding: 5px;
1035 display: flex;
1036 align-items: center;
1037 justify-content: center;
1038 color: var(--mwai-fontColor);
1039 border: 2px solid var(--mwai-backgroundPrimaryColor);
1040 background: none;
1041 cursor: pointer;
1042 transition: all 0.2s ease-out;
1043 min-width: inherit;
1044 max-width: inherit;
1045 }
1046 .mwai-messages-theme .mwai-realtime .mwai-controls button:hover:not(:disabled) {
1047 background: var(--mwai-backgroundPrimaryColor);
1048 }
1049 .mwai-messages-theme .mwai-realtime .mwai-controls button:disabled {
1050 opacity: 0.5;
1051 cursor: not-allowed;
1052 background: none;
1053 }
1054 .mwai-messages-theme .mwai-realtime .mwai-controls button.mwai-active {
1055 border: 2px solid var(--mwai-fontColor);
1056 }
1057 .mwai-messages-theme .mwai-realtime .mwai-last-transcript {
1058 margin: var(--mwai-spacing);
1059 margin-top: 0;
1060 border: 2px solid var(--mwai-backgroundPrimaryColor);
1061 padding: calc(var(--mwai-spacing) / 2);
1062 border-radius: var(--mwai-borderRadius);
1063 display: flex;
1064 justify-content: center;
1065 font-size: 80%;
1066 }
1067 .mwai-messages-theme .mwai-realtime .mwai-statistics {
1068 display: grid;
1069 grid-template-columns: 1fr 1fr 1fr;
1070 grid-row-gap: 10px;
1071 font-size: 14px;
1072 }
1073 .mwai-messages-theme .mwai-realtime .mwai-statistics div {
1074 display: flex;
1075 flex-direction: column;
1076 align-items: center;
1077 }
1078 .mwai-messages-theme .mwai-realtime .mwai-statistics label {
1079 font-size: 11px;
1080 opacity: 0.5;
1081 text-transform: uppercase;
1082 }
1083 .mwai-messages-theme .mwai-realtime .mwai-options {
1084 margin-top: var(--mwai-spacing);
1085 display: flex;
1086 align-items: center;
1087 }
1088 .mwai-messages-theme .mwai-realtime .mwai-options .mwai-option {
1089 cursor: pointer;
1090 opacity: 0.5;
1091 margin-right: 2px;
1092 }
1093 .mwai-messages-theme .mwai-realtime .mwai-options .mwai-option.mwai-active {
1094 opacity: 1;
1095 }
1096 .mwai-messages-theme.mwai-discussions {
1097 border-radius: var(--mwai-borderRadius);
1098 background: var(--mwai-backgroundHeaderColor);
1099 overflow: hidden;
1100 }
1101 .mwai-messages-theme.mwai-discussions * {
1102 box-sizing: border-box;
1103 }
1104 .mwai-messages-theme.mwai-discussions .mwai-discussion {
1105 display: flex;
1106 position: relative;
1107 padding-left: calc(var(--mwai-spacing) / 2);
1108 padding-right: calc(var(--mwai-spacing) / 2);
1109 padding-bottom: calc(var(--mwai-spacing) / 2);
1110 color: var(--mwai-conversationsTextColor);
1111 opacity: 0.65;
1112 align-items: center;
1113 }
1114 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-title {
1115 flex: 1;
1116 padding: 5px;
1117 }
1118 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions {
1119 position: absolute;
1120 top: 50%;
1121 right: calc(var(--mwai-spacing) / 2);
1122 transform: translateY(-50%);
1123 opacity: 0;
1124 transition: opacity 0.2s ease-out;
1125 z-index: 100;
1126 }
1127 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon {
1128 width: 28px;
1129 height: 28px;
1130 display: flex;
1131 align-items: center;
1132 justify-content: center;
1133 cursor: pointer;
1134 color: var(--mwai-conversationsTextColor);
1135 }
1136 .mwai-messages-theme.mwai-discussions .mwai-discussion.mwai-active {
1137 cursor: pointer;
1138 }
1139 .mwai-messages-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-title {
1140 background: var(--mwai-backgroundPrimaryColor);
1141 border-radius: var(--mwai-borderRadius);
1142 opacity: 1;
1143 }
1144 .mwai-messages-theme.mwai-discussions .mwai-discussion:hover {
1145 cursor: pointer;
1146 }
1147 .mwai-messages-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-title {
1148 background: var(--mwai-backgroundPrimaryColor);
1149 border-radius: var(--mwai-borderRadius);
1150 opacity: 1;
1151 }
1152 .mwai-messages-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-actions {
1153 opacity: 1;
1154 }
1155 .mwai-messages-theme.mwai-discussions .mwai-discussion:has(.mwai-context-menu) .mwai-discussion-actions {
1156 opacity: 1;
1157 }
1158 .mwai-messages-theme.mwai-discussions .mwai-discussion:first-child {
1159 margin-top: calc(var(--mwai-spacing) / 2);
1160 }
1161 .mwai-messages-theme.mwai-discussions .mwai-header {
1162 color: var(--mwai-headerButtonsColor);
1163 padding: var(--mwai-spacing);
1164 display: flex;
1165 justify-content: space-between;
1166 align-items: center;
1167 gap: 10px;
1168 }
1169 .mwai-messages-theme.mwai-discussions .mwai-header button {
1170 background: var(--mwai-backgroundPrimaryColor);
1171 color: var(--mwai-fontColor);
1172 border: none;
1173 padding: 8px 16px;
1174 border-radius: var(--mwai-borderRadius);
1175 cursor: pointer;
1176 transition: all 0.2s ease-out;
1177 }
1178 .mwai-messages-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
1179 background: var(--mwai-iconTextBackgroundColor);
1180 }
1181 .mwai-messages-theme.mwai-discussions .mwai-header button:disabled {
1182 opacity: 0.5;
1183 cursor: not-allowed;
1184 }
1185 .mwai-messages-theme.mwai-discussions .mwai-header .mwai-refresh-btn {
1186 padding: 8px;
1187 display: flex;
1188 align-items: center;
1189 justify-content: center;
1190 }
1191 .mwai-messages-theme.mwai-discussions .mwai-body {
1192 background: var(--mwai-conversationsBackgroundColor);
1193 list-style: none;
1194 padding: 0;
1195 margin: 0;
1196 position: relative;
1197 min-height: 200px;
1198 display: flex;
1199 flex-direction: column;
1200 border-radius: 0;
1201 z-index: 1;
1202 }
1203 .mwai-messages-theme.mwai-discussions .mwai-loading-overlay {
1204 position: absolute;
1205 top: 0;
1206 left: 0;
1207 right: 0;
1208 bottom: 0;
1209 background: var(--mwai-conversationsBackgroundColor);
1210 opacity: 0.9;
1211 display: flex;
1212 align-items: center;
1213 justify-content: center;
1214 z-index: 10;
1215 }
1216 .mwai-messages-theme.mwai-discussions .mwai-spinner {
1217 animation: spin 1s linear infinite;
1218 color: var(--mwai-fontColor);
1219 }
1220 @keyframes spin {
1221 from {
1222 transform: rotate(0deg);
1223 }
1224 to {
1225 transform: rotate(360deg);
1226 }
1227 }
1228 .mwai-messages-theme.mwai-discussions .mwai-pagination {
1229 background: var(--mwai-backgroundHeaderColor);
1230 padding: var(--mwai-spacing);
1231 display: flex;
1232 justify-content: space-between;
1233 align-items: center;
1234 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
1235 }
1236 .mwai-messages-theme.mwai-discussions .mwai-pagination button {
1237 background: var(--mwai-backgroundPrimaryColor);
1238 color: var(--mwai-fontColor);
1239 border: none;
1240 padding: 8px 12px;
1241 border-radius: var(--mwai-borderRadius);
1242 cursor: pointer;
1243 transition: all 0.2s ease-out;
1244 display: flex;
1245 align-items: center;
1246 justify-content: center;
1247 }
1248 .mwai-messages-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
1249 background: var(--mwai-iconTextBackgroundColor);
1250 }
1251 .mwai-messages-theme.mwai-discussions .mwai-pagination button:disabled {
1252 opacity: 0.3;
1253 cursor: not-allowed;
1254 }
1255 .mwai-messages-theme.mwai-discussions .mwai-pagination span {
1256 color: var(--mwai-headerButtonsColor);
1257 font-size: var(--mwai-fontSize);
1258 font-weight: 500;
1259 }
1260 .mwai-messages-theme.mwai-discussions .mwai-pagination .mwai-page-indicator {
1261 color: var(--mwai-headerButtonsColor);
1262 font-size: calc(var(--mwai-fontSize) * 0.85);
1263 font-weight: 400;
1264 opacity: 0.8;
1265 }
1266
1267 .mwai-messages-theme .mwai-realtime .mwai-visualizer hr {
1268 border: 1px solid var(--mwai-backgroundAiSecondaryColor);
1269 }
1270 .mwai-messages-theme .mwai-realtime .mwai-visualizer .mwai-animation {
1271 background: var(--mwai-backgroundAiSecondaryColor);
1272 }
1273 .mwai-messages-theme .mwai-realtime .mwai-controls button {
1274 color: var(--mwai-backgroundPrimaryColor);
1275 background: var(--mwai-backgroundUserColor);
1276 }
1277 .mwai-messages-theme .mwai-realtime .mwai-controls button:hover {
1278 color: var(--mwai-backgroundPrimaryColor) !important;
1279 background: var(--mwai-backgroundUserColor) !important;
1280 opacity: 0.8;
1281 }
1282 .mwai-messages-theme .mwai-realtime .mwai-controls button[disabled] {
1283 color: var(--mwai-backgroundPrimaryColor) !important;
1284 background: var(--mwai-backgroundUserColor) !important;
1285 opacity: 0.5;
1286 }
1287 .mwai-messages-theme .mwai-reply-actions {
1288 top: 5px;
1289 }
1290 .mwai-messages-theme .mwai-reply-actions .mwai-copy-button {
1291 padding-top: 4px;
1292 }
1293 .mwai-messages-theme .mwai-reply-actions .mwai-copy-button:hover {
1294 fill: var(--mwai-backgroundPrimaryColor);
1295 background: var(--mwai-backgroundUserColor);
1296 }
1297
1298 @media (max-width: 760px) {
1299 .mwai-messages-theme.mwai-window {
1300 width: calc(100% - 40px);
1301 z-index: 9999999999;
1302 }
1303 .mwai-messages-theme .mwai-input {
1304 flex-direction: column;
1305 }
1306 .mwai-messages-theme .mwai-input .mwai-input-text {
1307 width: 100%;
1308 }
1309 .mwai-messages-theme .mwai-input .mwai-input-submit {
1310 width: 100%;
1311 margin: 15px 0 0 0;
1312 }
1313 }
1314