style.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. *, *:before, *:after {
  2. -moz-box-sizing: border-box;
  3. box-sizing: border-box;
  4. }
  5. html {
  6. min-height: 100%;
  7. }
  8. body {
  9. background: #eee url("../images/82fLDu4.jpg") no-repeat center;
  10. background-size: cover;
  11. font-family: "Open Sans", sans-serif;
  12. }
  13. .music-player {
  14. position: relative;
  15. width: 350px;
  16. height: 290px;
  17. margin: 150px auto;
  18. box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
  19. border-radius: 10px;
  20. background: #222;
  21. overflow: hidden;
  22. z-index: 0;
  23. }
  24. .music-player img {
  25. position: absolute;
  26. top: 0px;
  27. left: 0px;
  28. bottom: 0px;
  29. right: 0px;
  30. z-index: -1;
  31. display: block;
  32. width: 100% !important;
  33. height: 100% !important;
  34. -webkit-filter: blur(2px);
  35. filter: blur(2px);
  36. }
  37. .music-player .info {
  38. width: 100%;
  39. height: 100px;
  40. background: #222;
  41. background: rgba(0, 0, 0, 0.8);
  42. text-align: center;
  43. position: relative;
  44. }
  45. .music-player .info .jp-playlist li {
  46. display: none;
  47. }
  48. .music-player .info .jp-playlist li a {
  49. font-size: 30px;
  50. font-weight: 300;
  51. text-decoration: none;
  52. color: #fff;
  53. color: rgba(225, 225, 225, 0.4);
  54. }
  55. .music-player .info .jp-playlist li a span {
  56. font-size: 14px;
  57. display: block;
  58. margin-top: 10px;
  59. }
  60. .music-player .info .jp-playlist li.jp-playlist-current {
  61. display: block;
  62. }
  63. .music-player .info .jp-playlist li .jp-free-media, .music-player .info .jp-playlist li .jp-playlist-item-remove {
  64. display: none;
  65. }
  66. .music-player .info .left, .music-player .info .right {
  67. width: 25px;
  68. position: absolute;
  69. top: 30px;
  70. left: 30px;
  71. }
  72. .music-player .info .right {
  73. left: auto;
  74. right: 30px;
  75. }
  76. .music-player .info [class^="icon-"] {
  77. margin: 0 0 10px;
  78. }
  79. .music-player .info .center {
  80. padding: 20px 0 0;
  81. }
  82. .music-player .progress, .music-player .volume-level {
  83. width: 100%;
  84. height: 5px;
  85. display: block;
  86. background: #000;
  87. position: absolute;
  88. bottom: 0px;
  89. cursor: pointer;
  90. }
  91. .music-player .progress span, .music-player .volume-level span {
  92. position: relative;
  93. display: block;
  94. background: #ed553b;
  95. width: 0%;
  96. height: 5px;
  97. }
  98. .music-player .progress span:after, .music-player .volume-level span:after {
  99. position: absolute;
  100. right: -5px;
  101. top: -8px;
  102. content: "";
  103. width: 10px;
  104. height: 22px;
  105. background: url("../images/tsqwz1N.png") no-repeat center;
  106. }
  107. .music-player .controls {
  108. text-align: center;
  109. width: 100%;
  110. height: 190px;
  111. background: #982e4b;
  112. background: rgba(152, 46, 75, 0.6);
  113. }
  114. .music-player .controls .current {
  115. font-size: 48px;
  116. color: #fff;
  117. color: rgba(225, 225, 225, 0.4);
  118. padding: 15px 0 20px;
  119. }
  120. .music-player .controls .play-controls a {
  121. display: inline-block;
  122. width: 35px;
  123. height: 40px;
  124. margin: 0 30px;
  125. }
  126. .music-player .controls .volume-level {
  127. position: relative;
  128. bottom: auto;
  129. width: 200px;
  130. height: 2px;
  131. margin: 30px auto 0;
  132. background: rgba(225, 225, 225, 0.3);
  133. }
  134. .music-player .controls .volume-level span {
  135. height: 2px;
  136. }
  137. .music-player .controls .volume-level span:after {
  138. right: -11px;
  139. top: -8px;
  140. width: 22px;
  141. height: 22px;
  142. background-image: url("../images/V5i67V2.png");
  143. }
  144. .music-player .controls .volume-level a {
  145. position: absolute;
  146. right: -32px;
  147. top: -8px;
  148. width: 22px;
  149. }
  150. .music-player .controls .volume-level a.icon-volume-down {
  151. right: auto;
  152. left: -25px;
  153. }
  154. [class^="icon-"] {
  155. width: 18px;
  156. height: 18px;
  157. background: url("../images/E09T8tf.png") no-repeat center;
  158. display: block;
  159. }
  160. .icon-shuffle {
  161. background-image: url("../images/AQAxRxS.png");
  162. }
  163. .icon-heart {
  164. background-image: url("../images/E09T8tf.png");
  165. }
  166. .icon-repeat {
  167. background-image: url("../images/338F8MX.png");
  168. }
  169. .icon-share {
  170. background-image: url("../images/PGIC6ME.png");
  171. }
  172. .icon-previous {
  173. background-image: url("../images/LIqj0nr.png");
  174. }
  175. .icon-play {
  176. background-image: url("../images/xlBv5aR.png");
  177. }
  178. .icon-pause {
  179. background-image: url("../images/lIhwduj.png");
  180. }
  181. .icon-next {
  182. background-image: url("../images/RIqj0nr.png");
  183. }
  184. .icon-volume-up {
  185. background-image: url("../images/qqdoddi.png");
  186. }
  187. .icon-volume-down {
  188. background-image: url("../images/3iirf2f.png");
  189. }
  190. .copyrights {
  191. text-align: center;
  192. text-transform: capitalize;
  193. margin: 50px;
  194. color: rgba(0, 0, 0, 0.6);
  195. }
  196. .copyrights a {
  197. color: rgba(152, 46, 75, 0.9);
  198. text-decoration: none;
  199. }