| 1 |
/* Core Layout */ |
| 2 |
|
| 3 |
.mxchat-wrapper, .mxchat-admin-activation { |
| 4 |
width: calc(100% + 40px); /* Add 40px to account for left and right padding */ |
| 5 |
margin: 0 -20px; /* Negative margin to counteract the padding */ |
| 6 |
padding: 0; |
| 7 |
background-color: #f8f9ff; |
| 8 |
min-height: 100vh; |
| 9 |
} |
| 10 |
|
| 11 |
/* Hero Section */ |
| 12 |
.mxchat-hero { |
| 13 |
text-align: center; |
| 14 |
padding: 3.5rem 2rem; |
| 15 |
position: relative; |
| 16 |
background: #212121; |
| 17 |
border-bottom: 4px solid transparent; |
| 18 |
border-image: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); |
| 19 |
border-image-slice: 1; |
| 20 |
} |
| 21 |
|
| 22 |
.mxchat-hero::before { |
| 23 |
content: ''; |
| 24 |
position: absolute; |
| 25 |
top: 0; |
| 26 |
left: 0; |
| 27 |
width: 100%; |
| 28 |
height: 100%; |
| 29 |
background: radial-gradient( |
| 30 |
circle at center, |
| 31 |
rgba(250, 115, 230, 0.08) 0%, |
| 32 |
rgba(120, 115, 245, 0.08) 50%, |
| 33 |
rgba(58, 201, 209, 0.08) 100% |
| 34 |
); |
| 35 |
z-index: 1; |
| 36 |
} |
| 37 |
|
| 38 |
div.mxchat-hero h1.mxchat-main-title { |
| 39 |
font-size: 3.5rem; |
| 40 |
margin: 0 0 1.5rem; |
| 41 |
line-height: 1.2; |
| 42 |
color: white; |
| 43 |
position: relative; |
| 44 |
z-index: 2; |
| 45 |
} |
| 46 |
|
| 47 |
.mxchat-gradient-text { |
| 48 |
background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); |
| 49 |
-webkit-background-clip: text; |
| 50 |
-webkit-text-fill-color: transparent; |
| 51 |
display: inline-block; |
| 52 |
font-weight: 700; |
| 53 |
} |
| 54 |
|
| 55 |
.mxchat-hero-subtitle { |
| 56 |
font-size: 1.25rem; |
| 57 |
color: rgba(255, 255, 255, 0.9); |
| 58 |
max-width: 800px; |
| 59 |
margin: 0 auto; |
| 60 |
position: relative; |
| 61 |
z-index: 2; |
| 62 |
line-height: 1.6; |
| 63 |
} |
| 64 |
|
| 65 |
/* Content Area */ |
| 66 |
.mxchat-content { |
| 67 |
padding: 2rem; |
| 68 |
max-width: 1400px; |
| 69 |
margin: 0 auto; |
| 70 |
width: 100%; |
| 71 |
box-sizing: border-box; |
| 72 |
} |
| 73 |
|
| 74 |
/* Card Styles */ |
| 75 |
.mxchat-card { |
| 76 |
background: #fff; |
| 77 |
border-radius: 16px; |
| 78 |
box-shadow: 0 4px 20px rgba(120, 115, 245, 0.08); |
| 79 |
padding: 30px; |
| 80 |
margin: 30px auto; |
| 81 |
transition: all 0.3s ease; |
| 82 |
} |
| 83 |
|
| 84 |
.mxchat-card:hover { |
| 85 |
transform: translateY(-2px); |
| 86 |
box-shadow: 0 6px 25px rgba(120, 115, 245, 0.12); |
| 87 |
} |
| 88 |
|
| 89 |
.mxchat-card h2 { |
| 90 |
margin: 0 0 1.5rem; |
| 91 |
color: #333; |
| 92 |
font-size: 1.5rem; |
| 93 |
} |
| 94 |
|
| 95 |
/* Import Methods */ |
| 96 |
.mxchat-import-methods { |
| 97 |
display: grid; |
| 98 |
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); |
| 99 |
gap: 20px; |
| 100 |
margin: 30px 0; |
| 101 |
} |
| 102 |
|
| 103 |
.mxchat-method-card { |
| 104 |
background: #f8f9ff; |
| 105 |
padding: 20px; |
| 106 |
border-radius: 10px; |
| 107 |
border: 1px solid rgba(120, 115, 245, 0.1); |
| 108 |
} |
| 109 |
|
| 110 |
.mxchat-method-card h4 { |
| 111 |
color: #333; |
| 112 |
margin: 0 0 10px; |
| 113 |
} |
| 114 |
|
| 115 |
.mxchat-method-card p { |
| 116 |
color: #666; |
| 117 |
margin: 0; |
| 118 |
font-size: 0.9rem; |
| 119 |
} |
| 120 |
|
| 121 |
/* Tabs */ |
| 122 |
.mxchat-tabs { |
| 123 |
border-bottom: 1px solid rgba(120, 115, 245, 0.1); |
| 124 |
margin-bottom: 20px; |
| 125 |
display: flex; |
| 126 |
gap: 2px; |
| 127 |
} |
| 128 |
|
| 129 |
.mxchat-tab-button { |
| 130 |
padding: 12px 24px; |
| 131 |
background: none; |
| 132 |
border: none; |
| 133 |
border-bottom: 2px solid transparent; |
| 134 |
color: #666; |
| 135 |
cursor: pointer; |
| 136 |
font-size: 14px; |
| 137 |
transition: all 0.2s ease; |
| 138 |
} |
| 139 |
|
| 140 |
.mxchat-tab-button:hover { |
| 141 |
color: #7873f5; |
| 142 |
} |
| 143 |
|
| 144 |
.mxchat-tab-button.active { |
| 145 |
color: #7873f5; |
| 146 |
border-bottom-color: #7873f5; |
| 147 |
} |
| 148 |
|
| 149 |
/* Toggle Switches */ |
| 150 |
.mxchat-toggle-group { |
| 151 |
display: flex; |
| 152 |
flex-direction: column; |
| 153 |
gap: 15px; |
| 154 |
margin: 20px 0; |
| 155 |
} |
| 156 |
|
| 157 |
.mxchat-toggle-container { |
| 158 |
display: flex; |
| 159 |
align-items: center; |
| 160 |
gap: 12px; |
| 161 |
} |
| 162 |
|
| 163 |
.mxchat-toggle-switch { |
| 164 |
position: relative; |
| 165 |
display: inline-block; |
| 166 |
width: 50px; |
| 167 |
height: 24px; |
| 168 |
} |
| 169 |
|
| 170 |
.mxchat-toggle-switch input { |
| 171 |
opacity: 0; |
| 172 |
width: 0; |
| 173 |
height: 0; |
| 174 |
} |
| 175 |
|
| 176 |
.mxchat-toggle-slider { |
| 177 |
position: absolute; |
| 178 |
cursor: pointer; |
| 179 |
top: 0; |
| 180 |
left: 0; |
| 181 |
right: 0; |
| 182 |
bottom: 0; |
| 183 |
background-color: #ccc; |
| 184 |
transition: .4s; |
| 185 |
border-radius: 34px; |
| 186 |
} |
| 187 |
|
| 188 |
.mxchat-toggle-slider:before { |
| 189 |
position: absolute; |
| 190 |
content: ""; |
| 191 |
height: 20px; |
| 192 |
width: 20px; |
| 193 |
left: 2px; |
| 194 |
bottom: 2px; |
| 195 |
background-color: white; |
| 196 |
transition: .4s; |
| 197 |
border-radius: 50%; |
| 198 |
} |
| 199 |
|
| 200 |
input:checked + .mxchat-toggle-slider { |
| 201 |
background: linear-gradient(135deg, #fa73e6, #7873f5); |
| 202 |
} |
| 203 |
|
| 204 |
input:checked + .mxchat-toggle-slider:before { |
| 205 |
transform: translateX(26px); |
| 206 |
} |
| 207 |
|
| 208 |
/* Form Elements */ |
| 209 |
.mxchat-form-group { |
| 210 |
margin-bottom: 20px; |
| 211 |
} |
| 212 |
|
| 213 |
.mxchat-form-group label { |
| 214 |
display: block; |
| 215 |
margin-bottom: 8px; |
| 216 |
font-weight: 500; |
| 217 |
color: #333; |
| 218 |
} |
| 219 |
|
| 220 |
.mxchat-form-group input[type="text"], |
| 221 |
.mxchat-form-group input[type="url"], |
| 222 |
.mxchat-form-group textarea { |
| 223 |
width: 100%; |
| 224 |
padding: 12px 15px; |
| 225 |
border: 2px solid rgba(120, 115, 245, 0.2); |
| 226 |
border-radius: 8px; |
| 227 |
font-size: 14px; |
| 228 |
transition: all 0.3s ease; |
| 229 |
} |
| 230 |
|
| 231 |
.mxchat-form-group textarea { |
| 232 |
min-height: 120px; |
| 233 |
resize: vertical; |
| 234 |
} |
| 235 |
|
| 236 |
.mxchat-form-group input:focus, |
| 237 |
.mxchat-form-group textarea:focus { |
| 238 |
border-color: #7873f5; |
| 239 |
box-shadow: 0 0 0 3px rgba(120, 115, 245, 0.1); |
| 240 |
outline: none; |
| 241 |
} |
| 242 |
|
| 243 |
/* URL Input Group */ |
| 244 |
.mxchat-url-input-group { |
| 245 |
display: flex; |
| 246 |
gap: 10px; |
| 247 |
} |
| 248 |
|
| 249 |
.mxchat-url-input-group input { |
| 250 |
flex: 1; |
| 251 |
} |
| 252 |
|
| 253 |
/* Buttons */ |
| 254 |
.mxchat-button-primary { |
| 255 |
background: linear-gradient(135deg, #fa73e6, #7873f5); |
| 256 |
border: none; |
| 257 |
color: white; |
| 258 |
padding: 10px 20px; |
| 259 |
border-radius: 8px; |
| 260 |
font-weight: 600; |
| 261 |
cursor: pointer; |
| 262 |
transition: all 0.3s ease; |
| 263 |
} |
| 264 |
|
| 265 |
.mxchat-button-primary:hover { |
| 266 |
transform: translateY(-1px); |
| 267 |
box-shadow: 0 4px 12px rgba(120, 115, 245, 0.2); |
| 268 |
} |
| 269 |
|
| 270 |
.mxchat-button-secondary { |
| 271 |
background: #f8f9ff; |
| 272 |
border: 1px solid rgba(120, 115, 245, 0.2); |
| 273 |
color: #666; |
| 274 |
padding: 10px 20px; |
| 275 |
border-radius: 8px; |
| 276 |
cursor: pointer; |
| 277 |
transition: all 0.2s ease; |
| 278 |
} |
| 279 |
|
| 280 |
.mxchat-button-secondary:hover { |
| 281 |
background: #eef0ff; |
| 282 |
} |
| 283 |
|
| 284 |
.mxchat-button-danger { |
| 285 |
color: #ff4d4d; |
| 286 |
background: transparent; |
| 287 |
border: none; |
| 288 |
padding: 10px 20px; |
| 289 |
border-radius: 8px; |
| 290 |
cursor: pointer; |
| 291 |
transition: all 0.2s ease; |
| 292 |
display: flex; |
| 293 |
align-items: center; |
| 294 |
gap: 8px; |
| 295 |
} |
| 296 |
|
| 297 |
.mxchat-button-danger:hover { |
| 298 |
background: #fff5f5; |
| 299 |
} |
| 300 |
|
| 301 |
.mxchat-button-icon { |
| 302 |
padding: 8px; |
| 303 |
border: none; |
| 304 |
background: transparent; |
| 305 |
border-radius: 6px; |
| 306 |
cursor: pointer; |
| 307 |
transition: all 0.2s ease; |
| 308 |
color: #666; |
| 309 |
} |
| 310 |
|
| 311 |
.mxchat-button-icon:hover { |
| 312 |
background: #f8f9ff; |
| 313 |
color: #7873f5; |
| 314 |
} |
| 315 |
|
| 316 |
/* Table Styles */ |
| 317 |
.mxchat-table-wrapper { |
| 318 |
overflow-x: auto; |
| 319 |
margin: 20px 0; |
| 320 |
} |
| 321 |
|
| 322 |
.mxchat-records-table { |
| 323 |
width: 100%; |
| 324 |
border-collapse: separate; |
| 325 |
border-spacing: 0; |
| 326 |
} |
| 327 |
|
| 328 |
.mxchat-records-table th { |
| 329 |
background: #f8f9ff; |
| 330 |
padding: 15px; |
| 331 |
font-weight: 600; |
| 332 |
color: #333; |
| 333 |
text-align: left; |
| 334 |
border-bottom: 2px solid rgba(120, 115, 245, 0.1); |
| 335 |
} |
| 336 |
|
| 337 |
.mxchat-records-table td { |
| 338 |
padding: 15px; |
| 339 |
border-top: 1px solid rgba(120, 115, 245, 0.1); |
| 340 |
vertical-align: top; |
| 341 |
} |
| 342 |
|
| 343 |
.mxchat-records-table tr:hover { |
| 344 |
background: rgba(120, 115, 245, 0.03); |
| 345 |
} |
| 346 |
|
| 347 |
.mxchat-content-cell { |
| 348 |
max-width: 400px; |
| 349 |
} |
| 350 |
|
| 351 |
.mxchat-url-cell a { |
| 352 |
color: #7873f5; |
| 353 |
text-decoration: none; |
| 354 |
display: flex; |
| 355 |
align-items: center; |
| 356 |
gap: 4px; |
| 357 |
} |
| 358 |
|
| 359 |
.mxchat-url-cell a:hover { |
| 360 |
color: #fa73e6; |
| 361 |
} |
| 362 |
|
| 363 |
.mxchat-actions-cell { |
| 364 |
white-space: nowrap; |
| 365 |
display: flex; |
| 366 |
gap: 8px; |
| 367 |
} |
| 368 |
|
| 369 |
/* Progress Bar */ |
| 370 |
.mxchat-progress-bar { |
| 371 |
height: 8px; |
| 372 |
background: rgba(120, 115, 245, 0.1); |
| 373 |
border-radius: 4px; |
| 374 |
overflow: hidden; |
| 375 |
margin: 10px 0; |
| 376 |
} |
| 377 |
|
| 378 |
.mxchat-progress-fill { |
| 379 |
height: 100%; |
| 380 |
background: linear-gradient(135deg, #fa73e6, #7873f5); |
| 381 |
transition: width 0.3s ease; |
| 382 |
} |
| 383 |
|
| 384 |
/* Status Card */ |
| 385 |
.mxchat-status-card { |
| 386 |
background: #f8f9ff; |
| 387 |
border-radius: 10px; |
| 388 |
padding: 20px; |
| 389 |
margin-top: 20px; |
| 390 |
} |
| 391 |
|
| 392 |
.mxchat-status-header { |
| 393 |
display: flex; |
| 394 |
justify-content: space-between; |
| 395 |
align-items: center; |
| 396 |
margin-bottom: 15px; |
| 397 |
} |
| 398 |
|
| 399 |
.mxchat-status-details { |
| 400 |
margin-top: 10px; |
| 401 |
color: #666; |
| 402 |
} |
| 403 |
|
| 404 |
/* Search */ |
| 405 |
.mxchat-search-form { |
| 406 |
position: relative; |
| 407 |
} |
| 408 |
|
| 409 |
.mxchat-search-group { |
| 410 |
position: relative; |
| 411 |
display: flex; |
| 412 |
align-items: center; |
| 413 |
} |
| 414 |
|
| 415 |
.mxchat-search-group .dashicons { |
| 416 |
position: absolute; |
| 417 |
left: 12px; |
| 418 |
color: #666; |
| 419 |
} |
| 420 |
|
| 421 |
.mxchat-search-group input { |
| 422 |
padding-left: 40px; |
| 423 |
width: 300px; |
| 424 |
} |
| 425 |
|
| 426 |
/* Header Actions */ |
| 427 |
.mxchat-card-header { |
| 428 |
display: flex; |
| 429 |
justify-content: space-between; |
| 430 |
align-items: center; |
| 431 |
margin-bottom: 20px; |
| 432 |
} |
| 433 |
|
| 434 |
.mxchat-header-actions { |
| 435 |
display: flex; |
| 436 |
gap: 16px; |
| 437 |
align-items: center; |
| 438 |
} |
| 439 |
|
| 440 |
/* Pagination */ |
| 441 |
.mxchat-pagination { |
| 442 |
margin-top: 20px; |
| 443 |
padding-top: 20px; |
| 444 |
text-align: center; |
| 445 |
border-top: 1px solid rgba(120, 115, 245, 0.1); |
| 446 |
} |
| 447 |
|
| 448 |
.mxchat-pagination .page-numbers { |
| 449 |
display: inline-flex; |
| 450 |
align-items: center; |
| 451 |
justify-content: center; |
| 452 |
min-width: 32px; |
| 453 |
height: 32px; |
| 454 |
padding: 0 8px; |
| 455 |
margin: 0 4px; |
| 456 |
border-radius: 6px; |
| 457 |
background: white; |
| 458 |
border: 1px solid rgba(120, 115, 245, 0.2); |
| 459 |
color: #333; |
| 460 |
text-decoration: none; |
| 461 |
transition: all 0.2s ease; |
| 462 |
} |
| 463 |
|
| 464 |
.mxchat-pagination .page-numbers.current { |
| 465 |
background: linear-gradient(135deg, #fa73e6, #7873f5); |
| 466 |
color: white; |
| 467 |
border: none; |
| 468 |
} |
| 469 |
|
| 470 |
/* Responsive Design */ |
| 471 |
@media screen and (max-width: 782px) { |
| 472 |
div.mxchat-hero h1.mxchat-main-title { |
| 473 |
font-size: 2.5rem; |
| 474 |
} |
| 475 |
|
| 476 |
.mxchat-content { |
| 477 |
padding: 1rem; |
| 478 |
} |
| 479 |
|
| 480 |
.mxchat-card { |
| 481 |
padding: 20px; |
| 482 |
} |
| 483 |
|
| 484 |
.mxchat-card-header { |
| 485 |
flex-direction: column; |
| 486 |
gap: 16px; |
| 487 |
} |
| 488 |
|
| 489 |
.mxchat-header-actions { |
| 490 |
flex-direction: column; |
| 491 |
width: 100%; |
| 492 |
} |
| 493 |
|
| 494 |
.mxchat-search-group input { |
| 495 |
width: 100%; |
| 496 |
} |
| 497 |
|
| 498 |
.mxchat-url-input-group { |
| 499 |
flex-direction: column; |
| 500 |
} |
| 501 |
|
| 502 |
.mxchat-records-table { |
| 503 |
display: block; |
| 504 |
overflow-x: auto; |
| 505 |
} |
| 506 |
|
| 507 |
.mxchat-content-cell { |
| 508 |
max-width: 200px; |
| 509 |
} |
| 510 |
} |
| 511 |
|
| 512 |
/* Utility Classes */ |
| 513 |
.mxchat-na { |
| 514 |
color: #999; |
| 515 |
font-style: italic; |
| 516 |
} |
| 517 |
|
| 518 |
.mxchat-no-records { |
| 519 |
text-align: center; |
| 520 |
color: #666; |
| 521 |
padding: 40px !important; |
| 522 |
} |
| 523 |
|
| 524 |
|