| 1 |
/* King Addons Sections Catalog Styles */ |
| 2 |
|
| 3 |
.king-addons-sections { |
| 4 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 5 |
line-height: 1.6; |
| 6 |
color: #333; |
| 7 |
background: #f1f1f1; |
| 8 |
margin: 0 -20px; |
| 9 |
padding: 0; |
| 10 |
} |
| 11 |
|
| 12 |
/* Intro Section */ |
| 13 |
.kng-intro { |
| 14 |
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
| 15 |
color: white; |
| 16 |
padding: 60px 40px; |
| 17 |
text-align: center; |
| 18 |
margin-bottom: 30px; |
| 19 |
} |
| 20 |
|
| 21 |
.kng-intro-wrap { |
| 22 |
max-width: 1200px; |
| 23 |
margin: 0 auto; |
| 24 |
} |
| 25 |
|
| 26 |
.kng-intro-title { |
| 27 |
font-size: 48px; |
| 28 |
font-weight: 700; |
| 29 |
margin: 0 0 10px 0; |
| 30 |
text-shadow: 0 2px 4px rgba(0,0,0,0.3); |
| 31 |
} |
| 32 |
|
| 33 |
.kng-intro-subtitle { |
| 34 |
font-size: 20px; |
| 35 |
font-weight: 400; |
| 36 |
margin: 0; |
| 37 |
opacity: 0.9; |
| 38 |
max-width: 600px; |
| 39 |
margin: 0 auto; |
| 40 |
} |
| 41 |
|
| 42 |
.premium-active-txt { |
| 43 |
background: linear-gradient(45deg, #ff6b6b, #feca57); |
| 44 |
color: white; |
| 45 |
padding: 8px 16px; |
| 46 |
border-radius: 20px; |
| 47 |
font-size: 12px; |
| 48 |
font-weight: 700; |
| 49 |
margin-left: 15px; |
| 50 |
display: inline-block; |
| 51 |
text-shadow: none; |
| 52 |
} |
| 53 |
|
| 54 |
/* Catalog Container */ |
| 55 |
#sections-catalog { |
| 56 |
max-width: 1400px; |
| 57 |
margin: 0 auto; |
| 58 |
background: white; |
| 59 |
border-radius: 12px; |
| 60 |
box-shadow: 0 4px 20px rgba(0,0,0,0.1); |
| 61 |
overflow: hidden; |
| 62 |
} |
| 63 |
|
| 64 |
/* Filters */ |
| 65 |
.filters-wrapper { |
| 66 |
background: #f8f9fa; |
| 67 |
border-bottom: 1px solid #e9ecef; |
| 68 |
padding: 30px; |
| 69 |
} |
| 70 |
|
| 71 |
.filters { |
| 72 |
display: flex; |
| 73 |
flex-wrap: wrap; |
| 74 |
gap: 20px; |
| 75 |
align-items: flex-start; |
| 76 |
} |
| 77 |
|
| 78 |
.filters select { |
| 79 |
padding: 10px 15px; |
| 80 |
border: 2px solid #e9ecef; |
| 81 |
border-radius: 8px; |
| 82 |
font-size: 14px; |
| 83 |
min-width: 180px; |
| 84 |
background: white; |
| 85 |
cursor: pointer; |
| 86 |
transition: all 0.3s ease; |
| 87 |
} |
| 88 |
|
| 89 |
.filters select:hover, |
| 90 |
.filters select:focus { |
| 91 |
border-color: #667eea; |
| 92 |
outline: none; |
| 93 |
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); |
| 94 |
} |
| 95 |
|
| 96 |
#section-tags { |
| 97 |
flex: 1; |
| 98 |
min-width: 300px; |
| 99 |
} |
| 100 |
|
| 101 |
.tags-header { |
| 102 |
font-weight: 600; |
| 103 |
margin-bottom: 10px; |
| 104 |
color: #495057; |
| 105 |
font-size: 14px; |
| 106 |
} |
| 107 |
|
| 108 |
#section-tags label { |
| 109 |
display: inline-block; |
| 110 |
margin: 5px 10px 5px 0; |
| 111 |
cursor: pointer; |
| 112 |
font-size: 13px; |
| 113 |
padding: 5px 12px; |
| 114 |
background: white; |
| 115 |
border: 1px solid #e9ecef; |
| 116 |
border-radius: 20px; |
| 117 |
transition: all 0.3s ease; |
| 118 |
} |
| 119 |
|
| 120 |
#section-tags label:hover { |
| 121 |
background: #f8f9fa; |
| 122 |
border-color: #667eea; |
| 123 |
} |
| 124 |
|
| 125 |
#section-tags input[type="checkbox"] { |
| 126 |
margin-right: 8px; |
| 127 |
} |
| 128 |
|
| 129 |
#section-tags input[type="checkbox"]:checked + span, |
| 130 |
#section-tags label:has(input:checked) { |
| 131 |
background: #667eea; |
| 132 |
color: white; |
| 133 |
border-color: #667eea; |
| 134 |
} |
| 135 |
|
| 136 |
#reset-filters { |
| 137 |
padding: 10px 20px; |
| 138 |
background: #6c757d; |
| 139 |
color: white; |
| 140 |
border: none; |
| 141 |
border-radius: 8px; |
| 142 |
cursor: pointer; |
| 143 |
font-size: 14px; |
| 144 |
font-weight: 500; |
| 145 |
transition: all 0.3s ease; |
| 146 |
} |
| 147 |
|
| 148 |
#reset-filters:hover { |
| 149 |
background: #5a6268; |
| 150 |
transform: translateY(-1px); |
| 151 |
} |
| 152 |
|
| 153 |
/* Promo Section */ |
| 154 |
.promo-wrapper { |
| 155 |
background: linear-gradient(135deg, #667eea, #764ba2); |
| 156 |
color: white; |
| 157 |
padding: 20px; |
| 158 |
border-radius: 12px; |
| 159 |
text-align: center; |
| 160 |
min-width: 250px; |
| 161 |
} |
| 162 |
|
| 163 |
.promo-txt { |
| 164 |
margin-bottom: 15px; |
| 165 |
font-size: 14px; |
| 166 |
} |
| 167 |
|
| 168 |
.promo-txt ul { |
| 169 |
list-style: none; |
| 170 |
padding: 0; |
| 171 |
margin: 10px 0; |
| 172 |
} |
| 173 |
|
| 174 |
.promo-txt li { |
| 175 |
padding: 2px 0; |
| 176 |
font-size: 13px; |
| 177 |
} |
| 178 |
|
| 179 |
.promo-btn { |
| 180 |
background: rgba(255,255,255,0.2); |
| 181 |
border: 2px solid rgba(255,255,255,0.3); |
| 182 |
color: white; |
| 183 |
padding: 10px 20px; |
| 184 |
border-radius: 8px; |
| 185 |
cursor: pointer; |
| 186 |
font-size: 14px; |
| 187 |
font-weight: 600; |
| 188 |
transition: all 0.3s ease; |
| 189 |
display: flex; |
| 190 |
align-items: center; |
| 191 |
justify-content: center; |
| 192 |
} |
| 193 |
|
| 194 |
.promo-btn:hover { |
| 195 |
background: rgba(255,255,255,0.3); |
| 196 |
border-color: rgba(255,255,255,0.5); |
| 197 |
transform: translateY(-1px); |
| 198 |
} |
| 199 |
|
| 200 |
/* Search and Grid */ |
| 201 |
.sections-grid-wrapper { |
| 202 |
padding: 30px; |
| 203 |
} |
| 204 |
|
| 205 |
.search-wrapper { |
| 206 |
margin-bottom: 30px; |
| 207 |
text-align: center; |
| 208 |
} |
| 209 |
|
| 210 |
#section-search { |
| 211 |
width: 100%; |
| 212 |
max-width: 500px; |
| 213 |
padding: 15px 20px; |
| 214 |
font-size: 16px; |
| 215 |
border: 2px solid #e9ecef; |
| 216 |
border-radius: 50px; |
| 217 |
outline: none; |
| 218 |
transition: all 0.3s ease; |
| 219 |
} |
| 220 |
|
| 221 |
#section-search:focus { |
| 222 |
border-color: #667eea; |
| 223 |
box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1); |
| 224 |
} |
| 225 |
|
| 226 |
/* Sections Grid */ |
| 227 |
.sections-grid { |
| 228 |
display: grid; |
| 229 |
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); |
| 230 |
gap: 25px; |
| 231 |
margin-bottom: 40px; |
| 232 |
} |
| 233 |
|
| 234 |
.section-item { |
| 235 |
background: white; |
| 236 |
border-radius: 12px; |
| 237 |
overflow: hidden; |
| 238 |
box-shadow: 0 4px 15px rgba(0,0,0,0.1); |
| 239 |
transition: all 0.3s ease; |
| 240 |
cursor: pointer; |
| 241 |
position: relative; |
| 242 |
} |
| 243 |
|
| 244 |
.section-item:hover { |
| 245 |
transform: translateY(-5px); |
| 246 |
box-shadow: 0 8px 25px rgba(0,0,0,0.15); |
| 247 |
} |
| 248 |
|
| 249 |
.section-image { |
| 250 |
position: relative; |
| 251 |
width: 100%; |
| 252 |
height: 200px; |
| 253 |
overflow: hidden; |
| 254 |
background: #f8f9fa; |
| 255 |
} |
| 256 |
|
| 257 |
.section-image img { |
| 258 |
width: 100%; |
| 259 |
height: 100%; |
| 260 |
object-fit: cover; |
| 261 |
transition: transform 0.3s ease; |
| 262 |
} |
| 263 |
|
| 264 |
.section-item:hover .section-image img { |
| 265 |
transform: scale(1.05); |
| 266 |
} |
| 267 |
|
| 268 |
.section-overlay { |
| 269 |
position: absolute; |
| 270 |
top: 0; |
| 271 |
left: 0; |
| 272 |
right: 0; |
| 273 |
bottom: 0; |
| 274 |
background: rgba(0,0,0,0.7); |
| 275 |
display: flex; |
| 276 |
align-items: center; |
| 277 |
justify-content: center; |
| 278 |
gap: 15px; |
| 279 |
opacity: 0; |
| 280 |
transition: opacity 0.3s ease; |
| 281 |
} |
| 282 |
|
| 283 |
.section-item:hover .section-overlay { |
| 284 |
opacity: 1; |
| 285 |
} |
| 286 |
|
| 287 |
.import-btn, |
| 288 |
.preview-btn { |
| 289 |
padding: 10px 20px; |
| 290 |
border: 2px solid white; |
| 291 |
border-radius: 25px; |
| 292 |
color: white; |
| 293 |
background: transparent; |
| 294 |
cursor: pointer; |
| 295 |
font-size: 14px; |
| 296 |
font-weight: 600; |
| 297 |
transition: all 0.3s ease; |
| 298 |
} |
| 299 |
|
| 300 |
.import-btn:hover { |
| 301 |
background: #28a745; |
| 302 |
border-color: #28a745; |
| 303 |
} |
| 304 |
|
| 305 |
.preview-btn:hover { |
| 306 |
background: #667eea; |
| 307 |
border-color: #667eea; |
| 308 |
} |
| 309 |
|
| 310 |
.section-info { |
| 311 |
padding: 20px; |
| 312 |
} |
| 313 |
|
| 314 |
.section-info h3 { |
| 315 |
margin: 0 0 10px 0; |
| 316 |
font-size: 16px; |
| 317 |
font-weight: 600; |
| 318 |
color: #333; |
| 319 |
line-height: 1.3; |
| 320 |
} |
| 321 |
|
| 322 |
.section-meta { |
| 323 |
display: flex; |
| 324 |
justify-content: space-between; |
| 325 |
align-items: center; |
| 326 |
} |
| 327 |
|
| 328 |
.section-type { |
| 329 |
background: #e9ecef; |
| 330 |
color: #495057; |
| 331 |
padding: 4px 10px; |
| 332 |
border-radius: 15px; |
| 333 |
font-size: 12px; |
| 334 |
font-weight: 500; |
| 335 |
} |
| 336 |
|
| 337 |
.section-plan { |
| 338 |
padding: 4px 10px; |
| 339 |
border-radius: 15px; |
| 340 |
font-size: 12px; |
| 341 |
font-weight: 600; |
| 342 |
text-transform: uppercase; |
| 343 |
} |
| 344 |
|
| 345 |
.section-plan-free { |
| 346 |
background: #d4edda; |
| 347 |
color: #155724; |
| 348 |
} |
| 349 |
|
| 350 |
.section-plan-premium { |
| 351 |
background: linear-gradient(45deg, #ff6b6b, #feca57); |
| 352 |
color: white; |
| 353 |
} |
| 354 |
|
| 355 |
/* Popups */ |
| 356 |
#section-preview-popup, |
| 357 |
#section-importing-popup, |
| 358 |
#premium-promo-popup { |
| 359 |
display: none; |
| 360 |
position: fixed; |
| 361 |
top: 0; |
| 362 |
left: 0; |
| 363 |
right: 0; |
| 364 |
bottom: 0; |
| 365 |
background: rgba(0,0,0,0.8); |
| 366 |
z-index: 999999; |
| 367 |
align-items: center; |
| 368 |
justify-content: center; |
| 369 |
} |
| 370 |
|
| 371 |
#section-preview-popup.show, |
| 372 |
#section-importing-popup.show, |
| 373 |
#premium-promo-popup.show { |
| 374 |
display: flex; |
| 375 |
} |
| 376 |
|
| 377 |
.popup-content { |
| 378 |
background: white; |
| 379 |
border-radius: 12px; |
| 380 |
max-width: 90vw; |
| 381 |
max-height: 90vh; |
| 382 |
overflow: hidden; |
| 383 |
box-shadow: 0 20px 40px rgba(0,0,0,0.3); |
| 384 |
} |
| 385 |
|
| 386 |
.popup-content-nav { |
| 387 |
background: #f8f9fa; |
| 388 |
padding: 20px; |
| 389 |
border-bottom: 1px solid #e9ecef; |
| 390 |
display: flex; |
| 391 |
align-items: center; |
| 392 |
justify-content: space-between; |
| 393 |
gap: 20px; |
| 394 |
} |
| 395 |
|
| 396 |
#import-section { |
| 397 |
background: #28a745; |
| 398 |
color: white; |
| 399 |
border: none; |
| 400 |
padding: 12px 24px; |
| 401 |
border-radius: 8px; |
| 402 |
font-size: 14px; |
| 403 |
font-weight: 600; |
| 404 |
cursor: pointer; |
| 405 |
transition: all 0.3s ease; |
| 406 |
} |
| 407 |
|
| 408 |
#import-section:hover { |
| 409 |
background: #218838; |
| 410 |
transform: translateY(-1px); |
| 411 |
} |
| 412 |
|
| 413 |
.section-info { |
| 414 |
display: flex; |
| 415 |
flex-direction: column; |
| 416 |
gap: 5px; |
| 417 |
} |
| 418 |
|
| 419 |
#section-type-display, |
| 420 |
#section-parent-template { |
| 421 |
font-size: 13px; |
| 422 |
color: #6c757d; |
| 423 |
} |
| 424 |
|
| 425 |
#close-section-popup, |
| 426 |
#close-import-popup, |
| 427 |
#close-premium-promo-popup { |
| 428 |
background: #6c757d; |
| 429 |
color: white; |
| 430 |
border: none; |
| 431 |
padding: 8px 16px; |
| 432 |
border-radius: 6px; |
| 433 |
cursor: pointer; |
| 434 |
font-size: 14px; |
| 435 |
} |
| 436 |
|
| 437 |
.section-preview-content { |
| 438 |
padding: 20px; |
| 439 |
text-align: center; |
| 440 |
max-width: 800px; |
| 441 |
max-height: 600px; |
| 442 |
overflow: auto; |
| 443 |
} |
| 444 |
|
| 445 |
#section-preview-image { |
| 446 |
max-width: 100%; |
| 447 |
height: auto; |
| 448 |
border-radius: 8px; |
| 449 |
box-shadow: 0 4px 15px rgba(0,0,0,0.1); |
| 450 |
} |
| 451 |
|
| 452 |
/* Import Progress */ |
| 453 |
#import-progress-container { |
| 454 |
background: #e9ecef; |
| 455 |
border-radius: 10px; |
| 456 |
overflow: hidden; |
| 457 |
margin-bottom: 20px; |
| 458 |
} |
| 459 |
|
| 460 |
#import-progress-bar { |
| 461 |
background: linear-gradient(90deg, #28a745, #20c997); |
| 462 |
color: white; |
| 463 |
text-align: center; |
| 464 |
line-height: 40px; |
| 465 |
font-weight: 600; |
| 466 |
font-size: 14px; |
| 467 |
width: 0%; |
| 468 |
transition: width 0.5s ease; |
| 469 |
min-width: 60px; |
| 470 |
} |
| 471 |
|
| 472 |
#import-progress-text { |
| 473 |
text-align: center; |
| 474 |
font-size: 14px; |
| 475 |
color: #495057; |
| 476 |
margin-bottom: 20px; |
| 477 |
} |
| 478 |
|
| 479 |
/* Premium Promo Popup */ |
| 480 |
.premium-promo-popup-content { |
| 481 |
padding: 40px; |
| 482 |
text-align: center; |
| 483 |
max-width: 500px; |
| 484 |
} |
| 485 |
|
| 486 |
.premium-promo-popup-wrapper { |
| 487 |
display: flex; |
| 488 |
flex-direction: column; |
| 489 |
align-items: center; |
| 490 |
gap: 20px; |
| 491 |
} |
| 492 |
|
| 493 |
.premium-promo-popup-txt { |
| 494 |
text-align: center; |
| 495 |
} |
| 496 |
|
| 497 |
.pr-popup-title { |
| 498 |
font-size: 24px; |
| 499 |
font-weight: 700; |
| 500 |
color: #333; |
| 501 |
display: block; |
| 502 |
margin-bottom: 10px; |
| 503 |
} |
| 504 |
|
| 505 |
.pr-popup-desc { |
| 506 |
font-size: 16px; |
| 507 |
color: #6c757d; |
| 508 |
line-height: 1.5; |
| 509 |
} |
| 510 |
|
| 511 |
.pr-popup-desc-b { |
| 512 |
font-weight: 700; |
| 513 |
color: #333; |
| 514 |
} |
| 515 |
|
| 516 |
.premium-promo-popup-purchase-btn { |
| 517 |
background: linear-gradient(135deg, #667eea, #764ba2); |
| 518 |
color: white; |
| 519 |
border: none; |
| 520 |
padding: 15px 30px; |
| 521 |
border-radius: 50px; |
| 522 |
font-size: 16px; |
| 523 |
font-weight: 600; |
| 524 |
cursor: pointer; |
| 525 |
display: flex; |
| 526 |
align-items: center; |
| 527 |
justify-content: center; |
| 528 |
gap: 10px; |
| 529 |
transition: all 0.3s ease; |
| 530 |
text-decoration: none; |
| 531 |
} |
| 532 |
|
| 533 |
.premium-promo-popup-purchase-btn:hover { |
| 534 |
transform: translateY(-2px); |
| 535 |
box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3); |
| 536 |
color: white; |
| 537 |
} |
| 538 |
|
| 539 |
/* Pagination */ |
| 540 |
.pagination-inner-wrap { |
| 541 |
text-align: center; |
| 542 |
margin-top: 40px; |
| 543 |
} |
| 544 |
|
| 545 |
.pagination-inner { |
| 546 |
display: inline-flex; |
| 547 |
gap: 10px; |
| 548 |
align-items: center; |
| 549 |
} |
| 550 |
|
| 551 |
.pagination-inner a, |
| 552 |
.pagination-inner span { |
| 553 |
padding: 10px 15px; |
| 554 |
border: 1px solid #e9ecef; |
| 555 |
border-radius: 8px; |
| 556 |
color: #667eea; |
| 557 |
text-decoration: none; |
| 558 |
font-weight: 500; |
| 559 |
transition: all 0.3s ease; |
| 560 |
} |
| 561 |
|
| 562 |
.pagination-inner a:hover { |
| 563 |
background: #667eea; |
| 564 |
color: white; |
| 565 |
border-color: #667eea; |
| 566 |
} |
| 567 |
|
| 568 |
.pagination-inner .current { |
| 569 |
background: #667eea; |
| 570 |
color: white; |
| 571 |
border-color: #667eea; |
| 572 |
} |
| 573 |
|
| 574 |
/* Not Found */ |
| 575 |
.sections-not-found { |
| 576 |
text-align: center; |
| 577 |
padding: 60px 20px; |
| 578 |
color: #6c757d; |
| 579 |
font-size: 18px; |
| 580 |
} |
| 581 |
|
| 582 |
/* Responsive */ |
| 583 |
@media (max-width: 1200px) { |
| 584 |
.sections-grid { |
| 585 |
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); |
| 586 |
gap: 20px; |
| 587 |
} |
| 588 |
} |
| 589 |
|
| 590 |
@media (max-width: 768px) { |
| 591 |
.king-addons-sections { |
| 592 |
margin: 0 -10px; |
| 593 |
} |
| 594 |
|
| 595 |
.kng-intro { |
| 596 |
padding: 40px 20px; |
| 597 |
} |
| 598 |
|
| 599 |
.kng-intro-title { |
| 600 |
font-size: 32px; |
| 601 |
} |
| 602 |
|
| 603 |
.kng-intro-subtitle { |
| 604 |
font-size: 16px; |
| 605 |
} |
| 606 |
|
| 607 |
.filters { |
| 608 |
flex-direction: column; |
| 609 |
gap: 15px; |
| 610 |
} |
| 611 |
|
| 612 |
.filters select { |
| 613 |
width: 100%; |
| 614 |
min-width: auto; |
| 615 |
} |
| 616 |
|
| 617 |
#section-tags { |
| 618 |
min-width: auto; |
| 619 |
} |
| 620 |
|
| 621 |
.sections-grid { |
| 622 |
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); |
| 623 |
gap: 15px; |
| 624 |
} |
| 625 |
|
| 626 |
.sections-grid-wrapper { |
| 627 |
padding: 20px; |
| 628 |
} |
| 629 |
|
| 630 |
.popup-content { |
| 631 |
margin: 20px; |
| 632 |
max-width: calc(100vw - 40px); |
| 633 |
max-height: calc(100vh - 40px); |
| 634 |
} |
| 635 |
|
| 636 |
.popup-content-nav { |
| 637 |
flex-direction: column; |
| 638 |
gap: 15px; |
| 639 |
text-align: center; |
| 640 |
} |
| 641 |
|
| 642 |
.premium-promo-popup-content { |
| 643 |
padding: 30px 20px; |
| 644 |
} |
| 645 |
|
| 646 |
.pr-popup-title { |
| 647 |
font-size: 20px; |
| 648 |
} |
| 649 |
|
| 650 |
.pr-popup-desc { |
| 651 |
font-size: 14px; |
| 652 |
} |
| 653 |
} |
| 654 |
|
| 655 |
@media (max-width: 480px) { |
| 656 |
.sections-grid { |
| 657 |
grid-template-columns: 1fr; |
| 658 |
} |
| 659 |
|
| 660 |
.kng-intro-title { |
| 661 |
font-size: 24px; |
| 662 |
} |
| 663 |
|
| 664 |
.section-overlay { |
| 665 |
flex-direction: column; |
| 666 |
gap: 10px; |
| 667 |
} |
| 668 |
|
| 669 |
.import-btn, |
| 670 |
.preview-btn { |
| 671 |
padding: 8px 16px; |
| 672 |
font-size: 12px; |
| 673 |
} |
| 674 |
} |