PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 3.2.25
MxChat – AI Chatbot & Content Generation for WordPress v3.2.25
3.2.25 3.2.24 3.2.23 3.2.22 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 All 156 releases
mxchat-basic / css / admin-pro.css

admin-pro.css in MxChat – AI Chatbot & Content Generation for WordPress 3.2.25, at css/admin-pro.css

691 lines 15.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ==========================================================================
2 MxChat Pro & Extensions Page Styles - v1.0
3 Uses admin-sidebar.css for core layout/navigation styles
4 ========================================================================== */
5
6 /* ==========================================================================
7 License Section in Sidebar (Simplified)
8 ========================================================================== */
9 .mxch-license-section {
10 margin-bottom: var(--mxch-spacing-xs);
11 }
12
13 .mxch-sidebar-license-status {
14 padding: 0 var(--mxch-spacing-lg) var(--mxch-spacing-sm);
15 position: relative;
16 z-index: 1;
17 }
18
19 .mxch-license-badge {
20 display: inline-flex;
21 align-items: center;
22 gap: 6px;
23 padding: 4px 10px;
24 border-radius: 20px;
25 font-size: 11px;
26 font-weight: 600;
27 text-transform: uppercase;
28 letter-spacing: 0.5px;
29 }
30
31 .mxch-license-badge.active {
32 background: rgba(16, 185, 129, 0.2);
33 color: #10b981;
34 }
35
36 .mxch-license-badge.active::before {
37 content: '';
38 width: 6px;
39 height: 6px;
40 border-radius: 50%;
41 background: #10b981;
42 }
43
44 .mxch-license-badge.inactive {
45 background: rgba(148, 163, 184, 0.2);
46 color: #94a3b8;
47 }
48
49 .mxch-license-badge.inactive::before {
50 content: '';
51 width: 6px;
52 height: 6px;
53 border-radius: 50%;
54 background: #94a3b8;
55 }
56
57 /* ==========================================================================
58 Extensions Section in Sidebar
59 ========================================================================== */
60 .mxch-extensions-section {
61 flex: 1;
62 overflow-y: auto;
63 }
64
65 .mxch-nav-section-count {
66 margin-left: auto;
67 background: var(--mxch-primary);
68 color: white;
69 padding: 2px 8px;
70 border-radius: 10px;
71 font-size: 10px;
72 font-weight: 600;
73 }
74
75 .mxch-addon-status-dot {
76 width: 8px;
77 height: 8px;
78 border-radius: 50%;
79 flex-shrink: 0;
80 flex-grow: 0; /* Prevent dot from expanding in flex containers */
81 flex-basis: 8px; /* Fixed size basis */
82 }
83
84 .mxch-addon-status-dot.active {
85 background: var(--mxch-success);
86 box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
87 }
88
89 .mxch-addon-status-dot.inactive {
90 background: var(--mxch-warning);
91 }
92
93 .mxch-addon-status-dot.not-installed {
94 background: var(--mxch-sidebar-text);
95 opacity: 0.4;
96 }
97
98 /* ==========================================================================
99 Main Content - License Management Card
100 ========================================================================== */
101 .mxch-license-mgmt-card .mxch-card-header {
102 display: flex;
103 align-items: center;
104 justify-content: space-between;
105 }
106
107 .mxch-license-main-badge {
108 padding: 6px 14px;
109 border-radius: 20px;
110 font-size: 12px;
111 font-weight: 600;
112 text-transform: uppercase;
113 letter-spacing: 0.5px;
114 }
115
116 .mxch-license-main-badge.active {
117 background: #ecfdf5;
118 color: #059669;
119 }
120
121 .mxch-license-main-badge.inactive {
122 background: #f1f5f9;
123 color: #64748b;
124 }
125
126 .mxch-license-info-grid {
127 display: grid;
128 gap: var(--mxch-spacing-md);
129 margin-bottom: var(--mxch-spacing-lg);
130 }
131
132 .mxch-license-info-item {
133 display: flex;
134 flex-direction: column;
135 gap: 4px;
136 }
137
138 .mxch-license-info-label {
139 font-size: 12px;
140 font-weight: 600;
141 color: var(--mxch-text-secondary);
142 text-transform: uppercase;
143 letter-spacing: 0.5px;
144 }
145
146 .mxch-license-info-value {
147 font-size: 14px;
148 color: var(--mxch-text-primary);
149 display: flex;
150 align-items: center;
151 gap: var(--mxch-spacing-sm);
152 flex-wrap: wrap;
153 }
154
155 .mxch-domain-linked {
156 display: inline-flex;
157 align-items: center;
158 gap: 4px;
159 color: var(--mxch-success);
160 font-size: 12px;
161 font-weight: 500;
162 }
163
164 .mxch-link-domain-btn {
165 padding: 4px 10px;
166 background: #f0f9ff;
167 border: 1px solid #bae6fd;
168 border-radius: var(--mxch-radius-sm);
169 color: #0369a1;
170 font-size: 12px;
171 font-weight: 500;
172 cursor: pointer;
173 transition: all var(--mxch-transition-fast);
174 }
175
176 .mxch-link-domain-btn:hover {
177 background: #e0f2fe;
178 }
179
180 /* Domain check row + the Check-license-now feedback (plan c93ede). The pill is
181 the shell's status pill; the sentence sits beside it in the secondary tone. */
182 .mxch-license-check-sentence {
183 font-size: 13px;
184 color: var(--mxch-text-secondary);
185 line-height: 1.5;
186 flex: 1 1 240px;
187 }
188
189 .mxch-license-footer-actions .mxchat-license-check-msg,
190 .mxch-license-check-panel .mxchat-license-check-msg {
191 font-size: 13px;
192 color: var(--mxch-text-secondary);
193 }
194
195 .mxchat-license-check-msg.is-error {
196 color: var(--mxch-error);
197 }
198
199 .mxch-license-check-panel-body p {
200 margin: var(--mxch-spacing-xs) 0 var(--mxch-spacing-sm);
201 }
202
203 .mxch-license-check-panel-actions {
204 display: flex;
205 align-items: center;
206 gap: var(--mxch-spacing-sm);
207 flex-wrap: wrap;
208 }
209
210 .mxch-license-key-code {
211 background: #f1f5f9;
212 padding: 6px 12px;
213 border-radius: var(--mxch-radius-sm);
214 font-family: monospace;
215 font-size: 13px;
216 word-break: break-all;
217 }
218
219 .mxch-license-footer-actions {
220 display: flex;
221 align-items: center;
222 gap: var(--mxch-spacing-md);
223 flex-wrap: wrap;
224 padding-top: var(--mxch-spacing-md);
225 border-top: 1px solid var(--mxch-card-border);
226 }
227
228 .mxch-btn-danger {
229 background: #fef2f2;
230 color: #dc2626;
231 border: 1px solid #fecaca;
232 }
233
234 .mxch-btn-danger:hover {
235 background: #fee2e2;
236 border-color: #fca5a5;
237 }
238
239 /* Activation Form */
240 .mxch-activation-form {
241 max-width: 600px;
242 }
243
244 .mxch-form-row {
245 display: grid;
246 grid-template-columns: 1fr 1fr;
247 gap: var(--mxch-spacing-md);
248 margin-bottom: var(--mxch-spacing-lg);
249 }
250
251 .mxch-form-actions {
252 display: flex;
253 align-items: center;
254 gap: var(--mxch-spacing-md);
255 margin-bottom: var(--mxch-spacing-sm);
256 }
257
258 .mxch-spinner {
259 width: 20px;
260 height: 20px;
261 border: 2px solid #e2e8f0;
262 border-top-color: var(--mxch-primary);
263 border-radius: 50%;
264 animation: mxcSpin 0.6s linear infinite;
265 }
266
267 @keyframes mxcSpin {
268 to { transform: rotate(360deg); }
269 }
270
271 /* ==========================================================================
272 Extensions Overview Grid
273 ========================================================================== */
274 .mxch-mt-xl {
275 margin-top: var(--mxch-spacing-xl);
276 }
277
278 .mxch-h2 {
279 font-size: 20px;
280 }
281
282 .mxch-extensions-grid {
283 display: grid;
284 grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
285 gap: var(--mxch-spacing-lg);
286 }
287
288 .mxch-extension-card {
289 background: var(--mxch-card-bg);
290 border: 1px solid var(--mxch-card-border);
291 border-radius: var(--mxch-radius-lg);
292 padding: var(--mxch-spacing-lg);
293 transition: all var(--mxch-transition);
294 cursor: pointer;
295 position: relative;
296 overflow: hidden;
297 }
298
299 .mxch-extension-card::after {
300 content: '';
301 position: absolute;
302 bottom: 0;
303 left: 0;
304 width: 100%;
305 height: 3px;
306 background: linear-gradient(135deg, var(--card-accent, #fa73e6), #7873f5);
307 opacity: 0;
308 transition: opacity var(--mxch-transition-fast);
309 }
310
311 .mxch-extension-card:hover {
312 box-shadow: var(--mxch-card-shadow-hover);
313 transform: translateY(-2px);
314 }
315
316 .mxch-extension-card:hover::after {
317 opacity: 1;
318 }
319
320 .mxch-extension-card-header {
321 display: flex;
322 align-items: flex-start;
323 justify-content: space-between;
324 gap: var(--mxch-spacing-sm);
325 margin-bottom: var(--mxch-spacing-sm);
326 }
327
328 .mxch-extension-title {
329 font-size: 16px;
330 font-weight: 600;
331 color: var(--mxch-text-primary);
332 margin: 0;
333 }
334
335 .mxch-extension-status {
336 padding: 3px 8px;
337 border-radius: 12px;
338 font-size: 10px;
339 font-weight: 600;
340 text-transform: uppercase;
341 letter-spacing: 0.3px;
342 flex-shrink: 0;
343 }
344
345 .mxch-extension-status.active {
346 background: #ecfdf5;
347 color: #059669;
348 }
349
350 .mxch-extension-status.inactive {
351 background: #fffbeb;
352 color: #d97706;
353 }
354
355 .mxch-extension-status.not-installed {
356 background: #f1f5f9;
357 color: #64748b;
358 }
359
360 .mxch-extension-desc {
361 font-size: 13px;
362 color: var(--mxch-text-secondary);
363 line-height: 1.6;
364 margin: 0 0 var(--mxch-spacing-md) 0;
365 display: -webkit-box;
366 -webkit-line-clamp: 3;
367 -webkit-box-orient: vertical;
368 overflow: hidden;
369 }
370
371 .mxch-extension-card-footer {
372 display: flex;
373 justify-content: space-between;
374 align-items: center;
375 gap: var(--mxch-spacing-sm);
376 }
377
378 /* ==========================================================================
379 Addon Detail View - Hero Style Layout
380 ========================================================================== */
381 .mxch-addon-detail {
382 animation: mxcFadeIn 0.2s ease;
383 }
384
385 /* Page Header with Back Link */
386 .mxch-addon-page-header {
387 margin-bottom: var(--mxch-spacing-lg);
388 }
389
390 .mxch-back-link {
391 display: inline-flex;
392 align-items: center;
393 gap: 6px;
394 padding: 0;
395 background: none;
396 border: none;
397 color: var(--mxch-text-secondary);
398 font-size: 14px;
399 font-weight: 500;
400 cursor: pointer;
401 transition: color var(--mxch-transition-fast);
402 }
403
404 .mxch-back-link:hover {
405 color: var(--mxch-primary);
406 }
407
408 .mxch-back-link svg {
409 transition: transform var(--mxch-transition-fast);
410 }
411
412 .mxch-back-link:hover svg {
413 transform: translateX(-3px);
414 }
415
416 /* Hero Section - Two Column Layout */
417 .mxch-addon-hero-section {
418 display: grid;
419 grid-template-columns: 1fr 1fr;
420 gap: var(--mxch-spacing-xl);
421 align-items: center;
422 min-height: 400px;
423 }
424
425 /* Left Column - Content */
426 .mxch-addon-hero-content {
427 max-width: 520px;
428 }
429
430 .mxch-addon-hero-title {
431 font-size: 36px;
432 font-weight: 700;
433 color: var(--mxch-text-primary);
434 margin: 0 0 var(--mxch-spacing-md) 0;
435 line-height: 1.2;
436 }
437
438 .mxch-addon-hero-desc {
439 font-size: 16px;
440 line-height: 1.7;
441 color: var(--mxch-text-secondary);
442 margin: 0 0 var(--mxch-spacing-lg) 0;
443 }
444
445 /* Feature Highlights */
446 .mxch-addon-hero-features {
447 display: flex;
448 flex-wrap: wrap;
449 gap: var(--mxch-spacing-md) var(--mxch-spacing-xl);
450 margin-bottom: var(--mxch-spacing-xl);
451 }
452
453 .mxch-addon-hero-feature {
454 display: flex;
455 align-items: center;
456 gap: 8px;
457 font-size: 14px;
458 color: var(--mxch-text-primary);
459 }
460
461 .mxch-addon-hero-feature svg {
462 color: #10b981;
463 flex-shrink: 0;
464 }
465
466 /* Action Buttons */
467 .mxch-addon-hero-actions {
468 display: flex;
469 gap: var(--mxch-spacing-md);
470 flex-wrap: wrap;
471 }
472
473 /* Outline Button Style */
474 .mxch-btn-outline {
475 background: transparent;
476 color: var(--mxch-text-primary);
477 border: 1px solid var(--mxch-card-border);
478 }
479
480 .mxch-btn-outline:hover {
481 border-color: var(--mxch-primary);
482 color: var(--mxch-primary);
483 background: rgba(120, 115, 245, 0.05);
484 }
485
486 /* Right Column - Feature Showcase */
487 .mxch-addon-hero-image {
488 display: flex;
489 align-items: center;
490 justify-content: center;
491 }
492
493 /* ==========================================================================
494 Mobile Responsiveness
495 ========================================================================== */
496
497 /* Mobile license status badge */
498 .mxch-mobile-license-status {
499 padding: 0 20px 12px;
500 }
501
502 @media screen and (max-width: 1100px) {
503 /* Stack hero layout on medium screens */
504 .mxch-addon-hero-section {
505 grid-template-columns: 1fr;
506 gap: var(--mxch-spacing-xl);
507 min-height: auto;
508 }
509
510 .mxch-addon-hero-content {
511 max-width: none;
512 order: 1;
513 }
514
515 .mxch-addon-hero-image {
516 order: 2;
517 max-width: 500px;
518 margin: 0 auto;
519 }
520 }
521
522 @media screen and (max-width: 960px) {
523 .mxch-form-row {
524 grid-template-columns: 1fr;
525 }
526
527 .mxch-extensions-grid {
528 grid-template-columns: 1fr;
529 }
530
531 .mxch-license-footer-actions {
532 flex-direction: column;
533 align-items: stretch;
534 }
535
536 .mxch-license-footer-actions .mxch-btn {
537 justify-content: center;
538 }
539
540 /* Hero title adjustments */
541 .mxch-addon-hero-title {
542 font-size: 28px;
543 }
544
545 .mxch-addon-hero-desc {
546 font-size: 15px;
547 }
548
549 .mxch-addon-hero-features {
550 gap: var(--mxch-spacing-sm) var(--mxch-spacing-lg);
551 }
552 }
553
554 @media screen and (max-width: 600px) {
555 .mxch-addon-hero-title {
556 font-size: 24px;
557 }
558
559 .mxch-addon-hero-desc {
560 font-size: 14px;
561 }
562
563 .mxch-addon-hero-features {
564 flex-direction: column;
565 gap: var(--mxch-spacing-sm);
566 }
567
568 .mxch-addon-hero-actions {
569 flex-direction: column;
570 }
571
572 .mxch-addon-hero-actions .mxch-btn {
573 width: 100%;
574 justify-content: center;
575 }
576
577 .mxch-extension-card-header {
578 flex-direction: column;
579 gap: var(--mxch-spacing-xs);
580 }
581
582 .mxch-addon-hero-image {
583 max-width: 100%;
584 }
585 }
586
587 /* ==========================================================================
588 Mobile Detail Panel (Slide Up)
589 ========================================================================== */
590 @media screen and (max-width: 782px) {
591 .mxch-addon-detail.mobile-active {
592 position: fixed;
593 top: 46px;
594 left: 0;
595 right: 0;
596 bottom: 0;
597 background: var(--mxch-content-bg);
598 z-index: 1000;
599 overflow-y: auto;
600 padding: var(--mxch-spacing-md);
601 max-width: none;
602 }
603
604 body.mxch-mobile-panel-open {
605 overflow: hidden;
606 }
607 }
608
609 /* ==========================================================================
610 Feature Showcase (no-image addon detail visual)
611 ========================================================================== */
612 .mxch-addon-feature-showcase {
613 display: grid;
614 grid-template-columns: 1fr 1fr;
615 gap: 16px;
616 width: 100%;
617 padding: 32px;
618 background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 50%, #f5f3ff 100%);
619 border-radius: var(--mxch-radius-lg);
620 border: 1px solid rgba(99, 102, 241, 0.12);
621 }
622
623 .mxch-addon-showcase-item {
624 display: flex;
625 align-items: flex-start;
626 gap: 12px;
627 padding: 20px;
628 background: #fff;
629 border-radius: 12px;
630 border: 1px solid rgba(99, 102, 241, 0.08);
631 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
632 transition: all 0.2s ease;
633 }
634
635 .mxch-addon-showcase-item:hover {
636 box-shadow: 0 4px 16px rgba(99, 102, 241, 0.12);
637 border-color: rgba(99, 102, 241, 0.2);
638 transform: translateY(-2px);
639 }
640
641 .mxch-addon-showcase-icon {
642 flex-shrink: 0;
643 width: 40px;
644 height: 40px;
645 display: flex;
646 align-items: center;
647 justify-content: center;
648 border-radius: 10px;
649 background: var(--showcase-accent, #6366f1);
650 background: linear-gradient(135deg, var(--showcase-accent, #6366f1), #818cf8);
651 color: #fff;
652 }
653
654 .mxch-addon-showcase-icon svg {
655 stroke: #fff;
656 }
657
658 .mxch-addon-showcase-text {
659 display: flex;
660 flex-direction: column;
661 gap: 2px;
662 min-width: 0;
663 }
664
665 .mxch-addon-showcase-text strong {
666 font-size: 13.5px;
667 font-weight: 600;
668 color: var(--mxch-text-primary, #1a1a2e);
669 line-height: 1.3;
670 }
671
672 .mxch-addon-showcase-text span {
673 font-size: 12.5px;
674 color: var(--mxch-text-secondary, #64748b);
675 line-height: 1.4;
676 }
677
678 @media screen and (max-width: 1100px) {
679 .mxch-addon-feature-showcase {
680 max-width: 500px;
681 margin: 0 auto;
682 }
683 }
684
685 @media screen and (max-width: 600px) {
686 .mxch-addon-feature-showcase {
687 grid-template-columns: 1fr;
688 padding: 20px;
689 }
690 }
691