| 1 |
/* Our Plugins Page Styling */ |
| 2 |
.ig-our-plugins-wrap { |
| 3 |
padding: 20px; |
| 4 |
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 5 |
color: #1e293b; |
| 6 |
box-sizing: border-box; |
| 7 |
} |
| 8 |
|
| 9 |
.ig-our-plugins-header { |
| 10 |
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); |
| 11 |
padding: 40px; |
| 12 |
border-radius: 6px; |
| 13 |
color: white; |
| 14 |
margin-bottom: 30px; |
| 15 |
position: relative; |
| 16 |
overflow: hidden; |
| 17 |
box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.2); |
| 18 |
display: flex; |
| 19 |
justify-content: space-between; |
| 20 |
align-items: center; |
| 21 |
} |
| 22 |
|
| 23 |
.ig-header-content { |
| 24 |
max-width: 70%; |
| 25 |
} |
| 26 |
|
| 27 |
.ig-our-plugins-header h1 { |
| 28 |
color: white; |
| 29 |
font-size: 32px; |
| 30 |
font-weight: 800; |
| 31 |
margin: 0 0 10px 0; |
| 32 |
line-height: 1.2; |
| 33 |
} |
| 34 |
|
| 35 |
.ig-our-plugins-header p { |
| 36 |
font-size: 16px; |
| 37 |
opacity: 0.9; |
| 38 |
max-width: 600px; |
| 39 |
margin: 0; |
| 40 |
} |
| 41 |
|
| 42 |
.ig-header-stats { |
| 43 |
background: rgba(255, 255, 255, 0.1); |
| 44 |
padding: 20px 30px; |
| 45 |
border-radius: 4px; |
| 46 |
backdrop-filter: blur(8px); |
| 47 |
text-align: center; |
| 48 |
border: 1px solid rgba(255, 255, 255, 0.2); |
| 49 |
} |
| 50 |
|
| 51 |
.ig-stat-value { |
| 52 |
display: block; |
| 53 |
font-size: 28px; |
| 54 |
font-weight: 800; |
| 55 |
color: #fff; |
| 56 |
} |
| 57 |
|
| 58 |
.ig-stat-label { |
| 59 |
font-size: 12px; |
| 60 |
text-transform: uppercase; |
| 61 |
letter-spacing: 1px; |
| 62 |
opacity: 0.8; |
| 63 |
} |
| 64 |
|
| 65 |
/* Filter Navigation */ |
| 66 |
.ig-plugins-filters { |
| 67 |
display: flex; |
| 68 |
gap: 12px; |
| 69 |
margin-bottom: 30px; |
| 70 |
flex-wrap: wrap; |
| 71 |
background: #fff; |
| 72 |
padding: 8px; |
| 73 |
border-radius: 6px; |
| 74 |
border: 1px solid #e2e8f0; |
| 75 |
align-items: center; |
| 76 |
} |
| 77 |
|
| 78 |
.ig-filter-btn { |
| 79 |
background: transparent; |
| 80 |
border: none; |
| 81 |
padding: 10px 20px; |
| 82 |
border-radius: 4px; |
| 83 |
font-size: 14px; |
| 84 |
font-weight: 600; |
| 85 |
color: #64748b; |
| 86 |
cursor: pointer; |
| 87 |
transition: all 0.2s; |
| 88 |
} |
| 89 |
|
| 90 |
.ig-filter-btn:hover { |
| 91 |
color: #4f46e5; |
| 92 |
background: #f1f5f9; |
| 93 |
} |
| 94 |
|
| 95 |
.ig-filter-btn.active { |
| 96 |
background: #4f46e5; |
| 97 |
color: white; |
| 98 |
box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2); |
| 99 |
} |
| 100 |
|
| 101 |
.ig-refresh-link { |
| 102 |
margin-left: auto; |
| 103 |
margin-right: 15px; |
| 104 |
color: #94a3b8; |
| 105 |
text-decoration: none; |
| 106 |
transition: all 0.3s; |
| 107 |
display: flex; |
| 108 |
align-items: center; |
| 109 |
} |
| 110 |
|
| 111 |
.ig-refresh-link:hover { |
| 112 |
color: #4f46e5; |
| 113 |
transform: rotate(180deg); |
| 114 |
} |
| 115 |
|
| 116 |
.ig-plugins-grid { |
| 117 |
display: grid; |
| 118 |
/* Forced 4-column layout on desktop */ |
| 119 |
grid-template-columns: repeat(4, 1fr); |
| 120 |
gap: 24px; |
| 121 |
} |
| 122 |
|
| 123 |
/* Responsive Grid Adjustments */ |
| 124 |
@media (max-width: 1300px) { |
| 125 |
.ig-plugins-grid { |
| 126 |
grid-template-columns: repeat(3, 1fr); |
| 127 |
} |
| 128 |
} |
| 129 |
|
| 130 |
@media (max-width: 991px) { |
| 131 |
.ig-plugins-grid { |
| 132 |
grid-template-columns: repeat(2, 1fr); |
| 133 |
} |
| 134 |
} |
| 135 |
|
| 136 |
@media (max-width: 600px) { |
| 137 |
.ig-plugins-grid { |
| 138 |
grid-template-columns: 1fr; |
| 139 |
} |
| 140 |
} |
| 141 |
|
| 142 |
.ig-plugin-card { |
| 143 |
background: white; |
| 144 |
border-radius: 6px; |
| 145 |
border: 1px solid #e2e8f0; |
| 146 |
overflow: hidden; |
| 147 |
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| 148 |
display: flex; |
| 149 |
flex-direction: column; |
| 150 |
position: relative; |
| 151 |
height: 100%; |
| 152 |
} |
| 153 |
|
| 154 |
.ig-plugin-card:hover { |
| 155 |
transform: translateY(-8px); |
| 156 |
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); |
| 157 |
border-color: #4f46e5; |
| 158 |
} |
| 159 |
|
| 160 |
/* Base Banner Styles */ |
| 161 |
.ig-plugin-banner { |
| 162 |
background: #f1f5f9; |
| 163 |
position: relative; |
| 164 |
display: flex; |
| 165 |
align-items: center; |
| 166 |
justify-content: center; |
| 167 |
overflow: hidden; |
| 168 |
} |
| 169 |
|
| 170 |
/* 🔌 Plugin Banner Height */ |
| 171 |
.ig-plugin-banner { |
| 172 |
height: 180px; |
| 173 |
} |
| 174 |
|
| 175 |
/* 🎨 Theme Poster Height */ |
| 176 |
.ig-theme-screenshot { |
| 177 |
height: 320px !important; |
| 178 |
} |
| 179 |
|
| 180 |
.ig-plugin-banner img { |
| 181 |
width: 100%; |
| 182 |
height: 100%; |
| 183 |
/*object-fit: cover;*/ |
| 184 |
} |
| 185 |
|
| 186 |
.ig-plugin-content { |
| 187 |
padding: 24px; |
| 188 |
flex-grow: 1; |
| 189 |
display: flex; |
| 190 |
flex-direction: column; |
| 191 |
} |
| 192 |
|
| 193 |
.ig-plugin-content h2 { |
| 194 |
font-size: 18px; |
| 195 |
font-weight: 700; |
| 196 |
margin: 0 0 12px 0; |
| 197 |
color: #0f172a; |
| 198 |
line-height: 1.4; |
| 199 |
min-height: 50px; |
| 200 |
} |
| 201 |
|
| 202 |
.ig-plugin-description { |
| 203 |
font-size: 14px; |
| 204 |
color: #64748b; |
| 205 |
line-height: 1.6; |
| 206 |
margin-bottom: 20px; |
| 207 |
flex-grow: 1; |
| 208 |
} |
| 209 |
|
| 210 |
.ig-plugin-meta { |
| 211 |
display: flex; |
| 212 |
align-items: center; |
| 213 |
padding-top: 16px; |
| 214 |
border-top: 1px solid #f1f5f9; |
| 215 |
gap: 16px; |
| 216 |
margin-bottom: 20px; |
| 217 |
} |
| 218 |
|
| 219 |
.ig-plugin-meta-item { |
| 220 |
display: flex; |
| 221 |
align-items: center; |
| 222 |
font-size: 12px; |
| 223 |
color: #475569; |
| 224 |
font-weight: 500; |
| 225 |
} |
| 226 |
|
| 227 |
.ig-plugin-meta-item .dashicons { |
| 228 |
font-size: 16px; |
| 229 |
width: 16px; |
| 230 |
height: 16px; |
| 231 |
margin-right: 4px; |
| 232 |
color: #6366f1; |
| 233 |
} |
| 234 |
|
| 235 |
.ig-plugin-actions { |
| 236 |
display: flex; |
| 237 |
gap: 12px; |
| 238 |
} |
| 239 |
|
| 240 |
.ig-btn { |
| 241 |
display: inline-flex; |
| 242 |
align-items: center; |
| 243 |
justify-content: center; |
| 244 |
padding: 10px 16px; |
| 245 |
border-radius: 4px; |
| 246 |
font-size: 14px; |
| 247 |
font-weight: 600; |
| 248 |
text-decoration: none; |
| 249 |
transition: all 0.2s; |
| 250 |
flex: 1; |
| 251 |
} |
| 252 |
|
| 253 |
.ig-btn-primary { |
| 254 |
background: #4f46e5; |
| 255 |
color: white; |
| 256 |
} |
| 257 |
|
| 258 |
.ig-btn-primary:hover { |
| 259 |
background: #4338ca; |
| 260 |
color: white; |
| 261 |
} |
| 262 |
|
| 263 |
.ig-btn-secondary { |
| 264 |
background: #f8fafc; |
| 265 |
color: #475569; |
| 266 |
border: 1px solid #e2e8f0; |
| 267 |
} |
| 268 |
|
| 269 |
.ig-btn-secondary:hover { |
| 270 |
background: #f1f5f9; |
| 271 |
color: #1e293b; |
| 272 |
border-color: #cbd5e1; |
| 273 |
} |
| 274 |
|
| 275 |
/* Badges */ |
| 276 |
.ig-plugin-status { |
| 277 |
position: absolute; |
| 278 |
top: 12px; |
| 279 |
right: 12px; |
| 280 |
background: rgba(16, 185, 129, 0.9); |
| 281 |
color: white; |
| 282 |
padding: 4px 10px; |
| 283 |
border-radius: 4px; |
| 284 |
font-size: 11px; |
| 285 |
font-weight: 700; |
| 286 |
backdrop-filter: blur(4px); |
| 287 |
z-index: 10; |
| 288 |
} |
| 289 |
|
| 290 |
/* Loading State & Errors */ |
| 291 |
.ig-loading-wrap, .ig-error-wrap { |
| 292 |
text-align: center; |
| 293 |
padding: 80px 0; |
| 294 |
} |
| 295 |
|
| 296 |
.ig-spinner { |
| 297 |
display: inline-block; |
| 298 |
width: 40px; |
| 299 |
height: 40px; |
| 300 |
border: 4px solid rgba(79, 70, 229, 0.1); |
| 301 |
border-left-color: #4f46e5; |
| 302 |
border-radius: 50%; |
| 303 |
animation: ig-spin 1s linear infinite; |
| 304 |
margin-bottom: 20px; |
| 305 |
} |
| 306 |
|
| 307 |
@keyframes ig-spin { |
| 308 |
to { transform: rotate(360deg); } |
| 309 |
} |
| 310 |
|
| 311 |
.ig-error-wrap .dashicons { |
| 312 |
font-size: 48px; |
| 313 |
width: 48px; |
| 314 |
height: 48px; |
| 315 |
color: #ef4444; |
| 316 |
margin-bottom: 16px; |
| 317 |
} |
| 318 |
|
| 319 |
.ig-error-wrap .ig-btn { |
| 320 |
margin-top: 20px; |
| 321 |
} |
| 322 |
|
| 323 |
/* Theme Sync Button Styles */ |
| 324 |
.ig-theme-sync-btn { |
| 325 |
background: rgba(255, 255, 255, 0.1); |
| 326 |
padding: 12px 20px; |
| 327 |
border-radius: 4px; |
| 328 |
backdrop-filter: blur(8px); |
| 329 |
border: 1px solid rgba(255, 255, 255, 0.2); |
| 330 |
color: white; |
| 331 |
text-decoration: none; |
| 332 |
display: inline-flex; |
| 333 |
align-items: center; |
| 334 |
gap: 8px; |
| 335 |
font-weight: 600; |
| 336 |
transition: all 0.2s; |
| 337 |
} |
| 338 |
|
| 339 |
.ig-theme-sync-btn:hover { |
| 340 |
background: rgba(255, 255, 255, 0.2); |
| 341 |
color: white; |
| 342 |
} |
| 343 |
|
| 344 |
.ig-theme-sync-btn .dashicons { |
| 345 |
font-size: 18px; |
| 346 |
width: 18px; |
| 347 |
height: 18px; |
| 348 |
} |
| 349 |
|
| 350 |
@media (max-width: 768px) { |
| 351 |
.ig-our-plugins-header { |
| 352 |
flex-direction: column; |
| 353 |
align-items: flex-start; |
| 354 |
gap: 20px; |
| 355 |
padding: 24px; |
| 356 |
} |
| 357 |
.ig-header-content { |
| 358 |
max-width: 100%; |
| 359 |
} |
| 360 |
.ig-our-plugins-header h1 { |
| 361 |
font-size: 24px; |
| 362 |
} |
| 363 |
} |
| 364 |
|