PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 3.2.19
MxChat – AI Chatbot & Content Generation for WordPress v3.2.19
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 / admin-pro.css

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

661 lines 15.0 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 .mxch-license-key-code {
181 background: #f1f5f9;
182 padding: 6px 12px;
183 border-radius: var(--mxch-radius-sm);
184 font-family: monospace;
185 font-size: 13px;
186 word-break: break-all;
187 }
188
189 .mxch-license-footer-actions {
190 display: flex;
191 align-items: center;
192 gap: var(--mxch-spacing-md);
193 flex-wrap: wrap;
194 padding-top: var(--mxch-spacing-md);
195 border-top: 1px solid var(--mxch-card-border);
196 }
197
198 .mxch-btn-danger {
199 background: #fef2f2;
200 color: #dc2626;
201 border: 1px solid #fecaca;
202 }
203
204 .mxch-btn-danger:hover {
205 background: #fee2e2;
206 border-color: #fca5a5;
207 }
208
209 /* Activation Form */
210 .mxch-activation-form {
211 max-width: 600px;
212 }
213
214 .mxch-form-row {
215 display: grid;
216 grid-template-columns: 1fr 1fr;
217 gap: var(--mxch-spacing-md);
218 margin-bottom: var(--mxch-spacing-lg);
219 }
220
221 .mxch-form-actions {
222 display: flex;
223 align-items: center;
224 gap: var(--mxch-spacing-md);
225 margin-bottom: var(--mxch-spacing-sm);
226 }
227
228 .mxch-spinner {
229 width: 20px;
230 height: 20px;
231 border: 2px solid #e2e8f0;
232 border-top-color: var(--mxch-primary);
233 border-radius: 50%;
234 animation: mxcSpin 0.6s linear infinite;
235 }
236
237 @keyframes mxcSpin {
238 to { transform: rotate(360deg); }
239 }
240
241 /* ==========================================================================
242 Extensions Overview Grid
243 ========================================================================== */
244 .mxch-mt-xl {
245 margin-top: var(--mxch-spacing-xl);
246 }
247
248 .mxch-h2 {
249 font-size: 20px;
250 }
251
252 .mxch-extensions-grid {
253 display: grid;
254 grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
255 gap: var(--mxch-spacing-lg);
256 }
257
258 .mxch-extension-card {
259 background: var(--mxch-card-bg);
260 border: 1px solid var(--mxch-card-border);
261 border-radius: var(--mxch-radius-lg);
262 padding: var(--mxch-spacing-lg);
263 transition: all var(--mxch-transition);
264 cursor: pointer;
265 position: relative;
266 overflow: hidden;
267 }
268
269 .mxch-extension-card::after {
270 content: '';
271 position: absolute;
272 bottom: 0;
273 left: 0;
274 width: 100%;
275 height: 3px;
276 background: linear-gradient(135deg, var(--card-accent, #fa73e6), #7873f5);
277 opacity: 0;
278 transition: opacity var(--mxch-transition-fast);
279 }
280
281 .mxch-extension-card:hover {
282 box-shadow: var(--mxch-card-shadow-hover);
283 transform: translateY(-2px);
284 }
285
286 .mxch-extension-card:hover::after {
287 opacity: 1;
288 }
289
290 .mxch-extension-card-header {
291 display: flex;
292 align-items: flex-start;
293 justify-content: space-between;
294 gap: var(--mxch-spacing-sm);
295 margin-bottom: var(--mxch-spacing-sm);
296 }
297
298 .mxch-extension-title {
299 font-size: 16px;
300 font-weight: 600;
301 color: var(--mxch-text-primary);
302 margin: 0;
303 }
304
305 .mxch-extension-status {
306 padding: 3px 8px;
307 border-radius: 12px;
308 font-size: 10px;
309 font-weight: 600;
310 text-transform: uppercase;
311 letter-spacing: 0.3px;
312 flex-shrink: 0;
313 }
314
315 .mxch-extension-status.active {
316 background: #ecfdf5;
317 color: #059669;
318 }
319
320 .mxch-extension-status.inactive {
321 background: #fffbeb;
322 color: #d97706;
323 }
324
325 .mxch-extension-status.not-installed {
326 background: #f1f5f9;
327 color: #64748b;
328 }
329
330 .mxch-extension-desc {
331 font-size: 13px;
332 color: var(--mxch-text-secondary);
333 line-height: 1.6;
334 margin: 0 0 var(--mxch-spacing-md) 0;
335 display: -webkit-box;
336 -webkit-line-clamp: 3;
337 -webkit-box-orient: vertical;
338 overflow: hidden;
339 }
340
341 .mxch-extension-card-footer {
342 display: flex;
343 justify-content: space-between;
344 align-items: center;
345 gap: var(--mxch-spacing-sm);
346 }
347
348 /* ==========================================================================
349 Addon Detail View - Hero Style Layout
350 ========================================================================== */
351 .mxch-addon-detail {
352 animation: mxcFadeIn 0.2s ease;
353 }
354
355 /* Page Header with Back Link */
356 .mxch-addon-page-header {
357 margin-bottom: var(--mxch-spacing-lg);
358 }
359
360 .mxch-back-link {
361 display: inline-flex;
362 align-items: center;
363 gap: 6px;
364 padding: 0;
365 background: none;
366 border: none;
367 color: var(--mxch-text-secondary);
368 font-size: 14px;
369 font-weight: 500;
370 cursor: pointer;
371 transition: color var(--mxch-transition-fast);
372 }
373
374 .mxch-back-link:hover {
375 color: var(--mxch-primary);
376 }
377
378 .mxch-back-link svg {
379 transition: transform var(--mxch-transition-fast);
380 }
381
382 .mxch-back-link:hover svg {
383 transform: translateX(-3px);
384 }
385
386 /* Hero Section - Two Column Layout */
387 .mxch-addon-hero-section {
388 display: grid;
389 grid-template-columns: 1fr 1fr;
390 gap: var(--mxch-spacing-xl);
391 align-items: center;
392 min-height: 400px;
393 }
394
395 /* Left Column - Content */
396 .mxch-addon-hero-content {
397 max-width: 520px;
398 }
399
400 .mxch-addon-hero-title {
401 font-size: 36px;
402 font-weight: 700;
403 color: var(--mxch-text-primary);
404 margin: 0 0 var(--mxch-spacing-md) 0;
405 line-height: 1.2;
406 }
407
408 .mxch-addon-hero-desc {
409 font-size: 16px;
410 line-height: 1.7;
411 color: var(--mxch-text-secondary);
412 margin: 0 0 var(--mxch-spacing-lg) 0;
413 }
414
415 /* Feature Highlights */
416 .mxch-addon-hero-features {
417 display: flex;
418 flex-wrap: wrap;
419 gap: var(--mxch-spacing-md) var(--mxch-spacing-xl);
420 margin-bottom: var(--mxch-spacing-xl);
421 }
422
423 .mxch-addon-hero-feature {
424 display: flex;
425 align-items: center;
426 gap: 8px;
427 font-size: 14px;
428 color: var(--mxch-text-primary);
429 }
430
431 .mxch-addon-hero-feature svg {
432 color: #10b981;
433 flex-shrink: 0;
434 }
435
436 /* Action Buttons */
437 .mxch-addon-hero-actions {
438 display: flex;
439 gap: var(--mxch-spacing-md);
440 flex-wrap: wrap;
441 }
442
443 /* Outline Button Style */
444 .mxch-btn-outline {
445 background: transparent;
446 color: var(--mxch-text-primary);
447 border: 1px solid var(--mxch-card-border);
448 }
449
450 .mxch-btn-outline:hover {
451 border-color: var(--mxch-primary);
452 color: var(--mxch-primary);
453 background: rgba(120, 115, 245, 0.05);
454 }
455
456 /* Right Column - Feature Showcase */
457 .mxch-addon-hero-image {
458 display: flex;
459 align-items: center;
460 justify-content: center;
461 }
462
463 /* ==========================================================================
464 Mobile Responsiveness
465 ========================================================================== */
466
467 /* Mobile license status badge */
468 .mxch-mobile-license-status {
469 padding: 0 20px 12px;
470 }
471
472 @media screen and (max-width: 1100px) {
473 /* Stack hero layout on medium screens */
474 .mxch-addon-hero-section {
475 grid-template-columns: 1fr;
476 gap: var(--mxch-spacing-xl);
477 min-height: auto;
478 }
479
480 .mxch-addon-hero-content {
481 max-width: none;
482 order: 1;
483 }
484
485 .mxch-addon-hero-image {
486 order: 2;
487 max-width: 500px;
488 margin: 0 auto;
489 }
490 }
491
492 @media screen and (max-width: 960px) {
493 .mxch-form-row {
494 grid-template-columns: 1fr;
495 }
496
497 .mxch-extensions-grid {
498 grid-template-columns: 1fr;
499 }
500
501 .mxch-license-footer-actions {
502 flex-direction: column;
503 align-items: stretch;
504 }
505
506 .mxch-license-footer-actions .mxch-btn {
507 justify-content: center;
508 }
509
510 /* Hero title adjustments */
511 .mxch-addon-hero-title {
512 font-size: 28px;
513 }
514
515 .mxch-addon-hero-desc {
516 font-size: 15px;
517 }
518
519 .mxch-addon-hero-features {
520 gap: var(--mxch-spacing-sm) var(--mxch-spacing-lg);
521 }
522 }
523
524 @media screen and (max-width: 600px) {
525 .mxch-addon-hero-title {
526 font-size: 24px;
527 }
528
529 .mxch-addon-hero-desc {
530 font-size: 14px;
531 }
532
533 .mxch-addon-hero-features {
534 flex-direction: column;
535 gap: var(--mxch-spacing-sm);
536 }
537
538 .mxch-addon-hero-actions {
539 flex-direction: column;
540 }
541
542 .mxch-addon-hero-actions .mxch-btn {
543 width: 100%;
544 justify-content: center;
545 }
546
547 .mxch-extension-card-header {
548 flex-direction: column;
549 gap: var(--mxch-spacing-xs);
550 }
551
552 .mxch-addon-hero-image {
553 max-width: 100%;
554 }
555 }
556
557 /* ==========================================================================
558 Mobile Detail Panel (Slide Up)
559 ========================================================================== */
560 @media screen and (max-width: 782px) {
561 .mxch-addon-detail.mobile-active {
562 position: fixed;
563 top: 46px;
564 left: 0;
565 right: 0;
566 bottom: 0;
567 background: var(--mxch-content-bg);
568 z-index: 1000;
569 overflow-y: auto;
570 padding: var(--mxch-spacing-md);
571 max-width: none;
572 }
573
574 body.mxch-mobile-panel-open {
575 overflow: hidden;
576 }
577 }
578
579 /* ==========================================================================
580 Feature Showcase (no-image addon detail visual)
581 ========================================================================== */
582 .mxch-addon-feature-showcase {
583 display: grid;
584 grid-template-columns: 1fr 1fr;
585 gap: 16px;
586 width: 100%;
587 padding: 32px;
588 background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 50%, #f5f3ff 100%);
589 border-radius: var(--mxch-radius-lg);
590 border: 1px solid rgba(99, 102, 241, 0.12);
591 }
592
593 .mxch-addon-showcase-item {
594 display: flex;
595 align-items: flex-start;
596 gap: 12px;
597 padding: 20px;
598 background: #fff;
599 border-radius: 12px;
600 border: 1px solid rgba(99, 102, 241, 0.08);
601 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
602 transition: all 0.2s ease;
603 }
604
605 .mxch-addon-showcase-item:hover {
606 box-shadow: 0 4px 16px rgba(99, 102, 241, 0.12);
607 border-color: rgba(99, 102, 241, 0.2);
608 transform: translateY(-2px);
609 }
610
611 .mxch-addon-showcase-icon {
612 flex-shrink: 0;
613 width: 40px;
614 height: 40px;
615 display: flex;
616 align-items: center;
617 justify-content: center;
618 border-radius: 10px;
619 background: var(--showcase-accent, #6366f1);
620 background: linear-gradient(135deg, var(--showcase-accent, #6366f1), #818cf8);
621 color: #fff;
622 }
623
624 .mxch-addon-showcase-icon svg {
625 stroke: #fff;
626 }
627
628 .mxch-addon-showcase-text {
629 display: flex;
630 flex-direction: column;
631 gap: 2px;
632 min-width: 0;
633 }
634
635 .mxch-addon-showcase-text strong {
636 font-size: 13.5px;
637 font-weight: 600;
638 color: var(--mxch-text-primary, #1a1a2e);
639 line-height: 1.3;
640 }
641
642 .mxch-addon-showcase-text span {
643 font-size: 12.5px;
644 color: var(--mxch-text-secondary, #64748b);
645 line-height: 1.4;
646 }
647
648 @media screen and (max-width: 1100px) {
649 .mxch-addon-feature-showcase {
650 max-width: 500px;
651 margin: 0 auto;
652 }
653 }
654
655 @media screen and (max-width: 600px) {
656 .mxch-addon-feature-showcase {
657 grid-template-columns: 1fr;
658 padding: 20px;
659 }
660 }
661