| 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 |
} |
| 11 |
|
| 12 |
/* Hero Section */ |
| 13 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addons-hero { |
| 14 |
text-align: center; |
| 15 |
padding: 3.5rem 2rem; |
| 16 |
position: relative; |
| 17 |
background: #212121; |
| 18 |
border-bottom: 4px solid transparent; |
| 19 |
border-image: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); |
| 20 |
border-image-slice: 1; |
| 21 |
} |
| 22 |
|
| 23 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addons-hero::before { |
| 24 |
content: ''; |
| 25 |
position: absolute; |
| 26 |
top: 0; |
| 27 |
left: 0; |
| 28 |
width: 100%; |
| 29 |
height: 100%; |
| 30 |
background: radial-gradient( |
| 31 |
circle at center, |
| 32 |
rgba(250, 115, 230, 0.08) 0%, |
| 33 |
rgba(120, 115, 245, 0.08) 50%, |
| 34 |
rgba(58, 201, 209, 0.08) 100% |
| 35 |
); |
| 36 |
z-index: 1; |
| 37 |
} |
| 38 |
|
| 39 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addons-hero::after { |
| 40 |
content: ''; |
| 41 |
position: absolute; |
| 42 |
bottom: -20px; |
| 43 |
left: 0; |
| 44 |
width: 100%; |
| 45 |
height: 20px; |
| 46 |
background: linear-gradient(180deg, rgba(33, 33, 33, 0.2) 0%, transparent 100%); |
| 47 |
z-index: 2; |
| 48 |
} |
| 49 |
|
| 50 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-main-title { |
| 51 |
font-size: 3.5rem; |
| 52 |
margin: 0 0 1.5rem; |
| 53 |
line-height: 1.2; |
| 54 |
color: white; |
| 55 |
position: relative; |
| 56 |
z-index: 2; |
| 57 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; |
| 58 |
} |
| 59 |
|
| 60 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-gradient-text { |
| 61 |
font-weight: 700; |
| 62 |
background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); |
| 63 |
-webkit-background-clip: text; |
| 64 |
-webkit-text-fill-color: transparent; |
| 65 |
display: inline-block; |
| 66 |
} |
| 67 |
|
| 68 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-hero-subtitle { |
| 69 |
font-size: 1.25rem; |
| 70 |
color: rgba(255, 255, 255, 0.9); |
| 71 |
max-width: 600px; |
| 72 |
margin: 0 auto; |
| 73 |
position: relative; |
| 74 |
z-index: 2; |
| 75 |
line-height: 1.6; |
| 76 |
} |
| 77 |
|
| 78 |
/* Addons Grid */ |
| 79 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addons-grid { |
| 80 |
display: grid; |
| 81 |
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); |
| 82 |
gap: 2rem; |
| 83 |
padding: 2rem; |
| 84 |
max-width: 1400px; |
| 85 |
margin: auto; |
| 86 |
} |
| 87 |
|
| 88 |
/* Addon Cards */ |
| 89 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-card { |
| 90 |
background: white; |
| 91 |
border-radius: 16px; |
| 92 |
padding: 1.5rem; |
| 93 |
box-shadow: 0 8px 32px rgba(0,0,0,0.05); |
| 94 |
border: 1px solid rgba(0,0,0,0.1); |
| 95 |
transition: transform 0.3s ease, box-shadow 0.3s ease; |
| 96 |
position: relative; |
| 97 |
overflow: hidden; |
| 98 |
max-width: 400px; |
| 99 |
} |
| 100 |
|
| 101 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-card:hover { |
| 102 |
transform: translateY(-5px); |
| 103 |
box-shadow: 0 12px 40px rgba(0,0,0,0.1); |
| 104 |
} |
| 105 |
|
| 106 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-card::after { |
| 107 |
content: ''; |
| 108 |
position: absolute; |
| 109 |
bottom: 0; |
| 110 |
left: 0; |
| 111 |
width: 100%; |
| 112 |
height: 4px; |
| 113 |
background: linear-gradient(135deg, var(--card-accent, #fa73e6), #7873f5); |
| 114 |
transition: height 0.3s ease; |
| 115 |
} |
| 116 |
|
| 117 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-card:hover::after { |
| 118 |
height: 6px; |
| 119 |
} |
| 120 |
|
| 121 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-badge { |
| 122 |
position: absolute; |
| 123 |
top: 30px; |
| 124 |
right: -35px; |
| 125 |
background: #212121; |
| 126 |
color: white; |
| 127 |
padding: 0.25rem 2rem; |
| 128 |
transform: rotate(45deg); |
| 129 |
font-size: 0.75rem; |
| 130 |
font-weight: 700; |
| 131 |
text-transform: uppercase; |
| 132 |
box-shadow: 0 2px 8px rgba(0,0,0,0.1); |
| 133 |
width: 120px; |
| 134 |
text-align: center; |
| 135 |
z-index: 2; |
| 136 |
} |
| 137 |
|
| 138 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-content { |
| 139 |
position: relative; |
| 140 |
z-index: 1; |
| 141 |
display: flex; |
| 142 |
flex-direction: column; |
| 143 |
height: 100%; |
| 144 |
justify-content: space-between; |
| 145 |
} |
| 146 |
|
| 147 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-title { |
| 148 |
color: #212121; |
| 149 |
margin: 0 0 1rem; |
| 150 |
font-size: 1.5rem; |
| 151 |
font-weight: 700; |
| 152 |
line-height: 1.3; |
| 153 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; |
| 154 |
} |
| 155 |
|
| 156 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-description { |
| 157 |
color: #666; |
| 158 |
margin: 0 0 1.5rem; |
| 159 |
line-height: 1.6; |
| 160 |
min-height: 4.8rem; |
| 161 |
font-size: 1rem; |
| 162 |
} |
| 163 |
|
| 164 |
/* Addon Footer */ |
| 165 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-footer { |
| 166 |
display: flex; |
| 167 |
justify-content: space-between; |
| 168 |
align-items: center; |
| 169 |
padding-top: 1.5rem; |
| 170 |
border-top: 1px solid rgba(0,0,0,0.1); |
| 171 |
} |
| 172 |
|
| 173 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-status-indicator { |
| 174 |
font-size: 0.9rem; |
| 175 |
padding: 0.25rem 0.75rem; |
| 176 |
border-radius: 20px; |
| 177 |
background: #f0f0f0; |
| 178 |
color: #666; |
| 179 |
} |
| 180 |
|
| 181 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-status-indicator.installed { |
| 182 |
background: #e8f5e9; |
| 183 |
color: #2e7d32; |
| 184 |
} |
| 185 |
|
| 186 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-action-button { |
| 187 |
background: linear-gradient(135deg, #fa73e6, #7873f5); |
| 188 |
color: white; |
| 189 |
border: none; |
| 190 |
padding: 0.75rem 1.5rem; |
| 191 |
border-radius: 8px; |
| 192 |
cursor: pointer; |
| 193 |
font-weight: 600; |
| 194 |
transition: transform 0.2s ease, box-shadow 0.2s ease; |
| 195 |
text-transform: uppercase; |
| 196 |
letter-spacing: 0.5px; |
| 197 |
height: auto; |
| 198 |
min-height: unset; |
| 199 |
line-height: 1.5; |
| 200 |
text-decoration: none; |
| 201 |
display: inline-block; |
| 202 |
white-space: nowrap; |
| 203 |
text-align: center; |
| 204 |
min-width: fit-content; |
| 205 |
box-sizing: border-box; |
| 206 |
} |
| 207 |
|
| 208 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-action-button:hover { |
| 209 |
transform: translateY(-2px); |
| 210 |
box-shadow: 0 4px 12px rgba(250, 115, 230, 0.3); |
| 211 |
color: white; |
| 212 |
} |
| 213 |
|
| 214 |
/* Add these to your existing CSS */ |
| 215 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-status-indicator.active { |
| 216 |
background: #e8f5e9; |
| 217 |
color: #2e7d32; |
| 218 |
} |
| 219 |
|
| 220 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-status-indicator.inactive { |
| 221 |
background: #fff3e0; |
| 222 |
color: #ef6c00; |
| 223 |
} |
| 224 |
|
| 225 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-status-indicator.not-installed { |
| 226 |
background: #f0f0f0; |
| 227 |
color: #666; |
| 228 |
} |
| 229 |
|
| 230 |
/* Responsive Design */ |
| 231 |
@media (max-width: 768px) { |
| 232 |
body.wp-admin .wrap.mxchat-addons-wrapper { |
| 233 |
padding: 0; |
| 234 |
} |
| 235 |
|
| 236 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-main-title { |
| 237 |
font-size: 2.5rem; |
| 238 |
margin-bottom: 1rem; |
| 239 |
} |
| 240 |
|
| 241 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addons-grid { |
| 242 |
grid-template-columns: 1fr; |
| 243 |
} |
| 244 |
|
| 245 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addons-hero { |
| 246 |
padding: 2.5rem 1.5rem; |
| 247 |
} |
| 248 |
|
| 249 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-hero-subtitle { |
| 250 |
font-size: 1.1rem; |
| 251 |
padding: 0 1rem; |
| 252 |
} |
| 253 |
|
| 254 |
.auto-fold #wpcontent { |
| 255 |
margin-left: 0; |
| 256 |
padding-left: 0px; |
| 257 |
} |
| 258 |
} |
| 259 |
|
| 260 |
@media (max-width: 480px) { |
| 261 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-addon-footer { |
| 262 |
flex-direction: column; |
| 263 |
gap: 1rem; |
| 264 |
align-items: stretch; |
| 265 |
} |
| 266 |
|
| 267 |
body.wp-admin .wrap.mxchat-addons-wrapper .mxchat-action-button { |
| 268 |
width: 100%; |
| 269 |
text-align: center; |
| 270 |
padding: 0.75rem 1rem; |
| 271 |
white-space: normal; |
| 272 |
height: auto; |
| 273 |
} |
| 274 |
} |