embed.scss
sha256:77fc45e703f90c0d603ecb1a0ce21ff21095728ca7dd0e146eb5e966c8f9fcc9
more passing tests from full test suite fun
Human
patch
6 days ago
| 1 | // embed.scss — compact dark theme for the MuseHub iframe embed player. |
| 2 | // Compiled separately to static/embed.css (not imported into app.scss). |
| 3 | // No chrome, no auth form — just the player widget. |
| 4 | |
| 5 | * { box-sizing: border-box; margin: 0; padding: 0; } |
| 6 | |
| 7 | body { |
| 8 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; |
| 9 | background: var(--bg-base); |
| 10 | color: #c9d1d9; |
| 11 | height: 100vh; |
| 12 | display: flex; |
| 13 | align-items: center; |
| 14 | justify-content: center; |
| 15 | } |
| 16 | |
| 17 | .player { |
| 18 | width: 100%; max-width: 100%; padding: 16px 20px; |
| 19 | background: var(--bg-surface); border: 1px solid #30363d; border-radius: 8px; |
| 20 | display: flex; flex-direction: column; gap: 12px; |
| 21 | } |
| 22 | |
| 23 | .player-header { display: flex; align-items: center; gap: 12px; } |
| 24 | |
| 25 | .logo-mark { font-size: 20px; flex-shrink: 0; } |
| 26 | |
| 27 | .track-info { flex: 1; overflow: hidden; } |
| 28 | |
| 29 | .track-title { |
| 30 | font-size: 14px; font-weight: 600; color: var(--text-primary); |
| 31 | white-space: nowrap; overflow: hidden; text-overflow: ellipsis; |
| 32 | } |
| 33 | |
| 34 | .track-sub { |
| 35 | font-size: 11px; color: var(--text-secondary); margin-top: 2px; |
| 36 | white-space: nowrap; overflow: hidden; text-overflow: ellipsis; |
| 37 | } |
| 38 | |
| 39 | .controls { display: flex; align-items: center; gap: 10px; } |
| 40 | |
| 41 | .play-btn { |
| 42 | width: 36px; height: 36px; border-radius: 50%; |
| 43 | background: #238636; border: none; cursor: pointer; |
| 44 | display: flex; align-items: center; justify-content: center; |
| 45 | flex-shrink: 0; font-size: 14px; color: #fff; |
| 46 | transition: background 0.15s; |
| 47 | &:hover { background: #2ea043; } |
| 48 | &:disabled { background: #30363d; cursor: not-allowed; } |
| 49 | } |
| 50 | |
| 51 | .progress-wrap { flex: 1; display: flex; flex-direction: column; gap: 4px; } |
| 52 | |
| 53 | .progress-bar { |
| 54 | width: 100%; height: 4px; background: #30363d; border-radius: 2px; |
| 55 | cursor: pointer; position: relative; overflow: hidden; |
| 56 | } |
| 57 | |
| 58 | .progress-fill { |
| 59 | height: 100%; width: 0%; background: var(--color-accent); |
| 60 | border-radius: 2px; transition: width 0.1s linear; |
| 61 | pointer-events: none; |
| 62 | } |
| 63 | |
| 64 | .time-row { |
| 65 | display: flex; justify-content: space-between; |
| 66 | font-size: 11px; color: var(--text-secondary); |
| 67 | } |
| 68 | |
| 69 | .footer-link { display: flex; justify-content: flex-end; align-items: center; } |
| 70 | |
| 71 | .footer-link a { |
| 72 | font-size: 11px; color: var(--color-accent); text-decoration: none; |
| 73 | display: flex; align-items: center; gap: 4px; |
| 74 | &:hover { text-decoration: underline; } |
| 75 | } |
| 76 | |
| 77 | .status { font-size: 12px; color: var(--text-secondary); text-align: center; padding: 8px 0; } |
| 78 | .status.error { color: var(--color-danger); } |
File History
1 commit
sha256:77fc45e703f90c0d603ecb1a0ce21ff21095728ca7dd0e146eb5e966c8f9fcc9
more passing tests from full test suite fun
Human
patch
6 days ago