|
429 | 429 | .dark-mode .ai-game-import-hint { |
430 | 430 | color: #9ca3af; |
431 | 431 | } |
| 432 | + |
| 433 | +/* ─── Skills Picker Dropdown ─── */ |
| 434 | +.ai-game-skill-select { |
| 435 | + border: 1px solid rgba(16, 185, 129, 0.3); |
| 436 | + border-radius: 6px; |
| 437 | + padding: 3px 6px; |
| 438 | + font-size: 0.75rem; |
| 439 | + background: transparent; |
| 440 | + color: inherit; |
| 441 | + max-width: 150px; |
| 442 | + cursor: pointer; |
| 443 | + transition: border-color 0.2s; |
| 444 | +} |
| 445 | +.ai-game-skill-select:hover { |
| 446 | + border-color: #10b981; |
| 447 | +} |
| 448 | +.ai-game-skill-select:focus { |
| 449 | + outline: none; |
| 450 | + border-color: #10b981; |
| 451 | + box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15); |
| 452 | +} |
| 453 | + |
| 454 | +/* ─── Skill Pills ─── */ |
| 455 | +.ai-game-skill-pills { |
| 456 | + display: flex; |
| 457 | + flex-wrap: wrap; |
| 458 | + gap: 6px; |
| 459 | + padding: 8px 14px; |
| 460 | + background: rgba(16, 185, 129, 0.04); |
| 461 | + border-bottom: 1px solid rgba(16, 185, 129, 0.1); |
| 462 | +} |
| 463 | + |
| 464 | +.ai-game-skill-pill { |
| 465 | + display: inline-flex; |
| 466 | + align-items: center; |
| 467 | + gap: 4px; |
| 468 | + padding: 3px 10px; |
| 469 | + border-radius: 14px; |
| 470 | + background: rgba(16, 185, 129, 0.1); |
| 471 | + color: #059669; |
| 472 | + font-size: 0.72rem; |
| 473 | + font-weight: 500; |
| 474 | + cursor: default; |
| 475 | + transition: all 0.15s; |
| 476 | + position: relative; |
| 477 | + user-select: none; |
| 478 | +} |
| 479 | +.ai-game-skill-pill:hover { |
| 480 | + background: rgba(16, 185, 129, 0.18); |
| 481 | +} |
| 482 | + |
| 483 | +.ai-game-skill-pill-remove { |
| 484 | + border: none; |
| 485 | + background: none; |
| 486 | + color: #6b7280; |
| 487 | + cursor: pointer; |
| 488 | + font-size: 0.65rem; |
| 489 | + padding: 0 2px; |
| 490 | + line-height: 1; |
| 491 | + border-radius: 50%; |
| 492 | + transition: all 0.15s; |
| 493 | + display: inline-flex; |
| 494 | + align-items: center; |
| 495 | + margin-left: 2px; |
| 496 | +} |
| 497 | +.ai-game-skill-pill-remove:hover { |
| 498 | + color: #ef4444; |
| 499 | + background: rgba(239, 68, 68, 0.1); |
| 500 | +} |
| 501 | + |
| 502 | +/* ─── Skill Tooltip ─── */ |
| 503 | +.ai-game-skill-tooltip { |
| 504 | + position: absolute; |
| 505 | + bottom: calc(100% + 8px); |
| 506 | + left: 50%; |
| 507 | + transform: translateX(-50%); |
| 508 | + background: #1f2937; |
| 509 | + color: #e5e7eb; |
| 510 | + padding: 8px 12px; |
| 511 | + border-radius: 8px; |
| 512 | + font-size: 0.72rem; |
| 513 | + font-weight: 400; |
| 514 | + line-height: 1.4; |
| 515 | + white-space: normal; |
| 516 | + min-width: 200px; |
| 517 | + max-width: 300px; |
| 518 | + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3); |
| 519 | + z-index: 100; |
| 520 | + pointer-events: none; |
| 521 | + opacity: 0; |
| 522 | + transition: opacity 0.15s; |
| 523 | +} |
| 524 | +.ai-game-skill-tooltip.visible { |
| 525 | + opacity: 1; |
| 526 | +} |
| 527 | +.ai-game-skill-tooltip::after { |
| 528 | + content: ''; |
| 529 | + position: absolute; |
| 530 | + top: 100%; |
| 531 | + left: 50%; |
| 532 | + transform: translateX(-50%); |
| 533 | + border: 5px solid transparent; |
| 534 | + border-top-color: #1f2937; |
| 535 | +} |
| 536 | + |
| 537 | +/* ─── Dark Mode: Skills ─── */ |
| 538 | +[data-theme="dark"] .ai-game-skill-select, |
| 539 | +.dark-mode .ai-game-skill-select { |
| 540 | + border-color: rgba(16, 185, 129, 0.4); |
| 541 | +} |
| 542 | + |
| 543 | +[data-theme="dark"] .ai-game-skill-pills, |
| 544 | +.dark-mode .ai-game-skill-pills { |
| 545 | + background: rgba(16, 185, 129, 0.06); |
| 546 | + border-bottom-color: rgba(16, 185, 129, 0.15); |
| 547 | +} |
| 548 | + |
| 549 | +[data-theme="dark"] .ai-game-skill-pill, |
| 550 | +.dark-mode .ai-game-skill-pill { |
| 551 | + background: rgba(16, 185, 129, 0.15); |
| 552 | + color: #34d399; |
| 553 | +} |
| 554 | + |
| 555 | +[data-theme="dark"] .ai-game-skill-pill:hover, |
| 556 | +.dark-mode .ai-game-skill-pill:hover { |
| 557 | + background: rgba(16, 185, 129, 0.25); |
| 558 | +} |
| 559 | + |
| 560 | +[data-theme="dark"] .ai-game-skill-pill-remove, |
| 561 | +.dark-mode .ai-game-skill-pill-remove { |
| 562 | + color: #6b7280; |
| 563 | +} |
0 commit comments