*::-webkit-scrollbar { width: 10px; height: 10px; } *::-webkit-scrollbar-thumb { background-color: rgb(180, 180, 180); border-radius: 5px; box-shadow: inset 3px 3px 3px rgba(255, 255, 255, 0.2); } *::-webkit-scrollbar-track { background-color: rgb(240, 240, 240); border-radius: 5px; box-shadow: inset 3px -3px 5px rgba(100, 100, 100, 0.2); } *::-webkit-scrollbar-corner { display: none; } body { position: relative; width: 100vw; height: 100vh; padding: 0; margin: 0; font-size: 0.9em; } header { position: relative; width: 100%; height: 20%; display: flex; justify-content: center; align-items: flex-end; } header > img { position: relative; width: auto; height: 80%; } main { position: relative; width: 100%; height: 75%; display: flex; justify-content: space-between; align-items: center; } .side-bar { position: relative; width: 15%; height: 90%; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; } .side-bar > button { position: relative; width: auto; height: auto; font-size: 0.9em; outline: none; border: none; background-color: transparent; border-bottom: 1px solid rgb(0, 0, 0); margin-bottom: 2em; cursor: pointer; } .movie-area { position: relative; width: 20%; height: 90%; padding-right: 5%; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; } .title { position: relative; width: 100%; height: 2em; display: flex; justify-content: left; align-items: center; } .title > button { position: relative; width: auto; height: 70%; font-size: 0.9em; margin-left: 1em; padding: 0.2em 1em; outline: none; border: none; border-radius: 5px; background-image: linear-gradient(to bottom, rgb(250, 250, 250), rgb(230, 230, 230)); box-shadow: 1px 1px 3px rgba(100, 100, 100, 0.6); display: flex; justify-content: center; align-items: center; cursor: pointer; } .title > button:active { position: relative; top: 2px; } .movies, .playlists { position: relative; width: 100%; height: calc(90% - 2em); border: 1px solid rgb(0, 0, 0); border-radius: 10px; margin: auto; overflow-x: hidden; overflow-y: auto; } .movie { position: relative; width: 90%; height: 2.5em; min-height: 2.5em; margin: 3% 5%; border-bottom: 1px solid rgb(0, 0, 0); display: flex; justify-items: left; align-items: center; } .movie > video { position: relative; width: auto; max-width: 20%; height: auto; max-height: 90%; cursor: pointer; } .movie > .name { position: relative; width: auto; height: 100%; font-size: 1.1em; margin-left: 1em; display: flex; justify-content: left; align-items: center; cursor: default; } .movie > .btn { position: relative; width: auto; height: 100%; margin-left: auto; margin-right: 0; display: flex; justify-content: center; align-items: center; } .movie > .btn > img { position: relative; width: auto; height: 50%; cursor: pointer; } .movie > .btn > img:nth-child(1) { margin-right: 0.5em; } .movie > .btn > img:active { position: relative; top: 2px; } .movie-area > button#movieAdd { position: absolute; right: 20%; bottom: 0; padding: 0 1em; outline: none; border: none; border-radius: 10px; background-image: linear-gradient(to bottom, rgb(0, 255, 150), rgb(0, 150, 100)); box-shadow: 1px 1px 3px rgba(100, 100, 100, 0.6); color: rgb(255, 255, 255); cursor: pointer; } .movie-area > button#movieAdd:active { position: absolute; bottom: -2px; } .playlist-area { position: relative; width: 55%; height: 90%; padding-right: 5%; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; } .playlists { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; } .playlist { position: relative; width: 90%; min-height: 40%; border: 1px solid rgb(0, 0, 0); border-radius: 5px; margin: 3% 5%; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; } .playlist > .name { position: relative; width: 90%; height: 20%; font-size: 0.9em; margin: 0 auto; border-bottom: 1px solid rgb(0, 0, 0); display: flex; justify-content: left; align-items: center; } .playlist > .name > img { position: relative; width: auto; height: 90%; margin-right: 0.5em; } .playlist > .name > input { position: relative; width: 20%; height: 90%; outline: none; border: none; } .playlist > .name > button { position: relative; width: auto; height: 80%; font-size: 0.8em; padding: 0 10px; outline: none; border: none; border-radius: 10px; background-image: linear-gradient(to bottom, rgb(250, 250, 250), rgb(230, 230, 230)); box-shadow: 1px 1px 3px rgba(100, 100, 100, 0.6); cursor: pointer; } .playlist > .name > button:nth-child(4), .playlist > .name > button:nth-child(5) { margin-left: 1em; margin-right: 1em; } .playlist > .name > button:active { position: relative; top: 2px; } .playlist > .name > span { font-size: 1.1em; margin-left: auto; margin-right: 0; padding: 0.2em 0.5em; background-color: rgb(255, 255, 0); } .playlist > .name > .playlist-dust { position: relative; width: auto; height: 80%; margin-left: 1em; cursor: pointer; } .playlist > .programs { position: relative; width: 100%; height: 80%; display: flex; justify-content: left; align-items: center; overflow-x: auto; overflow-y: hidden; counter-reset: count 0; } .playlist > .programs > .program { position: relative; width: auto; min-width: 20em; height: 95%; border: 1px solid rgb(0, 0, 0); margin-right: 1em; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; } .playlist > .programs > .program::before { counter-increment: count 1; content: counter(count); position: absolute; top: 0; left: 0.5em; } .playlist > .programs > .program > .playlist-title { position: relative; width: 100%; height: 1.5em; padding: 0 0.5em; display: flex; justify-content: left; align-items: center; } .playlist > .programs > .program > .playlist-title > .num { position: relative; width: auto; height: 100%; display: flex; justify-content: center; align-items: center; } .playlist > .programs > .program > .playlist-title > button { position: relative; width: auto; height: 80%; font-size: 0.7em; margin-left: auto; margin-right: 5%; outline: none; border: none; border-radius: 10px; background-image: linear-gradient(to bottom, rgb(250, 250, 250), rgb(230, 230, 230)); box-shadow: 1px 1px 3px rgba(100, 100, 100, 0.6); display: flex; justify-content: center; align-items: center; cursor: pointer; } .playlist > .programs > .program > .playlist-title > button:active { position: relative; top: 2px; } .playlist > .programs > .program > ol { position: relative; width: 100%; height: calc(100% - 1.5em); margin: 0; padding: 0; overflow-x: hidden; overflow-y: auto; } .playlist > .programs > .program > ol > li { position: relative; width: 90%; height: 2em; border-bottom: 1px solid rgb(0, 0, 0); margin: 0 auto; margin-bottom: 0.5em; display: flex; justify-content: left; align-items: center; } .playlist > .programs > .program > ol > li > video { position: relative; width: 3em; height: 90%; margin-right: 0.5em; } .playlist > .programs > .program > ol > li > span { position: relative; width: 12em; height: 100%; display: flex; justify-content: left; align-items: center; overflow-x: auto; overflow-y: hidden; white-space: nowrap; } .playlist > .programs > .program > ol > li > span::-webkit-scrollbar { display: none; } .playlist > .programs > .program > ol > li > img:nth-child(3) { position: relative; width: auto; height: 55%; margin-left: auto; margin-right: 0; cursor: pointer; } .error-comment { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); color: rgb(255, 0, 0); } footer { position: relative; width: 100%; height: 5%; color: rgb(255, 255, 255); background-color: rgb(160, 53, 141); display: flex; justify-content: center; align-items: center; } .sub-window { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; padding: 0; margin: 0; background-color: rgba(100, 100, 100, 0.2); z-index: 999; } .sub-window > video { position: absolute; left: 5%; top: 5%; width: 80%; height: auto; max-height: 80%; } .sub-window > button { position: absolute; right: 5%; top: 5%; width: auto; height: 3%; aspect-ratio: 1 / 1; outline: none; border: none; border-radius: 50%; background-color: rgb(255, 0, 0); box-shadow: 1px 1px 3px rgba(100, 0, 0, 0.3); cursor: pointer; } .sub-window > button::before { content: "✕"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 0.8em; color: rgb(255, 255, 255); } .sub-window > button:active { position: absolute; top: calc(5% + 2px); } .dialog { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.3); z-index: 999; display: none; } .dialog.open { display: block; } .dialog-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50%; height: 60%; border: 3px solid rgb(0, 0, 0); border-radius: 30px; background-color: rgb(255, 255, 255); display: flex; flex-direction: column; justify-content: center; align-items: center; } .dialog-img { position: relative; width: 100%; height: 20%; } .dialog-img > img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: auto; height: 70%; } .dialog-detail { position: relative; width: 100%; height: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; } .dialog-title { font-size: 2em; font-weight: bold; } .dialog-detail > div:nth-child(2) { font-size: 1.1em; padding-top: 0.5em; } .dialog-detail > div:nth-child(2) > span:nth-child(1) { margin-right: 0.3em; font-size: 1.2em; text-decoration: underline; } .dialog-detail > div:nth-child(2) > p { color: rgb(255, 0, 0); } .dialog-detail > div:nth-child(2) > .dialog-info { display: none; } .dialog-detail > div:nth-child(2) > .dialog-info.open { display: block; } .dialog-btn { position: relative; width: 100%; height: 30%; display: flex; justify-content: space-evenly; align-items: center; } .dialog-btn > button { position: relative; width: 30%; height: 40%; outline: none; border: 3px double rgb(200, 200, 200); border-radius: 10px; background-image: linear-gradient(to bottom, #ffffff, #b8b8b8); box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); cursor: pointer; } .dialog-btn > button:nth-child(2) { color: rgb(255, 255, 255); border: 3px double rgb(210, 0, 0); background-image: linear-gradient(to bottom, #ff8a8a, #ff0000); box-shadow: 1px 1px 3px rgba(170, 0, 0, 0.6); } .loader-dialog { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.4); display: flex; justify-content: center; align-items: center; animation: animateTheBodyBg 10s linear infinite; visibility: hidden; opacity: 0; } .loader-dialog.open { visibility: visible; opacity: 1; z-index: 999; } @keyframes animateTheBodyBg { from { filter: hue-rotate(0deg) } to { filter: hue-rotate(360deg) } } .loader { position: relative; width: 250px; height: 250px; } .loader span { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotate(calc(18deg * var(--i))); } .loader span::before { content: ''; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background-color: #00ff0a; box-shadow: 0 0 10px #00ff0a, 0 0 20px #00ff0a, 0 0 30px #00ff0a, 0 0 40px #00ff0a, 0 0 60px #00ff0a, 0 0 80px #00ff0a, 0 0 100px #00ff0a; animation: animateTheSpan 2s linear infinite calc(.1s * var(--i)); } @keyframes animateTheSpan { 0% { transform: scale(1) } 80%, 90% { transform: scale(0) } } .loader-title { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 1.5em; color: rgb(255, 255, 255); }