|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- :root{
- --one-dpi: 72px;
- --dd-blue: rgb(0,42,255);
- }
-
- .dd-player{
- width: 25vw;
- height: 100vh;
- position:fixed;
- top: 0px;
- background-color: white;
- right:0px;
- color: black;
- padding-top: var(--one-dpi);
- padding-bottom: var(--one-dpi);
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- }
-
- .collapsed{
- display: none;
- }
-
- .dd-player-switch{
- position :fixed;
- bottom: 0;
- right: 0;
- width: var(--one-dpi);
- height:var(--one-dpi);
- background-color: white;
- cursor: pointer;
- z-index:10;
- }
-
- .dd-player-switch.opened{
- background-color: var(--dd-blue);
- }
-
- .dd-player h3 {
- font-size: 1rem;
- /*margin-top: calc(2 * var(--one-dpi));*/
- margin: calc(var(--one-dpi) / 2);
- /* margin-bottom : var(--one-dpi); */
- }
-
- .dd-player ul {
- margin-left : calc(var(--one-dpi) / 2);
- color: var(--dd-blue);
- font-size: 1.5rem;
- list-style-type : none;
- }
-
- .dd-player ul li img{
- width:24px;
- height:24px;
- margin-right: 12px;
- }
-
- .playing{
- font-weight: bold;
- color : black;
- }
-
- .progress-wrap{
- display:flex;
- width: 100%;
- justify-content: space-around;
-
- }
- .progress-wrap .time-info{
- font-size:0.66rem;
- display: flex;
- justify-content: center;
- /* align-items: center; */
- }
-
- progress{
- display: inline;
- /* margin: 0 calc(var(--one-dpi) / 2); */
- /* max-width: calc(100% - var(--one-dpi)); */
- height: 10px;
- width:66%;
-
- }
-
-
-
- #play-button{
- max-width: calc(var(--one-dpi) / 2);
- max-height: calc(var(--one-dpi) / 2);
- margin: calc(var(--one-dpi) / 2);
- }
-
- progress::-moz-progress-bar{
- background-color: black;
- }
- progress{
- background-color: #rgba(200,200,200,0.5);
- }
-
- .dd-player ul li, #play-button{
- cursor : pointer;
- }
-
- #wrap-playlist{
- flex: 1;
- }
|