Spaces:
Running
Running
Download src/static/css/watchlist.css from heisbuba/quantvat: direct link, hf CLI and curl.
- Browser
- Download file 6.05 kB
-
https://huggingface.co/spaces/heisbuba/quantvat/resolve/main/src/static/css/watchlist.css
- Command line
-
hf download hf://spaces/heisbuba/quantvat/src/static/css/watchlist.css
-
curl -L -o watchlist.css https://huggingface.co/spaces/heisbuba/quantvat/resolve/main/src/static/css/watchlist.css
6.05 kB
| /* --- Layout Container --- */ | |
| .container { | |
| width: 95%; | |
| max-width: 1200px; | |
| margin: 20px auto; | |
| } | |
| /* --- Controls Header --- */ | |
| .controls-bar { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 25px; | |
| padding: 0 10px; | |
| } | |
| /* --- Bubble Canvas Logic --- */ | |
| .bubble-container { | |
| display: flex; | |
| flex-wrap: wrap; | |
| justify-content: center; | |
| gap: 12px; | |
| padding-bottom: 60px; | |
| } | |
| /* --- Bubble Component Architecture --- */ | |
| .bubble { | |
| border-radius: 50%; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| align-items: center; | |
| cursor: pointer; | |
| transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
| width: 105px; | |
| height: 105px; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .bubble:hover { | |
| transform: scale(1.1); | |
| z-index: 10; | |
| box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); | |
| } | |
| .b-sym { | |
| font-weight: 800; | |
| font-size: 0.95rem; | |
| line-height: 1; | |
| text-shadow: 0 1px 2px rgba(0,0,0,0.2); | |
| width: 85%; | |
| display: block; | |
| text-align: center; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .b-chg { | |
| font-size: 0.7rem; | |
| font-family: 'JetBrains Mono', monospace; | |
| margin-top: 4px; | |
| } | |
| /* Bullish State */ | |
| .bubble.pos { | |
| border: 1px solid var(--accent-green); | |
| background: var(--bg-card); | |
| } | |
| .bubble.pos .b-sym, .bubble.pos .b-chg { color: var(--accent-green); } | |
| /* Bearish State */ | |
| .bubble.neg { | |
| border: 1px solid var(--accent-red); | |
| background: rgba(239, 68, 68, 0.1); | |
| } | |
| .bubble.neg .b-sym, .bubble.neg .b-chg { color: var(--accent-red); } | |
| /* Neutral State */ | |
| .bubble.flat { | |
| border: 1px solid var(--border); | |
| background: var(--bg-card); | |
| color: var(--text-dim); | |
| } | |
| /* --- Empty State --- */ | |
| .wl-empty { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| color: var(--text-dim); | |
| text-align: center; | |
| padding: 80px 20px; | |
| width: 100%; | |
| } | |
| .wl-empty p { | |
| margin: 16px 0 8px; | |
| font-size: 0.95rem; | |
| line-height: 1.6; | |
| max-width: 280px; | |
| } | |
| .wl-empty a { | |
| color: var(--accent-green); | |
| font-weight: 600; | |
| font-size: 0.9rem; | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 6px; | |
| padding: 8px 16px; | |
| border-radius: 8px; | |
| transition: background 0.2s; | |
| } | |
| .wl-empty a:hover { | |
| background: rgba(16, 185, 129, 0.1); | |
| } | |
| /* --- Mobile --- */ | |
| @media (max-width: 480px) { | |
| .bubble-container { | |
| gap: 8px; | |
| padding: 10px 5px; | |
| } | |
| .bubble { | |
| width: 78px; | |
| height: 78px; | |
| } | |
| .b-sym { font-size: 0.8rem; } | |
| .b-chg { font-size: 0.65rem; } | |
| .detail-card { | |
| width: 100% ; | |
| max-width: 320px; | |
| padding: 20px; | |
| border-radius: 16px; | |
| } | |
| .metric-grid { | |
| gap: 8px; | |
| margin: 15px 0; | |
| } | |
| .m-box { | |
| padding: 8px; | |
| } | |
| .m-val { | |
| font-size: 0.8rem; | |
| } | |
| .btn-act { | |
| padding: 10px; | |
| font-size: 0.75rem; | |
| } | |
| } | |
| /* --- Modal Overlay Logic --- */ | |
| .detail-overlay { | |
| display: none; | |
| position: fixed; | |
| top: 0; left: 0; right: 0; bottom: 0; | |
| background: rgba(0, 0, 0, 0.85); | |
| z-index: 2000; | |
| justify-content: center; | |
| align-items: center; | |
| padding: 20px; | |
| } | |
| .detail-card { | |
| background: #151a1e; | |
| border: 1px solid var(--border); | |
| border-radius: 16px; | |
| padding: 24px; | |
| max-width: 340px; | |
| width: 100%; | |
| box-sizing: border-box; | |
| position: relative; | |
| text-align: center; | |
| box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); | |
| } | |
| .metric-grid { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 12px; | |
| margin: 20px 0; | |
| } | |
| .m-box { | |
| background: #0b0e11; | |
| padding: 10px; | |
| border-radius: 8px; | |
| border: 1px solid var(--border); | |
| } | |
| .m-lbl { | |
| font-size: 0.7rem; | |
| color: var(--text-dim); | |
| display: block; | |
| text-transform: uppercase; | |
| font-weight: 600; | |
| margin-bottom: 4px; | |
| } | |
| .m-val { | |
| font-size: 0.9rem; | |
| font-weight: 700; | |
| color: #fff; | |
| } | |
| /* Action Buttons */ | |
| .action-group { display: flex; gap: 10px; margin-top: 20px; } | |
| .btn-act { | |
| flex: 1; | |
| padding: 12px; | |
| border-radius: 10px; | |
| font-weight: 800; | |
| cursor: pointer; | |
| border: none; | |
| font-size: 0.8rem; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 6px; | |
| transition: all 0.2s ease; | |
| font-family: 'Inter', sans-serif; | |
| } | |
| .btn-act:disabled { | |
| opacity: 0.4; | |
| cursor: not-allowed; | |
| transform: none ; | |
| } | |
| .btn-refresh { background: var(--bg-input); color: #fff; border: 1px solid var(--border); } | |
| .btn-refresh:hover:not(:disabled) { background: rgba(255,255,255,0.08); } | |
| .btn-dive { background: var(--accent-green); color: #000; } | |
| .btn-dive:hover:not(:disabled) { background: #059669; transform: translateY(-1px); } | |
| .btn-del { background: rgba(239, 68, 68, 0.15); color: #ef4444; } | |
| .btn-del:hover:not(:disabled) { background: rgba(239, 68, 68, 0.25); transform: translateY(-1px); } | |
| @keyframes spin { | |
| to { transform: rotate(360deg); } | |
| } |