.player { z-index: 50; position: fixed; left: 0; right: 0; bottom: 0; height: 0; max-height: 0; transition: max-height 0.5s; &.visible { height: var(--player-height); max-height: var(--player-height); } .playback-slider { margin: 0 auto; margin-bottom: -.8rem; &::-moz-range-track, &::-moz-range-progress { border-radius: 0; } &::-moz-range-thumb { border: 0; height: 0; width: 0; } &:hover::-moz-range-thumb { border-radius: 50%; height: 1.25rem; width: 1.25rem; } } .background { display: flex; flex-direction: row; align-content: center; background: var(--secondary-background); color: var(--color); padding: .25rem .5rem; padding-top: calc(.25rem + .3rem); margin-top: -.3rem; > div { display: flex; flex-direction: row; align-items: center; justify-content: center; flex: 1; } .track-info { justify-content: start; img { width: 60px; height: 60px; margin-right: .5rem; cursor: pointer; } > div { display: flex; flex-direction: column; min-width: 0; > * { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } } button { margin-left: 1rem; } } &> :last-child { justify-content: end; details .icon, input { margin: auto; } } } .volume-slider { height: 9rem; width: 1.6rem; margin: auto; } button, [role=button] { padding: .5rem; } .play { padding: .75rem; .icon { height: 40px; width: 40px; } } .previous, .next { .icon { height: 20px; width: 20px; } } .previous { .icon { transform: rotate(180deg); } } } @media(max-width: 850px) { .player { bottom: var(--navbar-height); .background { > div { flex: unset; &:first-child { flex: 1; } } } } } @keyframes slide-text { 0% { transform: translateX(35%); } 100% { transform: translateX(-65%); } }