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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
1344 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 {
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 {
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 {
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-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-error:hover {
819 cursor: pointer;
820 background: rgba(180, 44, 44, 0.85);
821 }
822 .mwai-messages-theme.mwai-bubble .mwai-icon-container {
823 background: var(--mwai-bubbleColor);
824 width: 60px;
825 height: 60px;
826 border-radius: 100%;
827 transition: all 0.2s ease-out;
828 display: flex;
829 justify-content: center;
830 align-items: center;
831 }
832 .mwai-messages-theme.mwai-bubble .mwai-icon-container .mwai-icon {
833 max-width: 50%;
834 max-height: 50%;
835 filter: none;
836 }
837 .mwai-messages-theme.mwai-bubble .mwai-icon-container .mwai-icon:hover {
838 transform: none;
839 }
840 .mwai-messages-theme.mwai-bubble .mwai-icon-container .mwai-emoji {
841 font-size: 30px !important;
842 }
843 .mwai-messages-theme.mwai-bubble .mwai-icon-container:hover {
844 cursor: pointer;
845 filter: brightness(1.1);
846 }
847 @media (max-width: 760px) {
848 .mwai-messages-theme.mwai-window.mwai-open {
849 position: fixed;
850 left: 0 !important;
851 right: 0 !important;
852 bottom: 0 !important;
853 top: 0 !important;
854 width: 100%;
855 height: 100%;
856 max-height: 100%;
857 max-width: 100%;
858 display: flex;
859 flex-direction: column;
860 margin: 0;
861 z-index: 999999;
862 background-color: var(--mwai-backgroundSecondaryColor);
863 }
864 .mwai-messages-theme.mwai-window.mwai-open .mwai-header {
865 border-radius: 0;
866 }
867 .mwai-messages-theme.mwai-window.mwai-open .mwai-body {
868 height: 100%;
869 max-height: inherit;
870 border-radius: 0;
871 }
872 .mwai-messages-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
873 flex: auto;
874 max-height: none;
875 }
876 .mwai-messages-theme.mwai-window.mwai-open .mwai-input {
877 flex-direction: column;
878 }
879 .mwai-messages-theme.mwai-window.mwai-open .mwai-input button {
880 font-size: 16px;
881 margin-left: 0;
882 width: 100%;
883 }
884 .mwai-messages-theme.mwai-window.mwai-open .mwai-input .mwai-input-text {
885 width: 100%;
886 }
887 .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 {
888 font-size: 16px;
889 }
890 .mwai-messages-theme.mwai-window.mwai-open .mwai-body {
891 display: flex;
892 transition: opacity 200ms ease-in-out 0s;
893 opacity: 1;
894 height: 100%;
895 max-height: inherit;
896 }
897 .mwai-messages-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
898 flex: auto;
899 max-height: none;
900 }
901 .mwai-messages-theme.mwai-window.mwai-open .mwai-resize-button {
902 display: none !important;
903 }
904 .mwai-messages-theme.mwai-window.mwai-open .mwai-trigger {
905 display: none;
906 }
907 }
908 @keyframes mwai-button-spinner {
909 from {
910 transform: rotate(0turn);
911 }
912 to {
913 transform: rotate(1turn);
914 }
915 }
916 .mwai-messages-theme button:not(.mwai-busy):before {
917 content: none !important;
918 display: none !important;
919 animation: none !important;
920 }
921 .mwai-messages-theme .admin-bar .mwai-fullscreen:not(.mwai-window),
922 .mwai-messages-theme .admin-bar .mwai-fullscreen.mwai-window.mwai-open {
923 top: 32px;
924 }
925 .mwai-messages-theme pre code.hljs {
926 display: block;
927 overflow-x: auto;
928 padding: 1em;
929 }
930 .mwai-messages-theme code.hljs {
931 padding: 3px 5px;
932 }
933 .mwai-messages-theme .hljs {
934 color: #333;
935 background: #f0f0f0;
936 }
937 .mwai-messages-theme .hljs-subst {
938 color: #333;
939 }
940 .mwai-messages-theme .hljs-comment {
941 color: #888;
942 }
943 .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 {
944 color: #0077cc;
945 }
946 .mwai-messages-theme .hljs-attribute {
947 color: #aa3377;
948 }
949 .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 {
950 color: #c18401;
951 }
952 .mwai-messages-theme .hljs-selector-class {
953 color: #0077cc;
954 }
955 .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 {
956 color: #689700;
957 }
958 .mwai-messages-theme .hljs-meta, .mwai-messages-theme .hljs-selector-pseudo {
959 color: #0077cc;
960 }
961 .mwai-messages-theme .hljs-built_in, .mwai-messages-theme .hljs-literal, .mwai-messages-theme .hljs-title {
962 color: #c18401;
963 }
964 .mwai-messages-theme .hljs-bullet, .mwai-messages-theme .hljs-code {
965 color: #555;
966 }
967 .mwai-messages-theme .hljs-meta .hljs-string {
968 color: #689700;
969 }
970 .mwai-messages-theme .hljs-deletion {
971 color: #b71c1c;
972 }
973 .mwai-messages-theme .hljs-addition {
974 color: #1b5e20;
975 }
976 .mwai-messages-theme .hljs-emphasis {
977 font-style: italic;
978 }
979 .mwai-messages-theme .hljs-strong {
980 font-weight: 700;
981 }
982 .mwai-messages-theme .mwai-reply-actions {
983 position: absolute;
984 border-radius: 5px;
985 top: 10px;
986 right: 10px;
987 display: flex;
988 align-items: center;
989 padding: 2px 2px;
990 z-index: 100;
991 background: var(--mwai-backgroundPrimaryColor);
992 box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
993 z-index: 100;
994 }
995 .mwai-messages-theme .mwai-reply-actions .mwai-copy-button {
996 fill: var(--mwai-fontColor);
997 padding: 3px 5px;
998 width: 24px;
999 height: 24px;
1000 background: var(--mwai-backgroundPrimaryColor);
1001 cursor: pointer;
1002 border-radius: 5px;
1003 }
1004 .mwai-messages-theme .mwai-reply-actions .mwai-copy-button:hover {
1005 filter: brightness(1.2);
1006 }
1007 .mwai-messages-theme .mwai-reply-actions.mwai-hidden {
1008 opacity: 0;
1009 }
1010 .mwai-messages-theme .mwai-realtime {
1011 padding: var(--mwai-spacing);
1012 }
1013 .mwai-messages-theme .mwai-realtime .mwai-visualizer {
1014 display: flex;
1015 justify-content: center;
1016 align-items: center;
1017 }
1018 .mwai-messages-theme .mwai-realtime .mwai-visualizer hr {
1019 width: 100px;
1020 margin-right: var(--mwai-spacing);
1021 margin-left: var(--mwai-spacing);
1022 border: 1px solid var(--mwai-backgroundPrimaryColor);
1023 }
1024 .mwai-messages-theme .mwai-realtime .mwai-visualizer .mwai-animation {
1025 background: var(--mwai-backgroundPrimaryColor);
1026 }
1027 .mwai-messages-theme .mwai-realtime .mwai-controls {
1028 display: flex;
1029 justify-content: center;
1030 align-items: center;
1031 margin-bottom: var(--mwai-spacing);
1032 }
1033 .mwai-messages-theme .mwai-realtime .mwai-controls > * + * {
1034 margin-left: 10px;
1035 }
1036 .mwai-messages-theme .mwai-realtime .mwai-controls button {
1037 border-radius: 100%;
1038 width: 50px;
1039 height: 50px;
1040 margin: 5px;
1041 padding: 5px;
1042 display: flex;
1043 align-items: center;
1044 justify-content: center;
1045 color: var(--mwai-fontColor);
1046 border: 2px solid var(--mwai-backgroundPrimaryColor);
1047 background: none;
1048 cursor: pointer;
1049 transition: all 0.2s ease-out;
1050 min-width: inherit;
1051 max-width: inherit;
1052 }
1053 .mwai-messages-theme .mwai-realtime .mwai-controls button:hover:not(:disabled) {
1054 background: var(--mwai-backgroundPrimaryColor);
1055 }
1056 .mwai-messages-theme .mwai-realtime .mwai-controls button:disabled {
1057 opacity: 0.5;
1058 cursor: not-allowed;
1059 background: none;
1060 }
1061 .mwai-messages-theme .mwai-realtime .mwai-controls button.mwai-active {
1062 border: 2px solid var(--mwai-fontColor);
1063 }
1064 .mwai-messages-theme .mwai-realtime .mwai-last-transcript {
1065 margin: var(--mwai-spacing);
1066 margin-top: 0;
1067 border: 2px solid var(--mwai-backgroundPrimaryColor);
1068 padding: calc(var(--mwai-spacing) / 2);
1069 border-radius: var(--mwai-borderRadius);
1070 display: flex;
1071 justify-content: center;
1072 font-size: 80%;
1073 }
1074 .mwai-messages-theme .mwai-realtime .mwai-statistics {
1075 display: grid;
1076 grid-template-columns: 1fr 1fr 1fr;
1077 grid-row-gap: 10px;
1078 font-size: 14px;
1079 }
1080 .mwai-messages-theme .mwai-realtime .mwai-statistics div {
1081 display: flex;
1082 flex-direction: column;
1083 align-items: center;
1084 }
1085 .mwai-messages-theme .mwai-realtime .mwai-statistics label {
1086 font-size: 11px;
1087 opacity: 0.5;
1088 text-transform: uppercase;
1089 }
1090 .mwai-messages-theme .mwai-realtime .mwai-options {
1091 margin-top: var(--mwai-spacing);
1092 display: flex;
1093 align-items: center;
1094 }
1095 .mwai-messages-theme .mwai-realtime .mwai-options .mwai-option {
1096 cursor: pointer;
1097 opacity: 0.5;
1098 margin-right: 2px;
1099 }
1100 .mwai-messages-theme .mwai-realtime .mwai-options .mwai-option.mwai-active {
1101 opacity: 1;
1102 }
1103 .mwai-messages-theme.mwai-discussions {
1104 border-radius: var(--mwai-borderRadius);
1105 background: var(--mwai-backgroundHeaderColor);
1106 overflow: hidden;
1107 }
1108 .mwai-messages-theme.mwai-discussions * {
1109 box-sizing: border-box;
1110 }
1111 .mwai-messages-theme.mwai-discussions .mwai-discussion {
1112 display: flex;
1113 position: relative;
1114 padding-left: calc(var(--mwai-spacing) / 2);
1115 padding-right: calc(var(--mwai-spacing) / 2);
1116 padding-bottom: calc(var(--mwai-spacing) / 2);
1117 color: var(--mwai-conversationsTextColor);
1118 opacity: 0.65;
1119 align-items: center;
1120 }
1121 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-content {
1122 flex: 1;
1123 padding: 5px 10px;
1124 overflow: hidden;
1125 }
1126 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-title {
1127 display: block;
1128 overflow: hidden;
1129 text-overflow: ellipsis;
1130 white-space: nowrap;
1131 font-size: var(--mwai-fontSize);
1132 margin-bottom: 4px;
1133 }
1134 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-info {
1135 display: flex;
1136 gap: 12px;
1137 font-size: calc(var(--mwai-fontSize) * 0.85);
1138 opacity: 0.7;
1139 }
1140 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item {
1141 display: flex;
1142 align-items: center;
1143 gap: 4px;
1144 }
1145 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item svg {
1146 opacity: 0.6;
1147 }
1148 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions {
1149 position: absolute;
1150 top: 50%;
1151 right: calc(var(--mwai-spacing) / 2);
1152 transform: translateY(-50%);
1153 opacity: 0;
1154 transition: opacity 0.2s ease-out;
1155 z-index: 100;
1156 }
1157 .mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon {
1158 width: 28px;
1159 height: 28px;
1160 display: flex;
1161 align-items: center;
1162 justify-content: center;
1163 cursor: pointer;
1164 color: var(--mwai-conversationsTextColor);
1165 }
1166 .mwai-messages-theme.mwai-discussions .mwai-discussion.mwai-active {
1167 cursor: pointer;
1168 }
1169 .mwai-messages-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content {
1170 background: var(--mwai-backgroundPrimaryColor);
1171 border-radius: var(--mwai-borderRadius);
1172 opacity: 1;
1173 }
1174 .mwai-messages-theme.mwai-discussions .mwai-discussion:hover {
1175 cursor: pointer;
1176 }
1177 .mwai-messages-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-content {
1178 background: var(--mwai-backgroundPrimaryColor);
1179 border-radius: var(--mwai-borderRadius);
1180 opacity: 1;
1181 }
1182 .mwai-messages-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-actions {
1183 opacity: 1;
1184 }
1185 .mwai-messages-theme.mwai-discussions .mwai-discussion:has(.mwai-context-menu) .mwai-discussion-actions {
1186 opacity: 1;
1187 }
1188 .mwai-messages-theme.mwai-discussions .mwai-discussion:first-child {
1189 margin-top: calc(var(--mwai-spacing) / 2);
1190 }
1191 .mwai-messages-theme.mwai-discussions .mwai-header {
1192 color: var(--mwai-headerButtonsColor);
1193 padding: var(--mwai-spacing);
1194 display: flex;
1195 justify-content: space-between;
1196 align-items: center;
1197 gap: 10px;
1198 }
1199 .mwai-messages-theme.mwai-discussions .mwai-header button {
1200 background: var(--mwai-backgroundPrimaryColor);
1201 color: var(--mwai-fontColor);
1202 border: none;
1203 padding: 8px 16px;
1204 border-radius: var(--mwai-borderRadius);
1205 cursor: pointer;
1206 transition: all 0.2s ease-out;
1207 }
1208 .mwai-messages-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
1209 background: var(--mwai-iconTextBackgroundColor);
1210 }
1211 .mwai-messages-theme.mwai-discussions .mwai-header button:disabled {
1212 opacity: 0.5;
1213 cursor: not-allowed;
1214 }
1215 .mwai-messages-theme.mwai-discussions .mwai-header .mwai-refresh-btn {
1216 padding: 8px;
1217 display: flex;
1218 align-items: center;
1219 justify-content: center;
1220 }
1221 .mwai-messages-theme.mwai-discussions .mwai-body {
1222 background: var(--mwai-conversationsBackgroundColor);
1223 list-style: none;
1224 padding: 0;
1225 margin: 0;
1226 position: relative;
1227 min-height: 200px;
1228 display: flex;
1229 flex-direction: column;
1230 border-radius: 0;
1231 z-index: 1;
1232 }
1233 .mwai-messages-theme.mwai-discussions .mwai-loading-overlay {
1234 position: absolute;
1235 top: 0;
1236 left: 0;
1237 right: 0;
1238 bottom: 0;
1239 background: var(--mwai-conversationsBackgroundColor);
1240 opacity: 0.9;
1241 display: flex;
1242 align-items: center;
1243 justify-content: center;
1244 z-index: 10;
1245 }
1246 .mwai-messages-theme.mwai-discussions .mwai-spinner {
1247 animation: spin 1s linear infinite;
1248 color: var(--mwai-fontColor);
1249 }
1250 @keyframes spin {
1251 from {
1252 transform: rotate(0deg);
1253 }
1254 to {
1255 transform: rotate(360deg);
1256 }
1257 }
1258 .mwai-messages-theme.mwai-discussions .mwai-pagination {
1259 background: var(--mwai-backgroundHeaderColor);
1260 padding: var(--mwai-spacing);
1261 display: flex;
1262 justify-content: space-between;
1263 align-items: center;
1264 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
1265 }
1266 .mwai-messages-theme.mwai-discussions .mwai-pagination button {
1267 background: var(--mwai-backgroundPrimaryColor);
1268 color: var(--mwai-fontColor);
1269 border: none;
1270 padding: 8px 12px;
1271 border-radius: var(--mwai-borderRadius);
1272 cursor: pointer;
1273 transition: all 0.2s ease-out;
1274 display: flex;
1275 align-items: center;
1276 justify-content: center;
1277 }
1278 .mwai-messages-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
1279 background: var(--mwai-iconTextBackgroundColor);
1280 }
1281 .mwai-messages-theme.mwai-discussions .mwai-pagination button:disabled {
1282 opacity: 0.3;
1283 cursor: not-allowed;
1284 }
1285 .mwai-messages-theme.mwai-discussions .mwai-pagination span {
1286 color: var(--mwai-headerButtonsColor);
1287 font-size: var(--mwai-fontSize);
1288 font-weight: 500;
1289 }
1290 .mwai-messages-theme.mwai-discussions .mwai-pagination .mwai-page-indicator {
1291 color: var(--mwai-headerButtonsColor);
1292 font-size: calc(var(--mwai-fontSize) * 0.85);
1293 font-weight: 400;
1294 opacity: 0.8;
1295 }
1296
1297 .mwai-messages-theme .mwai-realtime .mwai-visualizer hr {
1298 border: 1px solid var(--mwai-backgroundAiSecondaryColor);
1299 }
1300 .mwai-messages-theme .mwai-realtime .mwai-visualizer .mwai-animation {
1301 background: var(--mwai-backgroundAiSecondaryColor);
1302 }
1303 .mwai-messages-theme .mwai-realtime .mwai-controls button {
1304 color: var(--mwai-backgroundPrimaryColor);
1305 background: var(--mwai-backgroundUserColor);
1306 }
1307 .mwai-messages-theme .mwai-realtime .mwai-controls button:hover {
1308 color: var(--mwai-backgroundPrimaryColor) !important;
1309 background: var(--mwai-backgroundUserColor) !important;
1310 opacity: 0.8;
1311 }
1312 .mwai-messages-theme .mwai-realtime .mwai-controls button[disabled] {
1313 color: var(--mwai-backgroundPrimaryColor) !important;
1314 background: var(--mwai-backgroundUserColor) !important;
1315 opacity: 0.5;
1316 }
1317 .mwai-messages-theme .mwai-reply-actions {
1318 top: 5px;
1319 }
1320 .mwai-messages-theme .mwai-reply-actions .mwai-copy-button {
1321 padding-top: 4px;
1322 }
1323 .mwai-messages-theme .mwai-reply-actions .mwai-copy-button:hover {
1324 fill: var(--mwai-backgroundPrimaryColor);
1325 background: var(--mwai-backgroundUserColor);
1326 }
1327
1328 @media (max-width: 760px) {
1329 .mwai-messages-theme.mwai-window {
1330 width: calc(100% - 40px);
1331 z-index: 9999999999;
1332 }
1333 .mwai-messages-theme .mwai-input {
1334 flex-direction: column;
1335 }
1336 .mwai-messages-theme .mwai-input .mwai-input-text {
1337 width: 100%;
1338 }
1339 .mwai-messages-theme .mwai-input .mwai-input-submit {
1340 width: 100%;
1341 margin: 15px 0 0 0;
1342 }
1343 }
1344