Music album web page generator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

109 regels
1.7 KiB

  1. :root{
  2. --one-dpi: 72px;
  3. --dd-blue: rgb(0,42,255);
  4. }
  5. .dd-player{
  6. width: 25vw;
  7. height: 100vh;
  8. position:fixed;
  9. top: 0px;
  10. background-color: white;
  11. right:0px;
  12. color: black;
  13. padding-top: var(--one-dpi);
  14. padding-bottom: var(--one-dpi);
  15. display: flex;
  16. flex-direction: column;
  17. justify-content: space-between;
  18. }
  19. .collapsed{
  20. display: none;
  21. }
  22. .dd-player-switch{
  23. position :fixed;
  24. bottom: 0;
  25. right: 0;
  26. width: var(--one-dpi);
  27. height:var(--one-dpi);
  28. background-color: white;
  29. cursor: pointer;
  30. z-index:10;
  31. }
  32. .dd-player-switch.opened{
  33. background-color: var(--dd-blue);
  34. }
  35. .dd-player h3 {
  36. font-size: 1rem;
  37. /*margin-top: calc(2 * var(--one-dpi));*/
  38. margin: calc(var(--one-dpi) / 2);
  39. /* margin-bottom : var(--one-dpi); */
  40. }
  41. .dd-player ul {
  42. margin-left : calc(var(--one-dpi) / 2);
  43. color: var(--dd-blue);
  44. font-size: 1.5rem;
  45. list-style-type : none;
  46. }
  47. .dd-player ul li img{
  48. width:24px;
  49. height:24px;
  50. margin-right: 12px;
  51. }
  52. .playing{
  53. font-weight: bold;
  54. color : black;
  55. }
  56. .progress-wrap{
  57. display:flex;
  58. width: 100%;
  59. justify-content: space-around;
  60. }
  61. .progress-wrap .time-info{
  62. font-size:0.66rem;
  63. display: flex;
  64. justify-content: center;
  65. /* align-items: center; */
  66. }
  67. progress{
  68. display: inline;
  69. /* margin: 0 calc(var(--one-dpi) / 2); */
  70. /* max-width: calc(100% - var(--one-dpi)); */
  71. height: 10px;
  72. width:66%;
  73. }
  74. #play-button{
  75. max-width: calc(var(--one-dpi) / 2);
  76. max-height: calc(var(--one-dpi) / 2);
  77. margin: calc(var(--one-dpi) / 2);
  78. }
  79. progress::-moz-progress-bar{
  80. background-color: black;
  81. }
  82. progress{
  83. background-color: #rgba(200,200,200,0.5);
  84. }
  85. .dd-player ul li, #play-button{
  86. cursor : pointer;
  87. }
  88. #wrap-playlist{
  89. flex: 1;
  90. }