PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 1.3
MxChat – AI Chatbot & Content Generation for WordPress v1.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 / admin-style.css

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

632 lines 13.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .mxchat-product-image, .mxchat-generated-image, .mxchat-image-thumbnail {
2 max-width: 100%;
3 }
4 .description {
5 margin-top: -10px;
6 }
7 .mxchat-search-group {
8 margin-top: 20px;
9 }
10
11 /* General Styles */
12 .mxchat-admin body, .mxchat-admin html {
13 font-family: Arial, sans-serif;
14 background-color: #fff;
15 color: #212121;
16 margin: 0;
17 padding: 0;
18 }
19
20 /* Main Wrapper */
21 .mxchat-admin .wrap {
22 max-width: 1200px;
23 margin: 0 auto;
24 padding: 20px;
25 background: #f9f9f9;
26 box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
27 }
28
29 /* Header */
30 .mxchat-admin .wrap h2 {
31 border-bottom: 2px solid #ddd;
32 padding-bottom: 10px;
33 margin-bottom: 20px;
34 color: #212121;
35 }
36
37 .wrap.mxchat-admin .admin-title {
38 text-shadow: 0 2px 0 #c6c6c6;
39 font-weight: bold;
40 letter-spacing: 5px;
41 color: #212121;
42 font-size: 2.5rem;
43 }
44
45 .mxchat-admin .admin-emphasis {
46 color: white;
47 text-shadow: 2px 1px 0 #000, -1px -1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, 0px 0 0 #000, 4px 0 0 #000, 0 0px 0 #000, 0 0px 0 #000;
48 font-weight: bold;
49 letter-spacing: 5px;
50 font-size: 2.5rem;
51 }
52 /* Grid Layout */
53 .mxchat-admin .mxchat-grid-container {
54 display: grid;
55 grid-template-columns: repeat(2, 1fr);
56 grid-gap: 20px;
57 }
58
59 .mxchat-admin .mxchat-grid-item {
60 background: #fff;
61 border: 1px solid #ddd;
62 box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
63 padding: 20px;
64 }
65
66 /* Full Width for Submit Content */
67 .mxchat-admin .mxchat-grid-item.full-width {
68 grid-column: span 2;
69 }
70
71 /* Form Styles */
72 .mxchat-admin .mxchat-form-group {
73 display: flex;
74 flex-direction: column;
75 margin-bottom: 20px;
76 }
77
78 .mxchat-admin .mxchat-form-group label {
79 margin-bottom: 10px;
80 font-weight: bold;
81 color: #212121;
82 }
83
84 .mxchat-admin .mxchat-form-group input[type="url"],
85 .mxchat-admin .mxchat-form-group input[type="text"],
86 .mxchat-admin .mxchat-form-group textarea {
87 padding: 10px;
88 border: 1px solid #ddd;
89 border-radius: 4px;
90 font-size: 1rem;
91 width: 100%;
92 box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
93 }
94
95 /* Larger Textarea for Content Submission */
96 .mxchat-admin .mxchat-form-group textarea {
97 min-height: 200px;
98 }
99
100 /* Button Styles */
101 .mxchat-admin .button.button-primary {
102 color: #fff;
103 background: #212121;
104 border-radius: 20px;
105 padding: 0px 30px;
106 font-size: 1rem;
107 font-weight: 700;
108 text-decoration: none;
109 transition: all .2s;
110 display: inline-flex;
111 justify-content: center;
112 align-items: center;
113 max-width: 200px;
114 width: auto;
115 box-shadow: 4px 4px #14141499;
116 border: none;
117 cursor: pointer;
118 }
119
120 .mxchat-admin .button.button-primary:hover,
121 .mxchat-admin .button.button-primary:active {
122 background: #444;
123 }
124
125 .submit-content-button {
126 margin-top: 10px !important;
127 }
128
129 /* Search and Sitemap Group */
130 .mxchat-admin .mxchat-search-group {
131 display: flex;
132 align-items: center;
133 gap: 10px;
134 }
135
136 .mxchat-admin .mxchat-search-group input[type="text"],
137 .mxchat-admin .mxchat-search-group input[type="url"] {
138 flex-grow: 1;
139 }
140
141 .mxchat-admin .mxchat-search-group input[type="submit"] {
142 background: #212121;
143 color: #fff;
144 border-radius: 20px;
145 padding: 0px 30px;
146 font-size: 1rem;
147 font-weight: 700;
148 box-shadow: 4px 4px #14141499;
149 border: none;
150 transition: background-color .2s;
151 cursor: pointer;
152 }
153
154 .mxchat-admin .mxchat-search-group input[type="submit"]:hover {
155 background-color: #444;
156 }
157
158 /* Table Styles */
159 .mxchat-admin .wp-list-table {
160 width: 100%;
161 margin-top: 20px;
162 border-collapse: collapse;
163 background: #fff;
164 box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
165 }
166
167 .mxchat-admin .wp-list-table th,
168 .mxchat-admin .wp-list-table td {
169 padding: 15px;
170 border-bottom: 1px solid #ddd;
171 text-align: left;
172 }
173
174 .mxchat-admin .wp-list-table th {
175 background: #f0f2f5;
176 color: #212121;
177 }
178
179 .mxchat-admin .wp-list-table tr:nth-child(even) {
180 background: #f9f9f9;
181 }
182
183 .mxchat-admin .mxchat-pro-banner {
184 background-color: #fff;
185 border-left: 4px solid #212121;
186 padding: 15px;
187 margin-bottom: 20px;
188 box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
189 }
190
191 .mxchat-admin .mxchat-pro-banner p {
192 margin: 0;
193 font-size: 16px;
194 color: #212121;
195 }
196
197 .mxchat-admin .mxchat-pro-banner a {
198 color: #212121;
199 text-decoration: none;
200 font-weight: bold;
201 }
202
203 .mxchat-admin .mxchat-pro-banner a:hover {
204 text-decoration: underline;
205 }
206
207 /* Toggle Switch Styles */
208 .mxchat-admin .toggle-switch {
209 position: relative;
210 display: inline-block;
211 width: 60px;
212 height: 34px;
213 }
214
215 .mxchat-admin .toggle-switch input {
216 opacity: 0;
217 width: 0;
218 height: 0;
219 }
220
221 .mxchat-admin .slider {
222 position: absolute;
223 cursor: pointer;
224 top: 0;
225 left: 0;
226 right: 0;
227 bottom: 0;
228 background-color: #ccc;
229 transition: .4s;
230 border-radius: 34px;
231 }
232
233 .mxchat-admin .slider:before {
234 position: absolute;
235 content: "";
236 height: 26px;
237 width: 26px;
238 left: 4px;
239 bottom: 4px;
240 background-color: white;
241 transition: .4s;
242 border-radius: 50%;
243 }
244
245 .mxchat-admin input:checked + .slider {
246 background-color: #212121;
247 }
248
249 .mxchat-admin input:checked + .slider:before {
250 transform: translateX(26px);
251 }
252
253 /* Toggle Switch Label */
254 .mxchat-admin .toggle-switch-label {
255 display: flex;
256 align-items: center;
257 font-weight: 600;
258 color: #212121;
259 margin-bottom: 20px;
260 }
261
262 .mxchat-spinner {
263 border: 8px solid #f3f3f3;
264 border-top: 8px solid #333;
265 border-radius: 50%;
266 width: 30px;
267 height: 30px;
268 animation: mxchat-spin 1s linear infinite;
269 display: flex;
270 justify-content: center;
271 align-items: center;
272 }
273
274 @keyframes mxchat-spin {
275 0% { transform: rotate(0deg); }
276 100% { transform: rotate(360deg); }
277 }
278
279
280
281
282 .pro-feature-wrapper {
283 position: relative;
284 display: inline-block;
285 }
286
287 .pro-feature-wrapper.active select,
288 .pro-feature-wrapper.active textarea {
289 opacity: 1; /* Fully opaque when active */
290 }
291
292 .pro-feature-wrapper.inactive select,
293 .pro-feature-wrapper.inactive textarea {
294 opacity: 0.5; /* Grayed out when inactive */
295 }
296
297 .pro-feature-overlay {
298 position: absolute;
299 top: 0;
300 left: 0;
301 width: 100%;
302 height: 100%;
303 display: flex;
304 justify-content: center;
305 align-items: center;
306 pointer-events: none;
307 }
308
309 .pro-feature-overlay img {
310 max-width: 100px;
311 pointer-events: auto; /* Allow clicking the image */
312 }
313
314 .pro-feature-wrapper a {
315 text-decoration: none;
316 position: absolute;
317 top: 0;
318 left: 0;
319 width: 100%;
320 height: 100%;
321 z-index: 10; /* Ensure the link is above everything else */
322 }
323
324 /* Transcripts Layout */
325 #mxchat-transcripts {
326 display: flex;
327 flex-wrap: wrap;
328 gap: 20px;
329 justify-content: flex-start;
330 }
331
332 .mxchat-admin .chat-session {
333 border: 1px solid #ddd;
334 padding: 15px;
335 width: calc(33.333% - 20px);
336 box-sizing: border-box;
337 background-color: #f9f9f9;
338 display: flex;
339 flex-direction: column;
340 max-height: 500px;
341 overflow: auto;
342 }
343
344 .mxchat-admin .chat-message {
345 border-bottom: 1px solid #eee;
346 padding-bottom: 10px;
347 margin-bottom: 10px;
348 }
349
350 .mxchat-admin .chat-session h4 {
351 margin-bottom: 15px;
352 font-size: 1.1em;
353 font-weight: 700;
354 }
355
356 .mxchat-controls {
357 display: flex;
358 align-items: center;
359 margin-bottom: 15px;
360 }
361
362 .mxchat-select-all-label {
363 margin-right: 15px;
364 display: flex;
365 align-items: center;
366 }
367
368 .mxchat-select-all-label input[type="checkbox"] {
369 margin-right: 5px;
370 }
371
372 .delete-chats-button {
373 padding: 6px 12px;
374 font-size: 14px;
375 height: auto;
376 }
377
378 .mxchat-license-status.active {
379 color: green;
380 font-weight: bold;
381 }
382
383 .mxchat-license-status.inactive {
384 color: red;
385 font-weight: bold;
386 }
387 .mxchat-nav-tab-wrapper {
388 margin: 0px 0px;
389 padding: 0px 0px;
390 display: flex;
391 }
392
393 .mxchat-nav-tab {
394 font-size: 14px;
395 padding: 10px 20px;
396 margin-right: 10px;
397 background: #f1f1f1;
398 border: 1px solid #ddd;
399 border-bottom: none;
400 cursor: pointer;
401 box-shadow: none;
402 color: #333;
403 text-decoration: none;
404 }
405
406 .mxchat-nav-tab:hover, .mxchat-nav-tab:focus {
407 background: #fff;
408 color: #0073aa;
409 box-shadow: none;
410 }
411
412 .mxchat-nav-tab-active {
413 background: #fff;
414 border-bottom: 1px solid #fff;
415 color: #0073aa;
416 }
417
418 .mxchat-tab-content {
419 display: none;
420 padding: 20px;
421 background: #fff;
422 border: 1px solid #ddd;
423 }
424
425 .mxchat-tab-content.active {
426 display: block;
427 }
428
429
430 .mxchat-settings-section {
431 padding: 20px 0;
432 }
433
434 .mxchat-settings-section h2 {
435 font-size: 1.2em;
436 margin-bottom: 10px;
437 color: #333;
438 font-weight: bold;
439 }
440
441 .section-divider {
442 width: 95%;
443 height: 2px;
444 background-color: #e0e0e0;
445 margin: 20px auto;
446 border-radius: 1px;
447 }
448
449 .form-table th {
450 padding: 10px 0;
451 vertical-align: top;
452 width: 220px;
453 }
454
455 .form-table td {
456 padding: 10px 0;
457 }
458
459
460
461
462 .mxchat-table {
463 width: 100%;
464 table-layout: fixed;
465 border-collapse: collapse;
466 border: 1px solid #ccc; /* Adds a border around the table */
467 }
468
469 /* Header styling to match theme */
470 .mxchat-table th {
471 background-color: #212121; /* Dark gray/black background */
472 color: #fff; /* White text */
473 font-weight: bold;
474 padding: 10px;
475 border-bottom: 3px solid #ccc; /* Thicker divider for the header */
476 }
477
478 /* General cell styling */
479 .mxchat-table th, .mxchat-table td {
480 padding: 8px 10px;
481 text-align: left;
482 vertical-align: top; /* Aligns content to the top of the cell */
483 border-bottom: 2px solid #ddd; /* Adds prominent dividers between rows */
484 }
485
486 /* Alternate row background for better readability */
487 .mxchat-table tbody tr:nth-child(odd) {
488 background-color: #f9f9f9;
489 }
490
491 .mxchat-table tbody tr:nth-child(even) {
492 background-color: #fff;
493 }
494
495 /* ID column should be small */
496 .mxchat-table td:nth-child(1),
497 .mxchat-table th:nth-child(1) {
498 width: 15%; /* ID column */
499 text-align: center;
500 }
501
502 /* Content column should be wide */
503 .mxchat-table td:nth-child(2),
504 .mxchat-table th:nth-child(2) {
505 width: 50%; /* Content column */
506 }
507
508 /* URL column */
509 .mxchat-table td:nth-child(3),
510 .mxchat-table th:nth-child(3) {
511 width: 20%; /* URL column */
512 text-align: left;
513 overflow-x: auto; /* Allow the URL to scroll horizontally if it's too long */
514 white-space: nowrap;
515 }
516
517 /* Actions column */
518 .mxchat-table td:nth-child(4),
519 .mxchat-table th:nth-child(4) {
520 width: 15%; /* Edit/Delete column */
521 text-align: center;
522 }
523
524
525
526
527 /* Edit content textarea styling */
528 .content-edit {
529 width: 100%; /* Make textarea fill the column */
530 height: 100px; /* Adjust height as needed */
531 box-sizing: border-box; /* Ensure padding and border are included in the width/height */
532 }
533
534 /* Button styling to match theme */
535 .mxchat-table td .button {
536 display: inline-block;
537 margin-right: 5px;
538 background-color: #212121;
539 color: #fff;
540 border: none;
541 padding: 5px 10px;
542 text-decoration: none;
543 border-radius: 3px;
544 cursor: pointer;
545 box-shadow: 4px 4px #14141499;
546 }
547
548 /* Hover state */
549 .mxchat-table td .button:hover {
550 display: inline-block;
551 margin-right: 5px;
552 background-color: #444;
553 color: #fff;
554 border: none;
555 padding: 5px 10px;
556 text-decoration: none;
557 border-radius: 3px;
558 cursor: pointer;
559 box-shadow: 4px 4px #14141499;
560 }
561
562 /* Active state */
563 .mxchat-table td .button:active {
564 display: inline-block;
565 margin-right: 5px;
566 background-color: #444;
567 color: #fff;
568 border: none;
569 padding: 5px 10px;
570 text-decoration: none;
571 border-radius: 3px;
572 cursor: pointer;
573 box-shadow: 4px 4px #14141499;
574 }
575
576 /* Focus state */
577 .mxchat-table td .button:focus {
578 display: inline-block;
579 margin-right: 5px;
580 background-color: #444;
581 color: #fff;
582 border: none;
583 padding: 5px 10px;
584 text-decoration: none;
585 border-radius: 3px;
586 cursor: pointer;
587 box-shadow: 4px 4px #14141499;
588 outline: none; /* Removes default outline */
589 }
590
591
592
593 /* Responsive Design */
594 @media (max-width: 1024px) {
595 .mxchat-admin .mxchat-grid-container {
596 grid-template-columns: 1fr;
597 }
598
599 .mxchat-admin .mxchat-grid-item.full-width {
600 grid-column: span 1;
601 }
602
603 .mxchat-admin .chat-session {
604 width: calc(100% - 0px);
605 }
606
607 .mxchat-nav-tab {
608 padding: 10px 12px;
609 }
610
611 /* Search and Sitemap Group */
612 .mxchat-admin .mxchat-search-group {
613 align-items: normal;
614 flex-direction: column;
615 }
616
617 .mxchat-admin .mxchat-nav-tab-wrapper,
618 .mxchat-admin .wrap h2.mxchat-nav-tab-wrapper,
619 .mxchat-admin h1.mxchat-nav-tab-wrapper {
620 border-bottom: 0;
621 justify-content: space-evenly;
622 display: flex;
623 }
624
625 .mxchat-admin .mxchat-nav-tab-wrapper .mxchat-nav-tab {
626 margin: 0;
627 }
628
629
630 }
631
632