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

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