| body { |
| font-family: 'Source Sans Pro', sans-serif; |
| background-color: #f0f0f0; |
| margin: 0; |
| padding: 0; |
| overflow: hidden; |
| } |
|
|
| |
| canvas { |
| display: block; |
| width: 100vw; |
| height: 100vh; |
| } |
|
|
| .lil-gui { |
| font-size: 16px; |
| } |
|
|
| .info-box { |
| position: absolute; |
| top: 10px; |
| left: 10px; |
| background-color: rgba(0, 0, 0, 0.5); |
| color: white; |
| padding: 15px; |
| |
| width: 220px; |
| box-shadow: 0 2px 4px rgba(255, 255, 255, 0.3); |
| } |
|
|
| #scrubber { |
| width: 325px; |
| } |
|
|
| .player { |
| position: absolute; |
| bottom: 20px; |
| left: 50%; |
| transform: translateX(-50%); |
| display: flex; |
| justify-content: center; |
| gap: 10px; |
|
|
| align-items: center; |
| background-color: #333; |
| padding: 10px 20px; |
| border-radius: 10px; |
| box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); |
| width: 600px; |
| } |
|
|
| .player button { |
| background-color: transparent; |
| border: none; |
| color: white; |
| font-size: 20px; |
| cursor: pointer; |
| margin-right: 10px; |
| width: 35px; |
| height: 35px; |
| display: flex; |
| justify-content: center; |
| align-items: center; |
| } |
|
|
| .player button i { |
| color: white; |
| } |
|
|
| .player button:hover i, |
| .player button:focus i, |
| .player button:active i { |
| color: white; |
| } |
|
|
|
|
| |
| .progress-bar-container { |
| position: relative; |
| flex-grow: 2; |
| margin: 0 10px; |
| height: 10px; |
| background-color: #e0e0e0; |
| border-radius: 5px; |
| overflow: visible; |
| width: 100%; |
| display: flex; |
| } |
|
|
| |
| .progress-bar { |
| appearance: none; |
| position: absolute; |
| top: 0; |
| left: 0; |
| width: 100%; |
| height: 10px; |
| background-color: transparent; |
| position: relative; |
| z-index: 3; |
| cursor: pointer; |
| margin: 0; |
| } |
|
|
| |
| .progress-bar::-webkit-slider-thumb { |
| appearance: none; |
| width: 16px; |
| height: 16px; |
| background-color: white; |
| border-radius: 50%; |
| cursor: pointer; |
| box-shadow: 0 0 4px rgba(0, 0, 0, 0.5); |
| z-index: 4; |
| position: relative; |
| } |
|
|
| |
| .progress-bar::-moz-range-thumb { |
| width: 16px; |
| height: 16px; |
| background-color: white; |
| border: none; |
| border-radius: 50%; |
| cursor: pointer; |
| box-shadow: 0 0 4px rgba(0, 0, 0, 0.5); |
| z-index: 4; |
| position: relative; |
| } |
|
|
| |
| .buffered-bar { |
| position: absolute; |
| top: 0; |
| left: 0; |
| height: 100%; |
| width: 0%; |
| background-color: #aaa; |
| z-index: 1; |
| border-radius: 5px; |
| pointer-events: none; |
| } |
|
|
| |
| .played-bar { |
| position: absolute; |
| top: 0; |
| left: 0; |
| height: 100%; |
| width: 0%; |
| background-color: #3498db; |
| z-index: 2; |
| border-radius: 5px; |
| pointer-events: none; |
| } |
|
|
| .time { |
| color: white; |
| font-size: 16px; |
| text-align: center; |
| } |
|
|
| .time-container { |
| display: flex; |
| justify-content: space-between; |
| width: 100px; |
| } |
|
|
| .volume-container { |
| margin-left: 10px; |
| display: flex; |
| align-items: center; |
| } |
|
|
| .volume-icon-container { |
| color: white; |
| width: 20px; |
| text-align: center; |
| } |
|
|
| .volume-bar { |
| appearance: none; |
| width: 80px; |
| height: 5px; |
| background-color: #555; |
| border-radius: 5px; |
| outline: none; |
| } |
|
|
| .volume-bar::-webkit-slider-thumb { |
| appearance: none; |
| width: 12px; |
| height: 12px; |
| background-color: white; |
| border-radius: 50%; |
| cursor: pointer; |
| } |
|
|
| .volume-bar::-moz-range-thumb { |
| width: 12px; |
| height: 12px; |
| background-color: white; |
| border-radius: 50%; |
| cursor: pointer; |
| } |
|
|
| .volume-icon { |
| color: white; |
| font-size: 16px; |
| } |
|
|
| |
| .volume-icon:hover, |
| .volume-icon:focus, |
| .volume-icon:active, |
| .volume-icon-container:hover i, |
| .volume-icon-container:focus i, |
| .volume-icon-container:active i { |
| color: white; |
| } |
|
|
|
|