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

597 lines 13.4 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 - Screenshot */
457 .mxch-addon-hero-image {
458 display: flex;
459 align-items: center;
460 justify-content: center;
461 }
462
463 .mxch-addon-hero-image img {
464 max-width: 100%;
465 height: auto;
466 border-radius: var(--mxch-radius-lg);
467 box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
468 }
469
470 /* Image Placeholder (when no screenshot) */
471 .mxch-addon-image-placeholder {
472 width: 100%;
473 aspect-ratio: 16/10;
474 background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
475 border-radius: var(--mxch-radius-lg);
476 display: flex;
477 align-items: center;
478 justify-content: center;
479 color: #94a3b8;
480 }
481
482 /* ==========================================================================
483 Mobile Responsiveness
484 ========================================================================== */
485
486 /* Mobile license status badge */
487 .mxch-mobile-license-status {
488 padding: 0 20px 12px;
489 }
490
491 @media screen and (max-width: 1100px) {
492 /* Stack hero layout on medium screens */
493 .mxch-addon-hero-section {
494 grid-template-columns: 1fr;
495 gap: var(--mxch-spacing-xl);
496 min-height: auto;
497 }
498
499 .mxch-addon-hero-content {
500 max-width: none;
501 order: 1;
502 }
503
504 .mxch-addon-hero-image {
505 order: 2;
506 max-width: 500px;
507 margin: 0 auto;
508 }
509 }
510
511 @media screen and (max-width: 960px) {
512 .mxch-form-row {
513 grid-template-columns: 1fr;
514 }
515
516 .mxch-extensions-grid {
517 grid-template-columns: 1fr;
518 }
519
520 .mxch-license-footer-actions {
521 flex-direction: column;
522 align-items: stretch;
523 }
524
525 .mxch-license-footer-actions .mxch-btn {
526 justify-content: center;
527 }
528
529 /* Hero title adjustments */
530 .mxch-addon-hero-title {
531 font-size: 28px;
532 }
533
534 .mxch-addon-hero-desc {
535 font-size: 15px;
536 }
537
538 .mxch-addon-hero-features {
539 gap: var(--mxch-spacing-sm) var(--mxch-spacing-lg);
540 }
541 }
542
543 @media screen and (max-width: 600px) {
544 .mxch-addon-hero-title {
545 font-size: 24px;
546 }
547
548 .mxch-addon-hero-desc {
549 font-size: 14px;
550 }
551
552 .mxch-addon-hero-features {
553 flex-direction: column;
554 gap: var(--mxch-spacing-sm);
555 }
556
557 .mxch-addon-hero-actions {
558 flex-direction: column;
559 }
560
561 .mxch-addon-hero-actions .mxch-btn {
562 width: 100%;
563 justify-content: center;
564 }
565
566 .mxch-extension-card-header {
567 flex-direction: column;
568 gap: var(--mxch-spacing-xs);
569 }
570
571 .mxch-addon-hero-image {
572 max-width: 100%;
573 }
574 }
575
576 /* ==========================================================================
577 Mobile Detail Panel (Slide Up)
578 ========================================================================== */
579 @media screen and (max-width: 782px) {
580 .mxch-addon-detail.mobile-active {
581 position: fixed;
582 top: 46px;
583 left: 0;
584 right: 0;
585 bottom: 0;
586 background: var(--mxch-content-bg);
587 z-index: 1000;
588 overflow-y: auto;
589 padding: var(--mxch-spacing-md);
590 max-width: none;
591 }
592
593 body.mxch-mobile-panel-open {
594 overflow: hidden;
595 }
596 }
597