.audio-player { width: 100%; height: 100%; box-shadow: 0 0px 16px 0 rgba(0, 0, 0, 0.15); display: flex; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; user-select: none; -webkit-user-select: none; background-color: rgba(0.3, 0.3, 0.3, 0.7); } .audio-player .play-pause-btn { display: none; cursor: pointer; } .audio-player .play-pause-btn path { fill: #209f77; } .audio-player .spinner { width: 18px; height: 18px; background-image: url(../images/loading.png); background-size: cover; background-repeat: no-repeat; animation: mp-spin 0.4s linear infinite; } .audio-player .slider { flex-grow: 1; background-color: #124d3a; cursor: pointer; position: relative; } .audio-player .slider .progress { background-color: #209f77; border-radius: inherit; position: absolute; pointer-events: none; } .audio-player .slider .progress .pin { height: 16px; width: 16px; border-radius: 8px; background-color: #209f77; position: absolute; pointer-events: all; box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.32); } .audio-player .controls { font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 18px; color: #124d3a; display: flex; flex-grow: 1; justify-content: space-between; align-items: center; margin-left: 24px; margin-right: 24px; } .audio-player .controls .slider { margin-left: 16px; margin-right: 16px; border-radius: 2px; height: 6px; } .audio-player .controls .slider .progress { width: 0; height: 100%; } .audio-player .controls .slider .progress .pin { right: -8px; top: -5px; } .audio-player .controls span { cursor: default; } .audio-player .current-time, .audio-player .total-time { color: #209f77; } .audio-player .volume { position: relative; } .audio-player .volume .volume-btn { cursor: pointer; } .audio-player .volume .volume-btn path { fill: #209f77; } .audio-player .volume .volume-controls { position: absolute; display: flex; width: 30px; height: 135px; background-color: rgba(0.3, 0.3, 0.3, 0.7); left: -6px; bottom: 42px; flex-direction: column; align-items: center; } .audio-player .volume .volume-controls.hidden { display: none; } .audio-player .volume .volume-controls .slider { margin-top: 12px; margin-bottom: 12px; width: 6px; border-radius: 3px; } .audio-player .volume .volume-controls .slider .progress { bottom: 0; height: 100%; width: 6px; } .audio-player .volume .volume-controls .slider .progress .pin { left: -5px; top: -8px; } .audio-player svg, .audio-player img { display: block; } .audio-player .play-pause-btn::after { content: ''; position: absolute; display: block; width: 65px; height: 50px; top: 0; left: 0; } @keyframes mp-spin { from { transform: rotateZ(0); } to { transform: rotateZ(1turn); } }