@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600;700&display=swap'); * { padding: 0; margin: 0; box-sizing: border-box; color: #ffffff; font-family: 'Poppins', sans-serif; } html, body { background-color: #020202; -webkit-user-select: none; -ms-user-select: none; user-select: none; white-space: nowrap; max-height: 100%; } a { text-decoration: none; } /* width */ ::-webkit-scrollbar { width: 10px; } /* Handle */ ::-webkit-scrollbar-thumb { background: #888; } /* Handle on hover */ ::-webkit-scrollbar-thumb:hover { background: #555; } .container { display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; } .dropdown-container { display: flex; flex-direction: column; position: relative; cursor: pointer; border-radius: 10px; transition: all .1s linear; } .dropdown-container:hover { background-color: rgba(142, 142, 142, 20%); } .dropdown-container:hover ul { opacity: 1; } .dropdown-container ul { list-style: none; position: absolute; padding: .5rem; border-radius: 10px; top: 68px; width: 100%; opacity: 0; background-color: rgba(142, 142, 142, 20%); transition: all .1s linear; } .dropdown-container li { display: flex; padding: .5rem .8rem; justify-content: center; align-items: center; justify-content: space-between; font-size: 14px; border-radius: 4px; transition: all .2s linear; color: #FF0000; } .dropdown-container li:hover { background-color: rgba(142, 142, 142, 30%); } .header { display: flex; padding: 1rem; justify-content: space-between; align-items: center; position: sticky; top: 0; } .header .left { display: flex; } .header .left p { font-size: 20; padding: 12px; border-radius: 10px; margin: 0rem 0.4rem; transition: all 0.2s; cursor: pointer; } .header .left p:hover { background-color: rgba(142, 142, 142, 20%); } .header .center .search-contrainer { display: flex; justify-content: center; position: relative; } .header .center .search-contrainer .search-bar { display: flex; justify-content: space-between; align-items: center; border-radius: 8px; padding: .6rem 1rem; width: 500px; overflow: hidden; background-color: rgba(33, 33, 33, 255); } .header .center .search-loader { display: none; border: 3px solid transparent; border-radius: 50%; border-top: 3px solid #c9cbcc; width: 20px; height: 20px; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .header .center input { margin: 0 1rem; background-color: transparent; width: 100%; height: 100%; border: none; outline: none; font-size: 15px; } .header .center .search-result-list { position: absolute; display: none; overflow-x: hidden; overflow-y: auto; top: 50px; width: 100%; height: 400px; border-radius: 8px; padding: 1rem .5rem; background-color: rgba(33, 33, 33, 255); } .header .search-result { display: flex; justify-content: space-between; align-items: center; border-radius: 8px; padding: .5rem 1rem; cursor: pointer; margin-bottom: .5rem; } .header .search-result:hover { background-color: rgba(142, 142, 142, 20%); } .header .search-result-left { display: flex; align-items: center; overflow: hidden; margin-right: .6rem; max-width: 90%; } .header .search-result-info p.info { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } .header .search-result-info p.desc { font-size: 14px; color: gray; } .header .search-result img { width: auto; height: 50px; border-radius: 4px; margin-right: .5rem; } .header .right .account { display: flex; align-items: center; border-radius: 12px; padding: 10px; } .header .right .account img { border-radius: 2rem; height: 40; margin-right: .6rem; } .main { display: flex; flex-grow: 1; padding: 0rem 4rem; justify-content: space-around; } .main .toastContrainer { position: absolute; left: 2%; } .toastContrainer .toast { display: flex; position: relative; padding: .8rem; margin-top: 1rem; background-color: rgba(142, 142, 142, 30%); border-radius: 10px; overflow: hidden; transform: translateX(-100%); animation: moveRight .5s linear forwards; } @keyframes moveRight { 100% { transform: translateX(0); } } .toastContrainer .toast::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background-color: azure; animation: anim 6s linear forwards; } @keyframes anim { 100% { width: 0; } } .toastContrainer .toast img { border-radius: 10px; width: 40px; height: 40px; margin-right: .7rem; } .toastContrainer .toast .content p.username { font-size: 15px; } .toastContrainer .toast .content p.message { font-size: 10px; width: 300px; white-space: pre-wrap; } .main .thumbnail { display: flex; justify-content: center; align-items: center; flex: 1; } .main .thumbnail img { padding: 1rem; width: 80%; height: auto; } .player-controller { position: sticky; bottom: 0; } .progress-bar-container { position: relative; width: 100%; } .seek-bar { position: absolute; appearance: none; width: 100%; height: 4px; cursor: pointer; overflow: hidden; background-color: rgb(73, 73, 73); } .seek-bar:hover { height: 8px; } .seek-bar::-webkit-slider-thumb { appearance: none; width: 1px; height: 20px; background: rgb(171, 168, 168); box-shadow: -1000px 0 0 1000px rgb(171, 168, 168); } .control-container { display: flex; padding: 1rem; align-items: center; background-color: #212121; justify-content: space-between; } .player-controller .left { display: flex; flex: 1; } .player-controller .left .control { display: flex; align-items: center; } .player-controller .left .control i { cursor: pointer; padding: 5px; margin-left: .8rem; font-size: 20; } .player-controller .left .control #play-pause-button { font-size: 30; } .player-controller .left .position { display: flex; padding: 10px; margin-left: 1rem; } .player-controller .center { display: flex; padding: 0rem 1rem; justify-content: center; align-items: center; flex-grow: 1; flex: 2; max-width: 40%; } .player-controller .center img { border-radius: .2rem; height: 40; } .player-controller .center .data { margin-left: 1rem; overflow: hidden; } .player-controller .center .desc { color: grey; font-size: 13; } .player-controller .right { flex: 1; display: flex; justify-content: right; align-items: center; padding-right: 5px; } .player-controller .right i { cursor: pointer; padding: 5px; margin-left: .8rem; font-size: 20; color: gray; transition: color .2s linear; } .player-controller .right i:hover { color: #fff; } .main .queue-list { overflow-y: auto; overflow-x: hidden; flex: 1; display: flex; justify-content: center; } .track { display: flex; justify-content: space-between; align-items: center; cursor: pointer; border-radius: .5rem; padding: 5px 15px; overflow: hidden; margin-bottom: .5rem; transition: background-color .2s, transform .2s; } .track:hover { background-color: rgba(142, 142, 142, 20%); } .track.active { background-color: rgba(142, 142, 142, 30%); } .track .left { display: flex; justify-content: left; align-items: center; margin-right: .5rem; max-width: 90%; overflow: hidden; } .track .left i { cursor: move; margin-right: 1rem; font-size: 20px; } .track .left img { padding: 5px; height: 50; border-radius: .5rem; } .track .left .info { margin-left: .5rem; overflow: hidden; } .track .left .info p { text-overflow: ellipsis; overflow: hidden; } .track .left .info p.desc { color: grey; font-size: 13; } .main .queue-list ul { list-style: none; width: 90%; padding: 1rem; max-height: 300px; } @media (max-width: 935px) { .main { flex-direction: column; justify-content: center; padding: 0; } .main .toastContrainer { display: none; } .header .center { display: none; } .player-controller .left .position { display: none; } .player-controller .center img { display: none; } ul { width: 100%; } } @media (max-width: 640px) { .main { padding: 0; } .main .queue-list { overflow-y: auto; overflow-x: hidden; flex: 1; display: flex; justify-content: center; min-width: 100%; } }