diff options
Diffstat (limited to 'static/css/spotify.css')
| -rw-r--r-- | static/css/spotify.css | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/static/css/spotify.css b/static/css/spotify.css new file mode 100644 index 0000000..a3cde4d --- /dev/null +++ b/static/css/spotify.css @@ -0,0 +1,88 @@ +#music-player { + display: flex; + flex-direction: row; + gap: 1rem; + padding: 1rem; + border: 1px solid var(--color-soft-outline); + background-color: var(--color-soft-fill); +} + +#song-album-art { + width: 5rem; +} + +#track { + display: flex; + flex-direction: column; + flex-grow: 1; + gap: 0.2rem; +} + +#song-title { + color: var(--color-text); + font-size: 1rem; +} + +#song-details, #song-artist, #song-album { + color: var(--color-text-muted); +} + +#song-progress-bar { + display: flex; + flex-direction: row; + align-items: center; + color: var(--color-text-muted); + width: 100%; + gap: 0.5rem; +} + +#song-progress-bar-fill { + position: relative; + height: 4px; + flex-grow: 1; +} + +#song-progress-bar-background { + background-color: var(--color-soft-fill); + height: 4px; + border-radius: 2px; + width: 100%; +} + +#song-progress-bar-thumb { + background-color: var(--color-text-link); + height: 4px; + border-radius: 2px; + position: absolute; + left: 0; + top: 0; +} + +#metadata { + display: flex; + flex-direction: row; + justify-content: space-between; + gap: 0.5rem; + margin: 0.5rem 0; +} + +#connection-status { + color: var(--color-text-muted); + display: flex; + flex-direction: row; + align-items: baseline; + gap: 0.3rem; + flex-grow: 1; +} + +#connection-status-indicator { + display: inline-block; + background-color: #ff4136; + border-radius: 50%; + width: 0.5rem; + height: 0.5rem; +} + +#open-in-spotify { + display: none; +} |
