| 1 |
/* Core Styles */ |
| 2 |
#wpcontent { |
| 3 |
padding-left: 0; |
| 4 |
} |
| 5 |
|
| 6 |
body.wp-admin .wrap.mxchat-addons-wrapper { |
| 7 |
max-width: 100%; |
| 8 |
margin: 0 auto; |
| 9 |
padding: 0; |
| 10 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; |
| 11 |
} |
| 12 |
|
| 13 |
/* Hero Section */ |
| 14 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addons-hero { |
| 15 |
text-align: center; |
| 16 |
padding: 3.5rem 2rem; |
| 17 |
position: relative; |
| 18 |
background: #212121; |
| 19 |
border-bottom: 4px solid transparent; |
| 20 |
border-image: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); |
| 21 |
border-image-slice: 1; |
| 22 |
margin-bottom: 2rem; |
| 23 |
} |
| 24 |
|
| 25 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addons-hero::before { |
| 26 |
content: ''; |
| 27 |
position: absolute; |
| 28 |
top: 0; |
| 29 |
left: 0; |
| 30 |
width: 100%; |
| 31 |
height: 100%; |
| 32 |
background: radial-gradient( |
| 33 |
circle at center, |
| 34 |
rgba(250, 115, 230, 0.08) 0%, |
| 35 |
rgba(120, 115, 245, 0.08) 50%, |
| 36 |
rgba(58, 201, 209, 0.08) 100% |
| 37 |
); |
| 38 |
z-index: 1; |
| 39 |
} |
| 40 |
|
| 41 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addons-hero::after { |
| 42 |
content: ''; |
| 43 |
position: absolute; |
| 44 |
bottom: -20px; |
| 45 |
left: 0; |
| 46 |
width: 100%; |
| 47 |
height: 20px; |
| 48 |
background: linear-gradient(180deg, rgba(33, 33, 33, 0.2) 0%, transparent 100%); |
| 49 |
z-index: 2; |
| 50 |
} |
| 51 |
|
| 52 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-main-title { |
| 53 |
font-size: 3.5rem; |
| 54 |
margin: 0 0 1.5rem; |
| 55 |
line-height: 1.2; |
| 56 |
color: white; |
| 57 |
position: relative; |
| 58 |
z-index: 2; |
| 59 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; |
| 60 |
} |
| 61 |
|
| 62 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-gradient-text { |
| 63 |
font-weight: 700; |
| 64 |
background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); |
| 65 |
-webkit-background-clip: text; |
| 66 |
-webkit-text-fill-color: transparent; |
| 67 |
display: inline-block; |
| 68 |
} |
| 69 |
|
| 70 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-hero-subtitle { |
| 71 |
font-size: 1.25rem; |
| 72 |
color: rgba(255, 255, 255, 0.9); |
| 73 |
max-width: 700px; |
| 74 |
margin: 0 auto; |
| 75 |
position: relative; |
| 76 |
z-index: 2; |
| 77 |
line-height: 1.6; |
| 78 |
} |
| 79 |
|
| 80 |
/* Section Headers */ |
| 81 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addons-section { |
| 82 |
padding: 1rem 2rem 3rem; |
| 83 |
max-width: 1400px; |
| 84 |
margin: 0 auto 2rem; |
| 85 |
} |
| 86 |
|
| 87 |
/* Addons Grid */ |
| 88 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addons-grid { |
| 89 |
display: grid; |
| 90 |
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); |
| 91 |
gap: 2rem; |
| 92 |
max-width: 1400px; |
| 93 |
margin: auto; |
| 94 |
} |
| 95 |
|
| 96 |
/* Addon Cards */ |
| 97 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-card { |
| 98 |
background: white; |
| 99 |
border-radius: 16px; |
| 100 |
padding: 1.75rem; |
| 101 |
box-shadow: 0 8px 32px rgba(0,0,0,0.05); |
| 102 |
border: 1px solid rgba(0,0,0,0.1); |
| 103 |
transition: transform 0.3s ease, box-shadow 0.3s ease; |
| 104 |
position: relative; |
| 105 |
overflow: hidden; |
| 106 |
height: 100%; |
| 107 |
display: flex; |
| 108 |
flex-direction: column; |
| 109 |
} |
| 110 |
|
| 111 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-card:hover { |
| 112 |
transform: translateY(-5px); |
| 113 |
box-shadow: 0 12px 40px rgba(0,0,0,0.1); |
| 114 |
} |
| 115 |
|
| 116 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-card::after { |
| 117 |
content: ''; |
| 118 |
position: absolute; |
| 119 |
bottom: 0; |
| 120 |
left: 0; |
| 121 |
width: 100%; |
| 122 |
height: 4px; |
| 123 |
background: linear-gradient(135deg, var(--card-accent, #fa73e6), #7873f5); |
| 124 |
transition: height 0.3s ease; |
| 125 |
} |
| 126 |
|
| 127 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-card:hover::after { |
| 128 |
height: 6px; |
| 129 |
} |
| 130 |
|
| 131 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-badge { |
| 132 |
position: absolute; |
| 133 |
top: 30px; |
| 134 |
right: -35px; |
| 135 |
background: #212121; |
| 136 |
color: white; |
| 137 |
padding: 0.25rem 2rem; |
| 138 |
transform: rotate(45deg); |
| 139 |
font-size: 0.75rem; |
| 140 |
font-weight: 700; |
| 141 |
text-transform: uppercase; |
| 142 |
box-shadow: 0 2px 8px rgba(0,0,0,0.1); |
| 143 |
width: 120px; |
| 144 |
text-align: center; |
| 145 |
z-index: 2; |
| 146 |
} |
| 147 |
|
| 148 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-content { |
| 149 |
position: relative; |
| 150 |
z-index: 1; |
| 151 |
display: flex; |
| 152 |
flex-direction: column; |
| 153 |
height: 100%; |
| 154 |
justify-content: space-between; |
| 155 |
} |
| 156 |
|
| 157 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-title { |
| 158 |
color: #212121; |
| 159 |
margin: 0 0 1rem; |
| 160 |
font-size: 1.5rem; |
| 161 |
font-weight: 700; |
| 162 |
line-height: 1.3; |
| 163 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; |
| 164 |
} |
| 165 |
|
| 166 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-description { |
| 167 |
color: #444; |
| 168 |
margin: 0 0 1.5rem; |
| 169 |
line-height: 1.6; |
| 170 |
font-size: 1rem; |
| 171 |
font-weight: 500; |
| 172 |
} |
| 173 |
|
| 174 |
/* Benefits List */ |
| 175 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-benefits-list { |
| 176 |
margin: 0 0 1.5rem; |
| 177 |
padding: 0; |
| 178 |
} |
| 179 |
|
| 180 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-benefit-item { |
| 181 |
display: flex; |
| 182 |
align-items: center; |
| 183 |
margin-bottom: 0.75rem; |
| 184 |
color: #555; |
| 185 |
font-size: 0.95rem; |
| 186 |
} |
| 187 |
|
| 188 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-benefit-icon { |
| 189 |
color: #7873f5; |
| 190 |
margin-right: 0.5rem; |
| 191 |
font-weight: bold; |
| 192 |
} |
| 193 |
|
| 194 |
/* Addon Footer */ |
| 195 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-footer { |
| 196 |
display: flex; |
| 197 |
justify-content: space-between; |
| 198 |
align-items: center; |
| 199 |
padding-top: 1.5rem; |
| 200 |
border-top: 1px solid rgba(0,0,0,0.1); |
| 201 |
margin-top: auto; |
| 202 |
} |
| 203 |
|
| 204 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-status-indicator { |
| 205 |
font-size: 0.9rem; |
| 206 |
padding: 0.25rem 0.75rem; |
| 207 |
border-radius: 20px; |
| 208 |
background: #f0f0f0; |
| 209 |
color: #666; |
| 210 |
font-weight: 500; |
| 211 |
} |
| 212 |
|
| 213 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-status-indicator.active { |
| 214 |
background: #e8f5e9; |
| 215 |
color: #2e7d32; |
| 216 |
} |
| 217 |
|
| 218 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-status-indicator.inactive { |
| 219 |
background: #fff3e0; |
| 220 |
color: #ef6c00; |
| 221 |
} |
| 222 |
|
| 223 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-status-indicator.not-installed { |
| 224 |
background: #f0f0f0; |
| 225 |
color: #666; |
| 226 |
} |
| 227 |
|
| 228 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-action-button { |
| 229 |
background: linear-gradient(135deg, #fa73e6, #7873f5); |
| 230 |
color: white; |
| 231 |
border: none; |
| 232 |
padding: 0.75rem 1.5rem; |
| 233 |
border-radius: 8px; |
| 234 |
cursor: pointer; |
| 235 |
font-weight: 600; |
| 236 |
transition: transform 0.2s ease, box-shadow 0.2s ease; |
| 237 |
text-transform: uppercase; |
| 238 |
letter-spacing: 0.5px; |
| 239 |
height: auto; |
| 240 |
min-height: unset; |
| 241 |
line-height: 1.5; |
| 242 |
text-decoration: none; |
| 243 |
display: inline-block; |
| 244 |
white-space: nowrap; |
| 245 |
text-align: center; |
| 246 |
min-width: fit-content; |
| 247 |
box-sizing: border-box; |
| 248 |
} |
| 249 |
|
| 250 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-action-button:hover { |
| 251 |
transform: translateY(-2px); |
| 252 |
box-shadow: 0 4px 12px rgba(250, 115, 230, 0.3); |
| 253 |
color: white; |
| 254 |
} |
| 255 |
|
| 256 |
/* Call to Action Section */ |
| 257 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-cta-section { |
| 258 |
background: linear-gradient(135deg, rgba(250, 115, 230, 0.1), rgba(120, 115, 245, 0.1)); |
| 259 |
text-align: center; |
| 260 |
padding: 3rem 2rem; |
| 261 |
margin: 3rem auto 2rem; |
| 262 |
border-radius: 16px; |
| 263 |
max-width: 900px; |
| 264 |
} |
| 265 |
|
| 266 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-cta-section h2 { |
| 267 |
font-size: 2rem; |
| 268 |
margin: 0 0 1rem; |
| 269 |
color: #212121; |
| 270 |
} |
| 271 |
|
| 272 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-cta-section p { |
| 273 |
color: #555; |
| 274 |
font-size: 1.1rem; |
| 275 |
margin: 0 0 2rem; |
| 276 |
} |
| 277 |
|
| 278 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-cta-button { |
| 279 |
background: linear-gradient(135deg, #fa73e6, #7873f5); |
| 280 |
color: white; |
| 281 |
border: none; |
| 282 |
padding: 1rem 2.5rem; |
| 283 |
border-radius: 8px; |
| 284 |
font-size: 1.1rem; |
| 285 |
font-weight: 600; |
| 286 |
text-decoration: none; |
| 287 |
display: inline-block; |
| 288 |
text-transform: uppercase; |
| 289 |
letter-spacing: 0.5px; |
| 290 |
transition: transform 0.3s ease, box-shadow 0.3s ease; |
| 291 |
} |
| 292 |
|
| 293 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-cta-button:hover { |
| 294 |
transform: translateY(-3px); |
| 295 |
box-shadow: 0 8px 20px rgba(250, 115, 230, 0.4); |
| 296 |
color: white; |
| 297 |
} |
| 298 |
|
| 299 |
/* Responsive Design */ |
| 300 |
@media (max-width: 1200px) { |
| 301 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addons-grid { |
| 302 |
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); |
| 303 |
} |
| 304 |
} |
| 305 |
|
| 306 |
@media (max-width: 768px) { |
| 307 |
body.wp-admin .wrap.mxchat-addons-wrapper { |
| 308 |
padding: 0; |
| 309 |
} |
| 310 |
|
| 311 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-main-title { |
| 312 |
font-size: 2.5rem; |
| 313 |
margin-bottom: 1rem; |
| 314 |
} |
| 315 |
|
| 316 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addons-grid { |
| 317 |
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); |
| 318 |
padding: 0 1rem; |
| 319 |
} |
| 320 |
|
| 321 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addons-hero { |
| 322 |
padding: 2.5rem 1.5rem; |
| 323 |
} |
| 324 |
|
| 325 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-hero-subtitle { |
| 326 |
font-size: 1.1rem; |
| 327 |
padding: 0 1rem; |
| 328 |
} |
| 329 |
} |
| 330 |
|
| 331 |
@media (max-width: 480px) { |
| 332 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-footer { |
| 333 |
flex-direction: column; |
| 334 |
gap: 1rem; |
| 335 |
align-items: stretch; |
| 336 |
} |
| 337 |
|
| 338 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-action-button { |
| 339 |
width: 100%; |
| 340 |
text-align: center; |
| 341 |
padding: 0.75rem 1rem; |
| 342 |
white-space: normal; |
| 343 |
height: auto; |
| 344 |
} |
| 345 |
|
| 346 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addons-grid { |
| 347 |
grid-template-columns: 1fr; |
| 348 |
} |
| 349 |
} |
| 350 |
|
| 351 |
/* Deprecated addon styling */ |
| 352 |
.mxchat-addon-card.deprecated { |
| 353 |
opacity: 0.8; |
| 354 |
border: 2px dashed #ccc; |
| 355 |
} |
| 356 |
|
| 357 |
.mxchat-addon-card.deprecated .mxchat-addon-badge { |
| 358 |
background: #666; |
| 359 |
color: white; |
| 360 |
} |
| 361 |
|
| 362 |
.mxchat-addon-card.deprecated .mxchat-addon-title { |
| 363 |
color: #666; |
| 364 |
} |
| 365 |
|
| 366 |
.mxchat-status-indicator.deprecated { |
| 367 |
background: #e8f5e8; |
| 368 |
color: #2d5a2d; |
| 369 |
border: 1px solid #4caf50; |
| 370 |
} |
| 371 |
|
| 372 |
.mxchat-action-button.deprecated { |
| 373 |
background: #4caf50; |
| 374 |
color: white; |
| 375 |
} |
| 376 |
|
| 377 |
.mxchat-action-button.deprecated:hover { |
| 378 |
background: #45a049; |
| 379 |
} |
| 380 |
|
| 381 |
/* Fix for overlap issues */ |
| 382 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-card { |
| 383 |
box-sizing: border-box; |
| 384 |
min-height: 330px; |
| 385 |
} |
| 386 |
|
| 387 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-benefits-list { |
| 388 |
flex-grow: 1; |
| 389 |
} |
| 390 |
|
| 391 |
/* Fix for WordPress Admin Panel */ |
| 392 |
.auto-fold #wpcontent { |
| 393 |
padding-left: 0; |
| 394 |
} |
| 395 |
|
| 396 |
#wpbody { |
| 397 |
padding-top: 0; |
| 398 |
} |
| 399 |
|
| 400 |
/* Fix for Firefox */ |
| 401 |
@-moz-document url-prefix() { |
| 402 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-gradient-text { |
| 403 |
background-clip: text; |
| 404 |
} |
| 405 |
} |