PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 2.6.3
MxChat – AI Chatbot & Content Generation for WordPress v2.6.3
3.2.21 3.2.20 3.2.19 3.2.18 3.2.17 3.2.16 3.2.15 3.2.14 3.2.12 3.2.13 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 3.2.6 3.2.5 3.2.4 3.2.3 3.2.2 3.2.1 2.0.3 2.0.4 2.0.5 2.0.6 All 152 releases
mxchat-basic / css / chat-transcripts.css

chat-transcripts.css in MxChat – AI Chatbot & Content Generation for WordPress 2.6.3, at css/chat-transcripts.css

702 lines 15.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Core Styles */
2 #wpcontent {
3 padding-left: 0;
4 }
5 .stat-sublabel {
6 font-size: 0.8rem;
7 color: #666;
8 display: block;
9 margin-top: 0.5rem;
10 }
11 body.wp-admin .wrap.mxchat-transcripts-wrapper {
12 max-width: 100%;
13 margin: 0 auto;
14 padding: 0;
15 }
16
17 /* Hero Section */
18 body.wp-admin .wrap.mxchat-transcripts-wrapper .mxchat-transcripts-hero {
19 text-align: center;
20 padding: 3.5rem 2rem;
21 position: relative;
22 background: #212121;
23 border-bottom: 4px solid transparent;
24 border-image: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
25 border-image-slice: 1;
26 }
27
28 body.wp-admin .wrap.mxchat-transcripts-wrapper .mxchat-transcripts-hero::before {
29 content: '';
30 position: absolute;
31 top: 0;
32 left: 0;
33 width: 100%;
34 height: 100%;
35 background: radial-gradient(
36 circle at center,
37 rgba(250, 115, 230, 0.08) 0%,
38 rgba(120, 115, 245, 0.08) 50%,
39 rgba(58, 201, 209, 0.08) 100%
40 );
41 z-index: 1;
42 }
43
44 body.wp-admin .wrap.mxchat-transcripts-wrapper .mxchat-main-title {
45 font-size: 3.5rem;
46 margin: 0 0 1.5rem;
47 line-height: 1.2;
48 color: white;
49 position: relative;
50 z-index: 2;
51 }
52
53 body.wp-admin .wrap.mxchat-transcripts-wrapper .mxchat-gradient-text {
54 background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
55 -webkit-background-clip: text;
56 -webkit-text-fill-color: transparent;
57 display: inline-block;
58 font-weight: 700;
59 }
60
61 body.wp-admin .wrap.mxchat-transcripts-wrapper .mxchat-hero-subtitle {
62 font-size: 1.25rem;
63 color: rgba(255, 255, 255, 0.9);
64 max-width: 800px;
65 margin: 0 auto;
66 position: relative;
67 z-index: 2;
68 line-height: 1.6;
69 }
70
71 /* Content Area */
72 body.wp-admin .wrap.mxchat-transcripts-wrapper .mxchat-content {
73 padding: 2rem;
74 max-width: 1400px;
75 margin: 0 auto;
76 }
77
78 /* Action Buttons */
79 .mxchat-action-button {
80 background: linear-gradient(135deg, #fa73e6, #7873f5);
81 color: white;
82 border: none;
83 padding: 8px 16px;
84 border-radius: 8px;
85 cursor: pointer;
86 font-weight: 600;
87 display: flex;
88 align-items: center;
89 gap: 8px;
90 transition: transform 0.2s ease, box-shadow 0.2s ease;
91 }
92
93 .mxchat-action-button:hover {
94 transform: translateY(-1px);
95 box-shadow: 0 4px 12px rgba(120, 115, 245, 0.2);
96 }
97
98 .mxchat-action-button.loading {
99 opacity: 0.7;
100 cursor: not-allowed;
101 }
102
103 .mxchat-action-button .dashicons {
104 font-size: 16px;
105 width: 16px;
106 height: 16px;
107 }
108
109 /* Session Container - Clean and Minimal */
110 .mxchat-session {
111 background: #ffffff;
112 border: 1px solid #e5e7eb;
113 border-radius: 8px;
114 margin-bottom: 16px;
115 overflow: hidden;
116 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
117 transition: all 0.2s ease;
118 }
119
120 .mxchat-session:hover {
121 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
122 }
123
124 /* Selected state for entire session */
125 .mxchat-session.selected {
126 border: 2px solid #3b82f6;
127 box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
128 }
129
130 .mxchat-session.selected .mxchat-session-header {
131 background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
132 }
133
134 /* Show trash icon when session is selected */
135 .mxchat-session.selected .mxchat-hover-actions {
136 opacity: 1;
137 }
138
139 /* Clean Hover-Action Session Header */
140 .mxchat-session-header {
141 background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
142 border-bottom: 1px solid #e2e8f0;
143 padding: 16px 20px;
144 transition: background-color 0.2s ease;
145 position: relative;
146 cursor: pointer;
147 }
148
149 .mxchat-session-header:hover {
150 background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
151 }
152
153 /* Top-centered user pill */
154 .mxchat-user-row {
155 color: #1e293b;
156 font-size: 15px;
157 font-weight: 600;
158 margin-bottom: 12px;
159 background: linear-gradient(135deg, #f0f9ff, #dbeafe);
160 padding: 6px 16px;
161 border-radius: 20px;
162 border: 1px solid #bfdbfe;
163 display: inline-block;
164 max-width: calc(100% - 40px);
165 overflow: hidden;
166 text-overflow: ellipsis;
167 white-space: nowrap;
168 text-align: center;
169 width: fit-content;
170 display: block;
171 margin: 0 auto 12px auto;
172 }
173
174 .mxchat-header-row {
175 display: flex;
176 justify-content: flex-start;
177 align-items: center;
178 margin-bottom: 8px;
179 }
180
181 .mxchat-main-info {
182 display: flex;
183 align-items: left;
184 flex-direction: column;
185 gap: 8px;
186 }
187
188 .mxchat-session-id {
189 font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
190 font-size: 14px;
191 font-weight: 700;
192 color: #475569;
193 background: #e2e8f0;
194 padding: 4px 8px;
195 border-radius: 6px;
196 }
197
198 .mxchat-separator {
199 color: #94a3b8;
200 font-weight: 500;
201 }
202
203 .mxchat-session-time {
204 color: #64748b;
205 font-size: 13px;
206 font-weight: 500;
207 }
208
209 /* Bottom-right positioned trash can */
210 .mxchat-hover-actions {
211 position: absolute;
212 bottom: 12px;
213 right: 16px;
214 opacity: 0;
215 transition: opacity 0.2s ease;
216 }
217
218 .mxchat-session-header:hover .mxchat-hover-actions {
219 opacity: 1;
220 }
221
222 .mxchat-delete-btn {
223 background: none;
224 border: none;
225 cursor: pointer;
226 font-size: 16px;
227 padding: 4px 8px;
228 border-radius: 4px;
229 transition: background-color 0.2s ease;
230 }
231
232 .mxchat-delete-btn:hover {
233 background: rgba(239, 68, 68, 0.1);
234 }
235
236 /* Content Rows */
237 .mxchat-page-row,
238 .mxchat-links-row {
239 color: #64748b;
240 font-size: 13px;
241 margin-bottom: 4px;
242 line-height: 1.4;
243 }
244
245 .mxchat-label {
246 font-weight: 600;
247 color: #475569;
248 }
249
250 .mxchat-page-link {
251 color: #3b82f6;
252 text-decoration: none;
253 font-weight: 500;
254 transition: color 0.2s ease;
255 }
256
257 .mxchat-page-link:hover {
258 color: #1d4ed8;
259 text-decoration: underline;
260 }
261
262 .mxchat-link-item {
263 color: #7c3aed;
264 text-decoration: none;
265 font-weight: 500;
266 transition: color 0.2s ease;
267 }
268
269 .mxchat-link-item:hover {
270 color: #5b21b6;
271 text-decoration: underline;
272 }
273
274 /* Messages Section - Keep existing styling */
275 .mxchat-messages {
276 padding: 16px;
277 background: #ffffff;
278 }
279
280 .mxchat-message {
281 border-radius: 8px;
282 border-left: 4px solid transparent;
283 }
284
285 .mxchat-message-header {
286 font-weight: 600;
287 font-size: 14px;
288 color: #374151;
289 margin-bottom: 6px;
290 }
291
292 .mxchat-message-content {
293 color: #4b5563;
294 line-height: 1.6;
295 font-size: 14px;
296 margin-bottom: 8px;
297 }
298
299 /* Message content markdown styling */
300 .mxchat-message-content a {
301 color: #3b82f6;
302 text-decoration: none;
303 }
304
305 .mxchat-message-content a:hover {
306 text-decoration: underline;
307 }
308
309 .mxchat-message-content code {
310 background: rgba(0, 0, 0, 0.06);
311 padding: 2px 5px;
312 border-radius: 3px;
313 font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
314 font-size: 0.9em;
315 }
316
317 .mxchat-message-content pre {
318 background: #1e293b;
319 color: #e2e8f0;
320 padding: 12px 16px;
321 border-radius: 6px;
322 overflow-x: auto;
323 margin: 8px 0;
324 }
325
326 .mxchat-message-content pre code {
327 background: none;
328 padding: 0;
329 color: inherit;
330 }
331
332 .mxchat-message-content strong {
333 font-weight: 600;
334 }
335
336 .mxchat-message-content em {
337 font-style: italic;
338 }
339
340 .mxchat-message-content h1,
341 .mxchat-message-content h2,
342 .mxchat-message-content h3,
343 .mxchat-message-content h4,
344 .mxchat-message-content h5,
345 .mxchat-message-content h6 {
346 margin: 12px 0 8px 0;
347 font-weight: 600;
348 line-height: 1.3;
349 color: #1f2937;
350 }
351
352 .mxchat-message-content h1 { font-size: 1.4em; }
353 .mxchat-message-content h2 { font-size: 1.3em; }
354 .mxchat-message-content h3 { font-size: 1.2em; }
355 .mxchat-message-content h4 { font-size: 1.1em; }
356 .mxchat-message-content h5 { font-size: 1em; }
357 .mxchat-message-content h6 { font-size: 0.95em; }
358
359 .mxchat-message-content ul,
360 .mxchat-message-content ol {
361 margin: 8px 0;
362 padding-left: 24px;
363 }
364
365 .mxchat-message-content li {
366 margin: 4px 0;
367 }
368
369 .mxchat-message-content p {
370 margin: 8px 0;
371 }
372
373 .mxchat-timestamp {
374 font-size: 12px;
375 color: #9ca3af;
376 font-weight: 500;
377 }
378
379 /* Chat Email Notification Modal styles */
380 .mxchat-chat-notification-modal-overlay {
381 position: fixed;
382 z-index: 9999;
383 left: 0;
384 top: 0;
385 width: 100%;
386 height: 100%;
387 background-color: rgba(0, 0, 0, 0.5);
388 display: flex;
389 align-items: center;
390 justify-content: center;
391 animation: mxchatNotificationFadeIn 0.3s ease;
392 }
393
394 @keyframes mxchatNotificationFadeIn {
395 from { opacity: 0; }
396 to { opacity: 1; }
397 }
398
399 .mxchat-chat-notification-modal-content {
400 background-color: #fff;
401 border-radius: 12px;
402 box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
403 width: 90%;
404 max-width: 500px;
405 max-height: 90vh;
406 display: flex;
407 flex-direction: column;
408 animation: mxchatNotificationSlideIn 0.3s ease;
409 }
410
411 @keyframes mxchatNotificationSlideIn {
412 from { transform: translateY(-20px); opacity: 0; }
413 to { transform: translateY(0); opacity: 1; }
414 }
415
416 .mxchat-chat-notification-modal-header {
417 padding: 20px;
418 border-bottom: 1px solid #e5e7eb;
419 display: flex;
420 justify-content: space-between;
421 align-items: center;
422 }
423
424 .mxchat-chat-notification-modal-header h2 {
425 margin: 0;
426 font-size: 20px;
427 font-weight: 600;
428 color: #1f2937;
429 }
430
431 .mxchat-chat-notification-modal-close {
432 background: none;
433 border: none;
434 font-size: 24px;
435 cursor: pointer;
436 color: #6b7280;
437 padding: 0;
438 width: 30px;
439 height: 30px;
440 display: flex;
441 align-items: center;
442 justify-content: center;
443 border-radius: 50%;
444 transition: all 0.2s ease;
445 }
446
447 .mxchat-chat-notification-modal-close:hover {
448 background-color: #f3f4f6;
449 color: #1f2937;
450 }
451
452 .mxchat-chat-notification-modal-body {
453 padding: 20px;
454 overflow-y: auto;
455 flex: 1;
456 }
457
458 .mxchat-chat-notification-modal-body p {
459 margin-top: 0;
460 color: #4b5563;
461 line-height: 1.6;
462 }
463
464 .mxchat-chat-notification-modal-footer {
465 padding: 20px;
466 border-top: 1px solid #e5e7eb;
467 display: flex;
468 justify-content: flex-end;
469 gap: 10px;
470 }
471
472 #mxchat-chat-email-notification-btn:hover {
473 transform: translateY(-2px);
474 box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
475 }
476
477 #mxchat-chat-email-notification-btn .dashicons {
478 font-size: 18px;
479 width: 18px;
480 height: 18px;
481 }
482
483 /* Form styles within chat notification modal */
484 .mxchat-chat-notification-modal-content .form-table {
485 margin: 0;
486 }
487
488 .mxchat-chat-notification-modal-content .form-table th {
489 padding: 15px 10px 15px 0;
490 width: 180px;
491 font-weight: 600;
492 color: #374151;
493 }
494
495 .mxchat-chat-notification-modal-content .form-table td {
496 padding: 15px 10px;
497 }
498
499 .mxchat-chat-notification-modal-content .regular-text {
500 width: 100%;
501 max-width: 100%;
502 border: 1px solid #d1d5db;
503 border-radius: 6px;
504 padding: 8px 12px;
505 font-size: 14px;
506 }
507
508 .mxchat-chat-notification-modal-content .description {
509 margin-top: 8px;
510 color: #6b7280;
511 font-size: 13px;
512 }
513
514 /* Checkbox styling in chat notification modal */
515 .mxchat-chat-notification-modal-content input[type="checkbox"] {
516 margin-right: 8px;
517 }
518
519 .mxchat-chat-notification-modal-content label {
520 color: #374151;
521 font-size: 14px;
522 }
523
524 /* Button styling in chat notification modal */
525 .mxchat-chat-notification-modal-content .button {
526 padding: 8px 16px;
527 border-radius: 6px;
528 font-size: 14px;
529 cursor: pointer;
530 transition: all 0.2s ease;
531 }
532
533 .mxchat-chat-notification-modal-content .button-primary {
534 background: linear-gradient(135deg, #3b82f6, #8b5cf6);
535 border: none;
536 color: #fff;
537 }
538
539 .mxchat-chat-notification-modal-content .button-primary:hover {
540 transform: translateY(-1px);
541 box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
542 }
543
544 .mxchat-chat-notification-modal-content .mxchat-chat-notification-modal-cancel {
545 background: #f3f4f6;
546 border: 1px solid #e5e7eb;
547 color: #374151;
548 }
549
550 .mxchat-chat-notification-modal-content .mxchat-chat-notification-modal-cancel:hover {
551 background: #e5e7eb;
552 }
553
554 /* Pagination Styles */
555 .mxchat-pagination {
556 margin-top: 20px;
557 display: flex;
558 flex-wrap: wrap;
559 justify-content: space-between;
560 align-items: center;
561 }
562
563 .mxchat-pagination-info {
564 margin-bottom: 10px;
565 color: #666;
566 }
567
568 .mxchat-pagination-controls {
569 display: flex;
570 flex-wrap: wrap;
571 gap: 5px;
572 }
573
574 .mxchat-pagination-button {
575 padding: 6px 12px;
576 background: #f7f7f7;
577 border: 1px solid #ddd;
578 border-radius: 3px;
579 cursor: pointer;
580 transition: all 0.2s ease;
581 }
582
583 .mxchat-pagination-button:hover {
584 background: #e9e9e9;
585 }
586
587 .mxchat-pagination-button.active {
588 background: #2271b1;
589 border-color: #2271b1;
590 color: white;
591 font-weight: bold;
592 }
593
594 .mxchat-pagination-ellipsis {
595 padding: 6px 8px;
596 color: #666;
597 }
598
599 /* No Results Styling */
600 .mxchat-no-results {
601 text-align: center;
602 padding: 40px 20px;
603 color: #6b7280;
604 font-size: 16px;
605 background: #f9fafb;
606 border-radius: 8px;
607 border: 2px dashed #d1d5db;
608 }
609
610 /* Responsive Design */
611 @media (max-width: 768px) {
612 body.wp-admin .wrap.mxchat-transcripts-wrapper {
613 padding: 0;
614 }
615
616 body.wp-admin .wrap.mxchat-transcripts-wrapper .mxchat-main-title {
617 font-size: 2.5rem;
618 }
619
620 body.wp-admin .wrap.mxchat-transcripts-wrapper .mxchat-transcripts-hero {
621 padding: 2.5rem 1.5rem;
622 }
623
624 .auto-fold #wpcontent {
625 margin-left: 0;
626 padding-left: 0px;
627 }
628
629 .mxchat-action-button {
630 width: 100%;
631 }
632
633 .mxchat-session-header {
634 padding: 10px 12px;
635 flex-direction: column;
636 align-items: flex-start;
637 gap: 8px;
638 }
639
640 .mxchat-session-info {
641 width: 100%;
642 gap: 8px;
643 }
644
645 .mxchat-session-details {
646 flex-direction: column;
647 align-items: flex-start;
648 gap: 6px;
649 }
650
651 .mxchat-user,
652 .mxchat-page,
653 .mxchat-links {
654 max-width: none;
655 }
656
657 .mxchat-session-time {
658 align-self: flex-end;
659 }
660
661 .mxchat-messages {
662 padding: 12px;
663 }
664
665 .mxchat-pagination {
666 flex-direction: column;
667 align-items: flex-start;
668 }
669
670 .mxchat-pagination-controls {
671 margin-top: 10px;
672 }
673 }
674
675 /* Focus states for accessibility */
676 .mxchat-checkbox:focus {
677 outline: 2px solid #7873f5;
678 outline-offset: 2px;
679 }
680
681 .mxchat-page a:focus,
682 .mxchat-links a:focus {
683 outline: 2px solid #3b82f6;
684 outline-offset: 1px;
685 border-radius: 2px;
686 }
687
688 /* Animation for new sessions */
689 .mxchat-session.animate-in {
690 animation: slideInFromTop 0.3s ease-out;
691 }
692
693 @keyframes slideInFromTop {
694 0% {
695 opacity: 0;
696 transform: translateY(-10px);
697 }
698 100% {
699 opacity: 1;
700 transform: translateY(0);
701 }
702 }