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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
1510 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-files {
566 display: flex;
567 flex-direction: column;
568 gap: 6px;
569 padding: var(--mwai-spacing);
570 background: var(--mwai-backgroundSecondaryColor);
571 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
572 max-height: 150px;
573 overflow-y: auto;
574 }
575 .mwai-messages-theme .mwai-files::-webkit-scrollbar {
576 width: 6px;
577 }
578 .mwai-messages-theme .mwai-files::-webkit-scrollbar-track {
579 background: var(--mwai-backgroundPrimaryColor);
580 border-radius: 3px;
581 }
582 .mwai-messages-theme .mwai-files::-webkit-scrollbar-thumb {
583 background: var(--mwai-backgroundHeaderColor);
584 border-radius: 3px;
585 }
586 .mwai-messages-theme .mwai-files::-webkit-scrollbar-thumb:hover {
587 background: var(--mwai-primaryColor);
588 }
589 .mwai-messages-theme .mwai-files .mwai-file-preview {
590 position: relative;
591 }
592 .mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-content {
593 display: flex;
594 align-items: center;
595 gap: 8px;
596 }
597 .mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-thumbnail {
598 width: 32px;
599 height: 32px;
600 object-fit: cover;
601 border-radius: 4px;
602 border: 1px solid var(--mwai-backgroundHeaderColor);
603 display: block;
604 flex-shrink: 0;
605 }
606 .mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-icon {
607 width: 32px;
608 height: 32px;
609 display: flex;
610 align-items: center;
611 justify-content: center;
612 background: var(--mwai-backgroundSecondaryColor);
613 border-radius: 4px;
614 color: var(--mwai-fontColor);
615 opacity: 0.6;
616 flex-shrink: 0;
617 }
618 .mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-icon svg {
619 width: 18px;
620 height: 18px;
621 }
622 .mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-info {
623 flex: 1;
624 min-width: 0;
625 display: flex;
626 flex-direction: column;
627 gap: 2px;
628 }
629 .mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-name {
630 font-size: calc(var(--mwai-fontSize) * 0.85);
631 color: var(--mwai-fontColor);
632 white-space: nowrap;
633 overflow: hidden;
634 text-overflow: ellipsis;
635 line-height: 1.2;
636 }
637 .mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-size {
638 font-size: calc(var(--mwai-fontSize) * 0.7);
639 color: var(--mwai-fontColor);
640 opacity: 0.5;
641 line-height: 1;
642 }
643 .mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-progress {
644 position: absolute;
645 bottom: 0;
646 left: 0;
647 right: 0;
648 height: 2px;
649 background: var(--mwai-backgroundHeaderColor);
650 border-radius: 0 0 calc(var(--mwai-borderRadius) / 2) calc(var(--mwai-borderRadius) / 2);
651 overflow: hidden;
652 }
653 .mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-progress .mwai-file-progress-bar {
654 height: 100%;
655 background: var(--mwai-primaryColor);
656 transition: width 0.3s ease;
657 }
658 .mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-remove {
659 display: flex;
660 align-items: center;
661 justify-content: center;
662 background: none;
663 cursor: pointer;
664 color: var(--mwai-fontColor);
665 padding: 4px;
666 border: none;
667 line-height: 0;
668 min-width: inherit;
669 margin-left: auto;
670 opacity: 0.6;
671 transition: opacity 0.2s ease;
672 }
673 .mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-remove:hover {
674 opacity: 1;
675 }
676 .mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-remove svg {
677 width: 20px;
678 height: 20px;
679 }
680 .mwai-messages-theme .mwai-files:empty {
681 display: none;
682 }
683 .mwai-messages-theme .mwai-file-upload-icon {
684 margin-bottom: -3px;
685 }
686 .mwai-messages-theme.mwai-transition, .mwai-messages-theme .mwai-transition {
687 opacity: 0;
688 transition: opacity 350ms ease-in-out;
689 }
690 .mwai-messages-theme.mwai-transition-visible, .mwai-messages-theme .mwai-transition-visible {
691 opacity: 1;
692 }
693 .mwai-messages-theme .mwai-text {
694 overflow-wrap: anywhere;
695 }
696 .mwai-messages-theme .mwai-text img {
697 max-width: 100%;
698 }
699 .mwai-messages-theme .mwai-text div p:first-child {
700 margin-top: 0;
701 }
702 .mwai-messages-theme .mwai-text div p:last-child {
703 margin-bottom: 0;
704 }
705 .mwai-messages-theme .mwai-trigger {
706 position: absolute;
707 right: 0;
708 bottom: 0;
709 transition: all 0.2s ease-out;
710 z-index: 9999;
711 display: flex;
712 flex-direction: column;
713 align-items: end;
714 }
715 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container {
716 display: flex;
717 flex-direction: column;
718 align-items: flex-end;
719 }
720 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text {
721 background: var(--mwai-iconTextBackgroundColor);
722 color: var(--mwai-iconTextColor);
723 box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
724 max-width: 200px;
725 font-size: 13px;
726 margin-bottom: 15px;
727 padding: 10px 15px;
728 border-radius: 8px;
729 }
730 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close {
731 color: var(--mwai-iconTextColor);
732 background: var(--mwai-iconTextBackgroundColor);
733 padding: 0;
734 width: 24px;
735 height: 24px;
736 border-radius: 50%;
737 display: none;
738 justify-content: center;
739 align-items: center;
740 margin-bottom: 3px;
741 }
742 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container:hover {
743 cursor: pointer;
744 }
745 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close {
746 display: flex;
747 font-size: 12px;
748 }
749 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close:hover {
750 filter: brightness(1.2);
751 }
752 @media (max-width: 760px) {
753 .mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close {
754 display: flex;
755 }
756 }
757 .mwai-messages-theme .mwai-trigger .mwai-icon-container .mwai-icon {
758 filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15));
759 transition: all 0.2s ease-out;
760 }
761 .mwai-messages-theme .mwai-trigger .mwai-icon-container .mwai-icon:hover {
762 cursor: pointer;
763 transform: scale(1.05);
764 }
765 .mwai-messages-theme.mwai-window {
766 position: fixed;
767 right: 30px;
768 bottom: 30px;
769 width: var(--mwai-width);
770 z-index: 9999;
771 }
772 .mwai-messages-theme.mwai-window .mwai-header {
773 display: none;
774 justify-content: flex-end;
775 align-items: center;
776 border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0;
777 background: var(--mwai-backgroundHeaderColor);
778 }
779 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons {
780 display: flex;
781 align-items: center;
782 }
783 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button {
784 justify-content: center;
785 height: 32px;
786 width: 22px;
787 cursor: pointer;
788 display: flex;
789 justify-content: center;
790 align-items: center;
791 }
792 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before {
793 transition: all 0.2s ease-out;
794 content: " ";
795 cursor: pointer;
796 position: absolute;
797 height: 13px;
798 width: 13px;
799 border: 1px solid var(--mwai-headerButtonsColor);
800 }
801 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
802 width: 16px;
803 height: 16px;
804 }
805 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button {
806 justify-content: center;
807 height: 32px;
808 width: 33px;
809 cursor: pointer;
810 border-radius: var(--mwai-borderRadius);
811 }
812 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before {
813 transition: all 0.2s ease-out;
814 transform: translate(16px, 5px) rotate(45deg);
815 }
816 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
817 transition: all 0.2s ease-out;
818 transform: translate(16px, 5px) rotate(-45deg);
819 }
820 .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 {
821 content: " ";
822 cursor: pointer;
823 position: absolute;
824 height: 22px;
825 width: 1px;
826 background-color: var(--mwai-headerButtonsColor);
827 }
828 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before {
829 opacity: 1;
830 transform: translate(16px, 5px) rotate(135deg);
831 }
832 .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after {
833 opacity: 1;
834 transform: translate(16px, 5px) rotate(45deg);
835 }
836 .mwai-messages-theme.mwai-window .mwai-body {
837 display: none;
838 opacity: 0;
839 max-height: var(--mwai-maxHeight);
840 border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius);
841 }
842 .mwai-messages-theme.mwai-window.mwai-bottom-left {
843 bottom: 30px;
844 right: inherit;
845 left: 30px;
846 }
847 .mwai-messages-theme.mwai-window.mwai-bottom-left .mwai-trigger {
848 right: inherit;
849 left: 0;
850 }
851 .mwai-messages-theme.mwai-window.mwai-top-right {
852 top: 30px;
853 bottom: inherit;
854 right: 30px;
855 }
856 .mwai-messages-theme.mwai-window.mwai-top-right .mwai-trigger {
857 top: 0;
858 bottom: inherit;
859 }
860 .mwai-messages-theme.mwai-window.mwai-top-left {
861 top: 30px;
862 bottom: inherit;
863 right: inherit;
864 left: 30px;
865 }
866 .mwai-messages-theme.mwai-window.mwai-top-left .mwai-trigger {
867 top: 0;
868 bottom: inherit;
869 right: inherit;
870 left: 0;
871 }
872 .mwai-messages-theme.mwai-window.mwai-top-left .mwai-trigger, .mwai-messages-theme.mwai-window.mwai-bottom-left .mwai-trigger {
873 align-items: flex-start;
874 }
875 .mwai-messages-theme.mwai-window.mwai-top-right .mwai-trigger, .mwai-messages-theme.mwai-window.mwai-top-left .mwai-trigger {
876 flex-direction: column-reverse;
877 }
878 .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 {
879 margin-bottom: 0;
880 margin-top: 15px;
881 }
882 .mwai-messages-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons {
883 margin-bottom: 0px;
884 }
885 .mwai-messages-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before {
886 width: 16px;
887 height: 16px;
888 }
889 .mwai-messages-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
890 width: 13px;
891 height: 13px;
892 }
893 .mwai-messages-theme.mwai-fullscreen:not(.mwai-window), .mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open {
894 position: fixed;
895 left: 0 !important;
896 right: 0 !important;
897 bottom: 0 !important;
898 top: 0 !important;
899 width: 100%;
900 height: 100%;
901 max-height: 100%;
902 max-width: 100%;
903 display: flex;
904 flex-direction: column;
905 margin: 0;
906 z-index: 999999;
907 background-color: var(--mwai-backgroundSecondaryColor);
908 }
909 .mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-header, .mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-header {
910 border-radius: 0;
911 }
912 .mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-body, .mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body {
913 height: 100%;
914 max-height: inherit;
915 border-radius: 0;
916 }
917 .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 {
918 flex: auto;
919 max-height: none;
920 }
921 .mwai-messages-theme.mwai-window.mwai-open .mwai-header {
922 display: flex;
923 }
924 .mwai-messages-theme.mwai-window.mwai-open .mwai-body {
925 display: flex;
926 transition: opacity 200ms ease-in-out 0s;
927 opacity: 1;
928 }
929 .mwai-messages-theme.mwai-window.mwai-open .mwai-trigger {
930 display: none;
931 }
932 .mwai-messages-theme .mwai-body > .mwai-error {
933 margin: var(--mwai-spacing);
934 color: white;
935 background: rgba(180, 55, 55, 0.55);
936 padding: var(--mwai-spacing);
937 border-radius: var(--mwai-borderRadius);
938 }
939 .mwai-messages-theme .mwai-body > .mwai-error:hover {
940 cursor: pointer;
941 background: rgba(180, 44, 44, 0.85);
942 }
943 .mwai-messages-theme .mwai-reply.mwai-error .mwai-text {
944 color: #ff5656;
945 }
946 .mwai-messages-theme .mwai-reply.mwai-error .mwai-text a {
947 color: #ff5656;
948 text-decoration: underline;
949 }
950 .mwai-messages-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button {
951 fill: var(--mwai-fontColor);
952 padding: 3px 5px;
953 width: 24px;
954 height: 24px;
955 background: var(--mwai-backgroundPrimaryColor);
956 cursor: pointer;
957 border-radius: 5px;
958 }
959 .mwai-messages-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button:hover {
960 filter: brightness(1.2);
961 }
962 .mwai-messages-theme .mwai-reply-actions {
963 opacity: 0;
964 transition: opacity 0.2s ease-in-out;
965 }
966 .mwai-messages-theme .mwai-reply:hover .mwai-reply-actions {
967 opacity: 1 !important;
968 }
969 .mwai-messages-theme .mwai-form-output-container:hover .mwai-reply-actions {
970 opacity: 1 !important;
971 }
972 .mwai-messages-theme .mwai-form-output-container:hover .mwai-reply-actions.mwai-hidden {
973 opacity: 1 !important;
974 }
975 .mwai-messages-theme.mwai-bubble .mwai-icon-container {
976 background: var(--mwai-bubbleColor);
977 width: 60px;
978 height: 60px;
979 border-radius: 100%;
980 transition: all 0.2s ease-out;
981 display: flex;
982 justify-content: center;
983 align-items: center;
984 }
985 .mwai-messages-theme.mwai-bubble .mwai-icon-container .mwai-icon {
986 max-width: 50%;
987 max-height: 50%;
988 filter: none;
989 }
990 .mwai-messages-theme.mwai-bubble .mwai-icon-container .mwai-icon:hover {
991 transform: none;
992 }
993 .mwai-messages-theme.mwai-bubble .mwai-icon-container .mwai-emoji {
994 font-size: 30px !important;
995 }
996 .mwai-messages-theme.mwai-bubble .mwai-icon-container:hover {
997 cursor: pointer;
998 filter: brightness(1.1);
999 }
1000 @media (max-width: 760px) {
1001 .mwai-messages-theme.mwai-window.mwai-open {
1002 position: fixed;
1003 left: 0 !important;
1004 right: 0 !important;
1005 bottom: 0 !important;
1006 top: 0 !important;
1007 width: 100%;
1008 height: 100%;
1009 max-height: 100%;
1010 max-width: 100%;
1011 display: flex;
1012 flex-direction: column;
1013 margin: 0;
1014 z-index: 999999;
1015 background-color: var(--mwai-backgroundSecondaryColor);
1016 }
1017 .mwai-messages-theme.mwai-window.mwai-open .mwai-header {
1018 border-radius: 0;
1019 }
1020 .mwai-messages-theme.mwai-window.mwai-open .mwai-body {
1021 height: 100%;
1022 max-height: inherit;
1023 border-radius: 0;
1024 }
1025 .mwai-messages-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
1026 flex: auto;
1027 max-height: none;
1028 }
1029 .mwai-messages-theme.mwai-window.mwai-open .mwai-input {
1030 flex-direction: column;
1031 }
1032 .mwai-messages-theme.mwai-window.mwai-open .mwai-input button {
1033 font-size: 16px;
1034 margin-left: 0;
1035 width: 100%;
1036 }
1037 .mwai-messages-theme.mwai-window.mwai-open .mwai-input .mwai-input-text {
1038 width: 100%;
1039 }
1040 .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 {
1041 font-size: 16px;
1042 }
1043 .mwai-messages-theme.mwai-window.mwai-open .mwai-body {
1044 display: flex;
1045 transition: opacity 200ms ease-in-out 0s;
1046 opacity: 1;
1047 height: 100%;
1048 max-height: inherit;
1049 }
1050 .mwai-messages-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
1051 flex: auto;
1052 max-height: none;
1053 }
1054 .mwai-messages-theme.mwai-window.mwai-open .mwai-resize-button {
1055 display: none !important;
1056 }
1057 .mwai-messages-theme.mwai-window.mwai-open .mwai-trigger {
1058 display: none;
1059 }
1060 }
1061 @keyframes mwai-button-spinner {
1062 from {
1063 transform: rotate(0turn);
1064 }
1065 to {
1066 transform: rotate(1turn);
1067 }
1068 }
1069 .mwai-messages-theme button:not(.mwai-busy):before {
1070 content: none !important;
1071 display: none !important;
1072 animation: none !important;
1073 }
1074 .mwai-messages-theme .admin-bar .mwai-fullscreen:not(.mwai-window),
1075 .mwai-messages-theme .admin-bar .mwai-fullscreen.mwai-window.mwai-open {
1076 top: 32px;
1077 }
1078 .mwai-messages-theme pre code.hljs {
1079 display: block;
1080 overflow-x: auto;
1081 padding: 1em;
1082 }
1083 .mwai-messages-theme code.hljs {
1084 padding: 3px 5px;
1085 }
1086 .mwai-messages-theme .hljs {
1087 color: #333;
1088 background: #f0f0f0;
1089 }
1090 .mwai-messages-theme .hljs-subst {
1091 color: #333;
1092 }
1093 .mwai-messages-theme .hljs-comment {
1094 color: #888;
1095 }
1096 .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 {
1097 color: #0077cc;
1098 }
1099 .mwai-messages-theme .hljs-attribute {
1100 color: #aa3377;
1101 }
1102 .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 {
1103 color: #c18401;
1104 }
1105 .mwai-messages-theme .hljs-selector-class {
1106 color: #0077cc;
1107 }
1108 .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 {
1109 color: #689700;
1110 }
1111 .mwai-messages-theme .hljs-meta, .mwai-messages-theme .hljs-selector-pseudo {
1112 color: #0077cc;
1113 }
1114 .mwai-messages-theme .hljs-built_in, .mwai-messages-theme .hljs-literal, .mwai-messages-theme .hljs-title {
1115 color: #c18401;
1116 }
1117 .mwai-messages-theme .hljs-bullet, .mwai-messages-theme .hljs-code {
1118 color: #555;
1119 }
1120 .mwai-messages-theme .hljs-meta .hljs-string {
1121 color: #689700;
1122 }
1123 .mwai-messages-theme .hljs-deletion {
1124 color: #b71c1c;
1125 }
1126 .mwai-messages-theme .hljs-addition {
1127 color: #1b5e20;
1128 }
1129 .mwai-messages-theme .hljs-emphasis {
1130 font-style: italic;
1131 }
1132 .mwai-messages-theme .hljs-strong {
1133 font-weight: 700;
1134 }
1135 .mwai-messages-theme .mwai-reply-actions {
1136 position: absolute;
1137 border-radius: 5px;
1138 top: 10px;
1139 right: 10px;
1140 display: flex;
1141 align-items: center;
1142 padding: 2px 2px;
1143 z-index: 100;
1144 background: var(--mwai-backgroundPrimaryColor);
1145 box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
1146 z-index: 100;
1147 }
1148 .mwai-messages-theme .mwai-reply-actions .mwai-copy-button {
1149 fill: var(--mwai-fontColor);
1150 padding: 3px 5px;
1151 width: 24px;
1152 height: 24px;
1153 background: var(--mwai-backgroundPrimaryColor);
1154 cursor: pointer;
1155 border-radius: 5px;
1156 }
1157 .mwai-messages-theme .mwai-reply-actions .mwai-copy-button:hover {
1158 filter: brightness(1.2);
1159 }
1160 .mwai-messages-theme .mwai-reply-actions.mwai-hidden {
1161 opacity: 0;
1162 }
1163 .mwai-messages-theme .mwai-realtime {
1164 padding: var(--mwai-spacing);
1165 }
1166 .mwai-messages-theme .mwai-realtime .mwai-visualizer {
1167 display: flex;
1168 justify-content: center;
1169 align-items: center;
1170 }
1171 .mwai-messages-theme .mwai-realtime .mwai-visualizer hr {
1172 width: 100px;
1173 margin-right: var(--mwai-spacing);
1174 margin-left: var(--mwai-spacing);
1175 border: 1px solid var(--mwai-backgroundPrimaryColor);
1176 }
1177 .mwai-messages-theme .mwai-realtime .mwai-visualizer .mwai-animation {
1178 background: var(--mwai-backgroundPrimaryColor);
1179 }
1180 .mwai-messages-theme .mwai-realtime .mwai-controls {
1181 display: flex;
1182 justify-content: center;
1183 align-items: center;
1184 margin-bottom: var(--mwai-spacing);
1185 }
1186 .mwai-messages-theme .mwai-realtime .mwai-controls > * + * {
1187 margin-left: 10px;
1188 }
1189 .mwai-messages-theme .mwai-realtime .mwai-controls button {
1190 border-radius: 100%;
1191 width: 50px;
1192 height: 50px;
1193 margin: 5px;
1194 padding: 5px;
1195 display: flex;
1196 align-items: center;
1197 justify-content: center;
1198 color: var(--mwai-fontColor);
1199 border: 2px solid var(--mwai-backgroundPrimaryColor);
1200 background: none;
1201 cursor: pointer;
1202 transition: all 0.2s ease-out;
1203 min-width: inherit;
1204 max-width: inherit;
1205 }
1206 .mwai-messages-theme .mwai-realtime .mwai-controls button:hover:not(:disabled) {
1207 background: var(--mwai-backgroundPrimaryColor);
1208 }
1209 .mwai-messages-theme .mwai-realtime .mwai-controls button:disabled {
1210 opacity: 0.5;
1211 cursor: not-allowed;
1212 background: none;
1213 }
1214 .mwai-messages-theme .mwai-realtime .mwai-controls button.mwai-active {
1215 border: 2px solid var(--mwai-fontColor);
1216 }
1217 .mwai-messages-theme .mwai-realtime .mwai-last-transcript {
1218 margin: var(--mwai-spacing);
1219 margin-top: 0;
1220 border: 2px solid var(--mwai-backgroundPrimaryColor);
1221 padding: calc(var(--mwai-spacing) / 2);
1222 border-radius: var(--mwai-borderRadius);
1223 display: flex;
1224 justify-content: center;
1225 font-size: 80%;
1226 }
1227 .mwai-messages-theme .mwai-realtime .mwai-statistics {
1228 display: grid;
1229 grid-template-columns: 1fr 1fr 1fr;
1230 grid-row-gap: 10px;
1231 font-size: 14px;
1232 }
1233 .mwai-messages-theme .mwai-realtime .mwai-statistics div {
1234 display: flex;
1235 flex-direction: column;
1236 align-items: center;
1237 }
1238 .mwai-messages-theme .mwai-realtime .mwai-statistics label {
1239 font-size: 11px;
1240 opacity: 0.5;
1241 text-transform: uppercase;
1242 }
1243 .mwai-messages-theme .mwai-realtime .mwai-options {
1244 margin-top: var(--mwai-spacing);
1245 display: flex;
1246 align-items: center;
1247 }
1248 .mwai-messages-theme .mwai-realtime .mwai-options .mwai-option {
1249 cursor: pointer;
1250 opacity: 0.5;
1251 margin-right: 2px;
1252 }
1253 .mwai-messages-theme .mwai-realtime .mwai-options .mwai-option.mwai-active {
1254 opacity: 1;
1255 }
1256 .mwai-messages-theme.mwai-discussions {
1257 border-radius: var(--mwai-borderRadius);
1258 background: var(--mwai-backgroundHeaderColor);
1259 overflow: hidden;
1260 }
1261 .mwai-messages-theme.mwai-discussions * {
1262 box-sizing: border-box;
1263 }
1264 .mwai-messages-theme.mwai-discussions .mwai-discussion {
1265 display: flex;
1266 position: relative;
1267 padding-left: calc(var(--mwai-spacing) / 2);
1268 padding-right: calc(var(--mwai-spacing) / 2);
1269 padding-bottom: calc(var(--mwai-spacing) / 2);
1270 color: var(--mwai-conversationsTextColor);
1271 opacity: 0.65;
1272 align-items: center;
1273 }
1274 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-content {
1275 flex: 1;
1276 padding: 5px 10px;
1277 overflow: hidden;
1278 }
1279 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-title {
1280 display: block;
1281 overflow: hidden;
1282 text-overflow: ellipsis;
1283 white-space: nowrap;
1284 font-size: var(--mwai-fontSize);
1285 margin-bottom: 4px;
1286 }
1287 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-info {
1288 display: flex;
1289 gap: 12px;
1290 font-size: calc(var(--mwai-fontSize) * 0.85);
1291 opacity: 0.7;
1292 }
1293 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item {
1294 display: flex;
1295 align-items: center;
1296 gap: 4px;
1297 }
1298 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item svg {
1299 opacity: 0.6;
1300 }
1301 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions {
1302 position: absolute;
1303 top: 50%;
1304 right: calc(var(--mwai-spacing) / 2);
1305 transform: translateY(-50%);
1306 opacity: 0;
1307 transition: opacity 0.2s ease-out;
1308 z-index: 100;
1309 }
1310 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon {
1311 width: 28px;
1312 height: 28px;
1313 display: flex;
1314 align-items: center;
1315 justify-content: center;
1316 cursor: pointer;
1317 color: var(--mwai-conversationsTextColor);
1318 }
1319 .mwai-messages-theme.mwai-discussions .mwai-discussion.mwai-active {
1320 cursor: pointer;
1321 }
1322 .mwai-messages-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content {
1323 background: var(--mwai-backgroundPrimaryColor);
1324 border-radius: var(--mwai-borderRadius);
1325 opacity: 1;
1326 }
1327 .mwai-messages-theme.mwai-discussions .mwai-discussion:hover {
1328 cursor: pointer;
1329 }
1330 .mwai-messages-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-content {
1331 background: var(--mwai-backgroundPrimaryColor);
1332 border-radius: var(--mwai-borderRadius);
1333 opacity: 1;
1334 }
1335 .mwai-messages-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-actions {
1336 opacity: 1;
1337 }
1338 .mwai-messages-theme.mwai-discussions .mwai-discussion:has(.mwai-context-menu) .mwai-discussion-actions {
1339 opacity: 1;
1340 }
1341 .mwai-messages-theme.mwai-discussions .mwai-discussion:first-child {
1342 margin-top: calc(var(--mwai-spacing) / 2);
1343 }
1344 .mwai-messages-theme.mwai-discussions .mwai-header {
1345 color: var(--mwai-headerButtonsColor);
1346 padding: var(--mwai-spacing);
1347 display: flex;
1348 justify-content: space-between;
1349 align-items: center;
1350 gap: 10px;
1351 }
1352 .mwai-messages-theme.mwai-discussions .mwai-header button {
1353 background: var(--mwai-backgroundPrimaryColor);
1354 color: var(--mwai-fontColor);
1355 border: none;
1356 padding: 8px 16px;
1357 border-radius: var(--mwai-borderRadius);
1358 cursor: pointer;
1359 transition: all 0.2s ease-out;
1360 }
1361 .mwai-messages-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
1362 background: var(--mwai-iconTextBackgroundColor);
1363 }
1364 .mwai-messages-theme.mwai-discussions .mwai-header button:disabled {
1365 opacity: 0.5;
1366 cursor: not-allowed;
1367 }
1368 .mwai-messages-theme.mwai-discussions .mwai-header .mwai-refresh-btn {
1369 padding: 8px;
1370 display: flex;
1371 align-items: center;
1372 justify-content: center;
1373 }
1374 .mwai-messages-theme.mwai-discussions .mwai-body {
1375 background: var(--mwai-conversationsBackgroundColor);
1376 list-style: none;
1377 padding: 0;
1378 margin: 0;
1379 position: relative;
1380 min-height: 200px;
1381 display: flex;
1382 flex-direction: column;
1383 border-radius: 0;
1384 z-index: 1;
1385 }
1386 .mwai-messages-theme.mwai-discussions .mwai-loading-overlay {
1387 position: absolute;
1388 top: 0;
1389 left: 0;
1390 right: 0;
1391 bottom: 0;
1392 background: var(--mwai-conversationsBackgroundColor);
1393 opacity: 0.9;
1394 display: flex;
1395 align-items: center;
1396 justify-content: center;
1397 z-index: 10;
1398 }
1399 .mwai-messages-theme.mwai-discussions .mwai-spinner {
1400 animation: spin 1s linear infinite;
1401 color: var(--mwai-fontColor);
1402 }
1403 @keyframes spin {
1404 from {
1405 transform: rotate(0deg);
1406 }
1407 to {
1408 transform: rotate(360deg);
1409 }
1410 }
1411 .mwai-messages-theme.mwai-discussions .mwai-pagination {
1412 background: var(--mwai-backgroundHeaderColor);
1413 padding: var(--mwai-spacing);
1414 display: flex;
1415 justify-content: space-between;
1416 align-items: center;
1417 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
1418 }
1419 .mwai-messages-theme.mwai-discussions .mwai-pagination button {
1420 background: var(--mwai-backgroundPrimaryColor);
1421 color: var(--mwai-fontColor);
1422 border: none;
1423 padding: 8px 12px;
1424 border-radius: var(--mwai-borderRadius);
1425 cursor: pointer;
1426 transition: all 0.2s ease-out;
1427 display: flex;
1428 align-items: center;
1429 justify-content: center;
1430 }
1431 .mwai-messages-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
1432 background: var(--mwai-iconTextBackgroundColor);
1433 }
1434 .mwai-messages-theme.mwai-discussions .mwai-pagination button:disabled {
1435 opacity: 0.3;
1436 cursor: not-allowed;
1437 }
1438 .mwai-messages-theme.mwai-discussions .mwai-pagination span {
1439 color: var(--mwai-headerButtonsColor);
1440 font-size: var(--mwai-fontSize);
1441 font-weight: 500;
1442 }
1443 .mwai-messages-theme.mwai-discussions .mwai-pagination .mwai-page-indicator {
1444 color: var(--mwai-headerButtonsColor);
1445 font-size: calc(var(--mwai-fontSize) * 0.85);
1446 font-weight: 400;
1447 opacity: 0.8;
1448 }
1449
1450 .mwai-messages-theme .mwai-realtime .mwai-visualizer hr {
1451 border: 1px solid var(--mwai-backgroundAiSecondaryColor);
1452 }
1453 .mwai-messages-theme .mwai-realtime .mwai-visualizer .mwai-animation {
1454 background: var(--mwai-backgroundAiSecondaryColor);
1455 }
1456 .mwai-messages-theme .mwai-realtime .mwai-controls button {
1457 color: var(--mwai-backgroundPrimaryColor);
1458 background: var(--mwai-backgroundUserColor);
1459 }
1460 .mwai-messages-theme .mwai-realtime .mwai-controls button:hover {
1461 color: var(--mwai-backgroundPrimaryColor) !important;
1462 background: var(--mwai-backgroundUserColor) !important;
1463 opacity: 0.8;
1464 }
1465 .mwai-messages-theme .mwai-realtime .mwai-controls button[disabled] {
1466 color: var(--mwai-backgroundPrimaryColor) !important;
1467 background: var(--mwai-backgroundUserColor) !important;
1468 opacity: 0.5;
1469 }
1470 .mwai-messages-theme .mwai-reply-actions {
1471 top: 5px;
1472 }
1473 .mwai-messages-theme .mwai-reply-actions .mwai-copy-button {
1474 padding-top: 4px;
1475 }
1476 .mwai-messages-theme .mwai-reply-actions .mwai-copy-button:hover {
1477 fill: var(--mwai-backgroundPrimaryColor);
1478 background: var(--mwai-backgroundUserColor);
1479 }
1480 .mwai-messages-theme .mwai-reply-actions .mwai-action-button {
1481 padding-top: 4px;
1482 }
1483 .mwai-messages-theme .mwai-reply-actions .mwai-action-button:hover {
1484 fill: var(--mwai-backgroundPrimaryColor);
1485 background: var(--mwai-backgroundUserColor);
1486 filter: none;
1487 }
1488 .mwai-messages-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button:hover {
1489 fill: var(--mwai-backgroundPrimaryColor);
1490 background: var(--mwai-backgroundUserColor);
1491 filter: none;
1492 }
1493
1494 @media (max-width: 760px) {
1495 .mwai-messages-theme.mwai-window {
1496 width: calc(100% - 40px);
1497 z-index: 9999999999;
1498 }
1499 .mwai-messages-theme .mwai-input {
1500 flex-direction: column;
1501 }
1502 .mwai-messages-theme .mwai-input .mwai-input-text {
1503 width: 100%;
1504 }
1505 .mwai-messages-theme .mwai-input .mwai-input-submit {
1506 width: 100%;
1507 margin: 15px 0 0 0;
1508 }
1509 }
1510