PlayerControls.css
| 1 | .player-controls { |
| 2 | padding: 1rem; |
| 3 | border-top: 1px solid var(--color-c); |
| 4 | display: flex; |
| 5 | flex-direction: column; |
| 6 | gap: 0.5rem; |
| 7 | } |
| 8 | |
| 9 | .control-buttons { |
| 10 | display: flex; |
| 11 | flex-wrap: wrap; |
| 12 | justify-content: center; |
| 13 | gap: 1rem; |
| 14 | |
| 15 | button { |
| 16 | background: none; |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | .progress-container { |
| 21 | display: flex; |
| 22 | align-items: center; |
| 23 | gap: 0.5rem; |
| 24 | } |
| 25 | |
| 26 | .time-container { |
| 27 | display: flex; |
| 28 | justify-content: center; |
| 29 | gap: 0.5rem; |
| 30 | } |
| 31 | .track-info { |
| 32 | display: flex; |
| 33 | justify-content: center; |
| 34 | gap: 1rem; |
| 35 | margin-bottom: 0.5rem; |
| 36 | text-align: center; |
| 37 | font-weight: bold; |
| 38 | .loading-spinner { |
| 39 | width: 24px !important; |
| 40 | height: 24px !important; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | .progress-bar { |
| 45 | position: relative; |
| 46 | flex: 1; |
| 47 | height: 8px; |
| 48 | background-color: #ddd; |
| 49 | cursor: pointer; |
| 50 | } |
| 51 | |
| 52 | .buffered-fill, |
| 53 | .progress-fill { |
| 54 | position: absolute; |
| 55 | top: 0; |
| 56 | left: 0; |
| 57 | height: 100%; |
| 58 | cursor: pointer; |
| 59 | background-color: #0cc069; |
| 60 | } |
| 61 | |
| 62 | .progress-fill { |
| 63 | background-color: #4a6da7; |
| 64 | z-index: 1; |
| 65 | } |
| 66 | |
| 67 | .volume-control { |
| 68 | display: flex; |
| 69 | align-items: center; |
| 70 | padding: 0.25rem 0.5rem; |
| 71 | gap: 0.5rem; |
| 72 | min-width: 0; |
| 73 | svg { |
| 74 | flex-shrink: 0; |
| 75 | } |
| 76 | input { |
| 77 | min-width: 0; |
| 78 | } |
| 79 | } |
| 80 |