Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -608,6 +608,65 @@ input[type="range"]::-webkit-slider-runnable-track {
|
|
| 608 |
padding: 4px 6px !important;
|
| 609 |
}
|
| 610 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 611 |
/* ========================================
|
| 612 |
Gradioボタン: VIEW MORE風 / セリフ体 / シャープ
|
| 613 |
======================================== */
|
|
|
|
| 608 |
padding: 4px 6px !important;
|
| 609 |
}
|
| 610 |
|
| 611 |
+
/* ========================================
|
| 612 |
+
Radioボタン: ダイヤモンド◆スタイル
|
| 613 |
+
======================================== */
|
| 614 |
+
[data-testid="radio-group"] {
|
| 615 |
+
background: rgba(255,255,255,0.5) !important;
|
| 616 |
+
border: 1.25px solid #a8c8a8 !important;
|
| 617 |
+
border-radius: 0 !important;
|
| 618 |
+
padding: 14px 16px !important;
|
| 619 |
+
box-shadow: 3px 3px 0px 0px #c0d8c0 !important;
|
| 620 |
+
}
|
| 621 |
+
[data-testid="radio-group"] label {
|
| 622 |
+
display: flex !important;
|
| 623 |
+
align-items: center !important;
|
| 624 |
+
gap: 10px !important;
|
| 625 |
+
padding: 8px 12px !important;
|
| 626 |
+
cursor: pointer !important;
|
| 627 |
+
transition: all 0.2s ease !important;
|
| 628 |
+
border-bottom: 1px solid rgba(138,170,138,0.15) !important;
|
| 629 |
+
font-family: 'Cormorant Garamond', 'Georgia', serif !important;
|
| 630 |
+
font-size: 14px !important;
|
| 631 |
+
font-weight: 500 !important;
|
| 632 |
+
letter-spacing: 0.08em !important;
|
| 633 |
+
}
|
| 634 |
+
[data-testid="radio-group"] label:last-child {
|
| 635 |
+
border-bottom: none !important;
|
| 636 |
+
}
|
| 637 |
+
[data-testid="radio-group"] label:hover {
|
| 638 |
+
background: rgba(178,216,210,0.15) !important;
|
| 639 |
+
}
|
| 640 |
+
/* ラジオ丸を隠してダイヤモンドに */
|
| 641 |
+
[data-testid="radio-group"] input[type="radio"] {
|
| 642 |
+
-webkit-appearance: none !important;
|
| 643 |
+
appearance: none !important;
|
| 644 |
+
width: 14px !important;
|
| 645 |
+
height: 14px !important;
|
| 646 |
+
min-width: 14px !important;
|
| 647 |
+
border: 1.5px solid #8aaa8a !important;
|
| 648 |
+
border-radius: 0 !important;
|
| 649 |
+
background: #ffffff !important;
|
| 650 |
+
transform: rotate(45deg) !important;
|
| 651 |
+
cursor: pointer !important;
|
| 652 |
+
transition: all 0.25s ease !important;
|
| 653 |
+
box-shadow: 1px 1px 3px rgba(0,0,0,0.1) !important;
|
| 654 |
+
margin: 0 !important;
|
| 655 |
+
padding: 0 !important;
|
| 656 |
+
flex-shrink: 0 !important;
|
| 657 |
+
}
|
| 658 |
+
[data-testid="radio-group"] input[type="radio"]:checked {
|
| 659 |
+
background: #3a5a3a !important;
|
| 660 |
+
border-color: #3a5a3a !important;
|
| 661 |
+
box-shadow: 2px 2px 4px rgba(0,0,0,0.2) !important;
|
| 662 |
+
}
|
| 663 |
+
/* チェック時のラベルテキスト強調 */
|
| 664 |
+
[data-testid="radio-group"] input[type="radio"]:checked + span,
|
| 665 |
+
[data-testid="radio-group"] input[type="radio"]:checked ~ span {
|
| 666 |
+
color: #2a3a2a !important;
|
| 667 |
+
font-weight: 600 !important;
|
| 668 |
+
}
|
| 669 |
+
|
| 670 |
/* ========================================
|
| 671 |
Gradioボタン: VIEW MORE風 / セリフ体 / シャープ
|
| 672 |
======================================== */
|