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