|
243 | 243 | } |
244 | 244 | .friday-theme-modal .theme-card { |
245 | 245 | position: relative; |
246 | | - height: 280px; |
247 | 246 | width: 100%; |
248 | 247 | max-width: 420px; |
249 | 248 | margin: 0 auto; |
250 | 249 | border-radius: 12px; |
251 | 250 | overflow: hidden; |
252 | 251 | cursor: pointer; |
253 | 252 | transition: all 0.3s ease; |
254 | | - background-size: cover; |
255 | | - background-position: center; |
256 | | - background-repeat: no-repeat; |
257 | | - aspect-ratio: 3/2; |
| 253 | + background: var(--background-primary); |
| 254 | + border: 1px solid var(--background-modifier-border); |
| 255 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
| 256 | + display: flex; |
| 257 | + flex-direction: column; |
258 | 258 | } |
259 | 259 | .friday-theme-modal .theme-card:hover { |
260 | | - transform: translateY(-4px); |
261 | | - box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); |
| 260 | + transform: translateY(-8px); |
| 261 | + box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15); |
262 | 262 | } |
263 | 263 | .friday-theme-modal .theme-card.selected { |
264 | | - box-shadow: 0 0 0 3px var(--interactive-accent); |
| 264 | + border-color: var(--interactive-accent); |
| 265 | + box-shadow: 0 0 0 2px var(--interactive-accent), 0 2px 8px rgba(0, 0, 0, 0.1); |
265 | 266 | } |
266 | 267 | .friday-theme-modal .theme-card.selected::after { |
267 | 268 | content: "\2713"; |
268 | 269 | position: absolute; |
269 | 270 | top: 12px; |
270 | 271 | right: 12px; |
271 | | - width: 24px; |
272 | | - height: 24px; |
| 272 | + width: 28px; |
| 273 | + height: 28px; |
273 | 274 | background: var(--interactive-accent); |
274 | 275 | color: var(--text-on-accent); |
275 | 276 | border-radius: 50%; |
276 | 277 | display: flex; |
277 | 278 | align-items: center; |
278 | 279 | justify-content: center; |
279 | | - font-size: 14px; |
| 280 | + font-size: 16px; |
280 | 281 | font-weight: bold; |
281 | | - z-index: 3; |
| 282 | + z-index: 10; |
| 283 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); |
282 | 284 | } |
283 | | -.friday-theme-modal .theme-overlay { |
| 285 | +.friday-theme-modal .theme-image-section { |
| 286 | + position: relative; |
| 287 | + width: 100%; |
| 288 | + aspect-ratio: 4 / 3; |
| 289 | + background-size: cover; |
| 290 | + background-position: center; |
| 291 | + background-repeat: no-repeat; |
| 292 | + flex-shrink: 0; |
| 293 | +} |
| 294 | +.friday-theme-modal .live-demo-btn { |
284 | 295 | position: absolute; |
285 | | - bottom: 0; |
286 | | - left: 0; |
287 | | - right: 0; |
288 | | - background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); |
289 | | - padding: 24px 20px 20px; |
290 | | - color: white; |
| 296 | + top: 50%; |
| 297 | + left: 50%; |
| 298 | + transform: translate(-50%, -50%); |
| 299 | + padding: 12px 32px; |
| 300 | + border: 2px solid white; |
| 301 | + border-radius: 8px; |
| 302 | + background: rgba(255, 255, 255, 0.95); |
| 303 | + color: #333; |
| 304 | + font-size: 16px; |
| 305 | + font-weight: 600; |
| 306 | + text-decoration: none; |
| 307 | + opacity: 0; |
| 308 | + transition: all 0.3s ease; |
| 309 | + z-index: 5; |
| 310 | + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); |
| 311 | + white-space: nowrap; |
| 312 | +} |
| 313 | +.friday-theme-modal .theme-card:hover .live-demo-btn { |
| 314 | + opacity: 1; |
| 315 | +} |
| 316 | +.friday-theme-modal .live-demo-btn:hover { |
| 317 | + background: white; |
| 318 | + transform: translate(-50%, -50%) scale(1.05); |
| 319 | +} |
| 320 | +.friday-theme-modal .theme-info-section { |
| 321 | + display: flex; |
| 322 | + padding: 16px; |
| 323 | + gap: 16px; |
| 324 | + border-bottom: 1px solid var(--background-modifier-border); |
| 325 | + min-height: 100px; |
| 326 | +} |
| 327 | +.friday-theme-modal .theme-info-left { |
| 328 | + flex: 1; |
| 329 | + display: flex; |
| 330 | + flex-direction: column; |
| 331 | + gap: 6px; |
| 332 | +} |
| 333 | +.friday-theme-modal .theme-info-right { |
| 334 | + display: flex; |
| 335 | + align-items: flex-start; |
| 336 | + padding-top: 4px; |
291 | 337 | } |
292 | 338 | .friday-theme-modal .theme-title { |
293 | | - margin: 0 0 6px 0; |
294 | | - font-size: 20px; |
| 339 | + margin: 0; |
| 340 | + font-size: 18px; |
295 | 341 | font-weight: 600; |
296 | | - color: white; |
297 | | - text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7); |
298 | | - line-height: 1.2; |
| 342 | + color: var(--text-normal); |
| 343 | + line-height: 1.3; |
299 | 344 | } |
300 | | -.friday-theme-modal .theme-author-info { |
301 | | - margin: 0 0 10px 0; |
302 | | - font-size: 13px; |
303 | | - color: rgba(255, 255, 255, 0.85); |
304 | | - text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); |
| 345 | +.friday-theme-modal .theme-meta-info { |
| 346 | + font-size: 12px; |
| 347 | + color: var(--text-muted); |
| 348 | + line-height: 1.4; |
305 | 349 | } |
306 | 350 | .friday-theme-modal .theme-author { |
307 | | - color: rgba(255, 255, 255, 0.8); |
| 351 | + color: var(--text-muted); |
308 | 352 | } |
309 | 353 | .friday-theme-modal .theme-version { |
310 | | - color: rgba(255, 255, 255, 0.9); |
| 354 | + color: var(--text-muted); |
311 | 355 | font-weight: 500; |
312 | 356 | } |
313 | 357 | .friday-theme-modal .separator { |
314 | | - color: rgba(255, 255, 255, 0.6); |
| 358 | + color: var(--text-faint); |
315 | 359 | } |
316 | 360 | .friday-theme-modal .theme-description { |
317 | | - margin: 0 0 14px 0; |
318 | | - font-size: 14px; |
319 | | - color: rgba(255, 255, 255, 0.9); |
320 | | - line-height: 1.4; |
321 | | - text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); |
| 361 | + margin: 0; |
| 362 | + font-size: 13px; |
| 363 | + color: var(--text-muted); |
| 364 | + line-height: 1.5; |
322 | 365 | display: -webkit-box; |
323 | 366 | -webkit-line-clamp: 2; |
324 | 367 | -webkit-box-orient: vertical; |
325 | 368 | overflow: hidden; |
326 | 369 | } |
| 370 | +.friday-theme-modal .theme-price { |
| 371 | + font-size: 20px; |
| 372 | + font-weight: 700; |
| 373 | + color: var(--text-accent); |
| 374 | + white-space: nowrap; |
| 375 | +} |
| 376 | +.friday-theme-modal .theme-bottom-section { |
| 377 | + display: flex; |
| 378 | + justify-content: space-between; |
| 379 | + align-items: center; |
| 380 | + padding: 12px 16px; |
| 381 | + gap: 12px; |
| 382 | +} |
327 | 383 | .friday-theme-modal .theme-tags { |
328 | 384 | display: flex; |
329 | 385 | flex-wrap: wrap; |
330 | | - gap: 8px; |
331 | | - margin-bottom: 14px; |
| 386 | + gap: 6px; |
| 387 | + flex: 1; |
332 | 388 | } |
333 | 389 | .friday-theme-modal .tag { |
334 | | - background: rgba(255, 255, 255, 0.25); |
335 | | - color: rgba(255, 255, 255, 0.95); |
| 390 | + background: var(--background-secondary); |
| 391 | + color: var(--text-muted); |
336 | 392 | padding: 4px 10px; |
337 | | - border-radius: 14px; |
338 | | - font-size: 12px; |
339 | | - backdrop-filter: blur(6px); |
340 | | - font-weight: 500; |
341 | | -} |
342 | | -.friday-theme-modal .theme-actions { |
343 | | - display: flex; |
344 | | - align-items: center; |
345 | | - justify-content: space-between; |
346 | | - gap: 10px; |
347 | | -} |
348 | | -.friday-theme-modal .demo-link { |
349 | | - color: rgba(255, 255, 255, 0.9); |
350 | | - text-decoration: none; |
351 | | - font-size: 14px; |
352 | | - text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); |
| 393 | + border-radius: 12px; |
| 394 | + font-size: 11px; |
353 | 395 | font-weight: 500; |
354 | | -} |
355 | | -.friday-theme-modal .demo-link:hover { |
356 | | - color: white; |
357 | | - text-decoration: underline; |
| 396 | + border: 1px solid var(--background-modifier-border); |
358 | 397 | } |
359 | 398 | .friday-theme-modal .use-theme-btn { |
360 | | - padding: 10px 18px; |
361 | | - border: 1px solid rgba(255, 255, 255, 0.4); |
| 399 | + padding: 8px 20px; |
| 400 | + border: 1px solid var(--interactive-accent); |
362 | 401 | border-radius: 6px; |
363 | | - background: rgba(255, 255, 255, 0.15); |
364 | | - color: white; |
365 | | - font-size: 14px; |
| 402 | + background: var(--interactive-accent); |
| 403 | + color: var(--text-on-accent); |
| 404 | + font-size: 13px; |
366 | 405 | font-weight: 500; |
367 | 406 | cursor: pointer; |
368 | 407 | transition: all 0.2s; |
369 | 408 | white-space: nowrap; |
370 | | - backdrop-filter: blur(8px); |
371 | | - text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); |
| 409 | + flex-shrink: 0; |
372 | 410 | } |
373 | 411 | .friday-theme-modal .use-theme-btn:hover { |
374 | | - background: rgba(255, 255, 255, 0.25); |
375 | | - border-color: rgba(255, 255, 255, 0.6); |
| 412 | + background: var(--interactive-accent-hover); |
| 413 | + border-color: var(--interactive-accent-hover); |
376 | 414 | transform: translateY(-1px); |
377 | 415 | } |
378 | 416 | .friday-theme-modal .use-theme-btn.current { |
379 | | - background: var(--interactive-accent); |
380 | | - color: var(--text-on-accent); |
381 | | - border-color: var(--interactive-accent); |
| 417 | + background: var(--background-secondary); |
| 418 | + color: var(--text-muted); |
| 419 | + border-color: var(--background-modifier-border); |
382 | 420 | cursor: default; |
383 | | - text-shadow: none; |
384 | 421 | } |
385 | 422 | .friday-theme-modal .use-theme-btn.current:hover { |
386 | 423 | transform: none; |
|
391 | 428 | max-width: 1200px; |
392 | 429 | } |
393 | 430 | .friday-theme-modal .theme-card { |
394 | | - height: 240px; |
395 | 431 | max-width: 360px; |
396 | 432 | } |
397 | 433 | .friday-theme-modal .skeleton-grid { |
398 | 434 | grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); |
399 | 435 | max-width: 1200px; |
400 | 436 | } |
401 | 437 | .friday-theme-modal .skeleton-card { |
402 | | - height: 240px; |
| 438 | + height: 320px; |
403 | 439 | max-width: 360px; |
404 | 440 | } |
405 | 441 | } |
|
409 | 445 | gap: 20px; |
410 | 446 | } |
411 | 447 | .friday-theme-modal .theme-card { |
412 | | - height: 200px; |
413 | 448 | max-width: 300px; |
414 | 449 | } |
| 450 | + .friday-theme-modal .theme-title { |
| 451 | + font-size: 16px; |
| 452 | + } |
| 453 | + .friday-theme-modal .theme-price { |
| 454 | + font-size: 18px; |
| 455 | + } |
415 | 456 | .friday-theme-modal .skeleton-grid { |
416 | 457 | grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); |
417 | 458 | gap: 20px; |
418 | 459 | } |
419 | 460 | .friday-theme-modal .skeleton-card { |
420 | | - height: 200px; |
| 461 | + height: 280px; |
421 | 462 | max-width: 300px; |
422 | 463 | } |
423 | 464 | .friday-theme-modal .search-section { |
|
433 | 474 | gap: 16px; |
434 | 475 | } |
435 | 476 | .friday-theme-modal .theme-card { |
436 | | - height: 180px; |
437 | 477 | max-width: 100%; |
438 | 478 | } |
| 479 | + .friday-theme-modal .theme-info-section { |
| 480 | + flex-direction: column; |
| 481 | + gap: 8px; |
| 482 | + } |
| 483 | + .friday-theme-modal .theme-info-right { |
| 484 | + align-items: center; |
| 485 | + justify-content: flex-start; |
| 486 | + } |
| 487 | + .friday-theme-modal .theme-bottom-section { |
| 488 | + flex-direction: column; |
| 489 | + align-items: stretch; |
| 490 | + gap: 10px; |
| 491 | + } |
| 492 | + .friday-theme-modal .use-theme-btn { |
| 493 | + width: 100%; |
| 494 | + } |
439 | 495 | .friday-theme-modal .skeleton-grid { |
440 | 496 | grid-template-columns: 1fr; |
441 | 497 | gap: 16px; |
442 | 498 | } |
443 | 499 | .friday-theme-modal .skeleton-card { |
444 | | - height: 180px; |
| 500 | + height: 260px; |
445 | 501 | max-width: 100%; |
446 | 502 | } |
447 | 503 | .friday-theme-modal .tags-grid { |
|
0 commit comments