StationBody.Vue 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. <template>
  2. <div class="station">
  3. <div class="row">
  4. <div class="col-md-8 col-md-push-2 col-sm-10 col-sm-push-1 col-xs-12">
  5. <div class="video-container">
  6. <!--div id="player"></div-->
  7. <iframe id="player" frameborder="0" allowfullscreen="1" title="YouTube video player" width="480" height="270" src="https://www.youtube.com/embed/xo1VInw-SKc?controls=0&amp;iv_load_policy=3&amp;rel=0&amp;showinfo=0&amp;enablejsapi=1&amp;origin=https%3A%2F%2Fmusare.com&amp;widgetid=1" kwframeid="1"></iframe>
  8. </div>
  9. </div>
  10. <div class="col-md-8 col-md-push-2 col-sm-10 col-sm-push-1 col-xs-12">
  11. <div class="row">
  12. <div class="col-md-8 col-sm-12 col-sm-12">
  13. <h4 id="time-display"><span id="time-elapsed">2:58</span> / <span id="time-total">3:19</span></h4>
  14. <h3>Stitches</h3>
  15. <h4 class="thin" style="margin-left: 0">Shawn Mendes</h4>
  16. <div class="row">
  17. <form style="margin-top: 12px; margin-bottom: 0;" action="#" class="col-md-4 col-lg-4 col-xs-4 col-sm-4">
  18. <p style="margin-top: 0; position: relative;">
  19. <input type="range" id="volume_slider" min="0" max="100" class="active">
  20. </p>
  21. </form>
  22. <div class="col-xs-8 col-sm-5 col-md-5" style="float: right;">
  23. <ul id="ratings">
  24. <li id="like" class="right"><span class="flow-text">2 </span> <i id="thumbs_up" class="material-icons grey-text">thumb_up</i></li>
  25. <li style="margin-right: 10px;" id="dislike" class="right"><span class="flow-text">1 </span><i id="thumbs_down" class="material-icons grey-text">thumb_down</i></li>
  26. </ul>
  27. </div>
  28. </div>
  29. <div class="seeker-bar-container white" id="preview-progress">
  30. <div class="seeker-bar light-blue" style="width: 60.9869%;"></div>
  31. </div>
  32. </div>
  33. <img alt="Not loading" class="img-responsive col-md-4 col-xs-12 col-sm-12" onerror="this.src='/notes.png'" id="song-image" style="margin-top: 10px !important" src="https://i.scdn.co/image/32031982517529900c02654c460dc9ac6c47c598" />
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. </template>
  39. <style lang="sass">
  40. .station {
  41. flex: 1 0 auto;
  42. padding-top: 4.5vw;
  43. transition: all 0.1s;
  44. margin: 0 auto;
  45. max-width: 1280px;
  46. width: 90%;
  47. @media only screen and (min-width: 993px) {
  48. width: 70%;
  49. }
  50. @media only screen and (min-width: 601px) {
  51. width: 85%;
  52. }
  53. input[type=range] {
  54. -webkit-appearance: none;
  55. width: 100%;
  56. margin: 7.3px 0;
  57. }
  58. input[type=range]:focus {
  59. outline: none;
  60. }
  61. input[type=range]::-webkit-slider-runnable-track {
  62. width: 100%;
  63. height: 5.2px;
  64. cursor: pointer;
  65. box-shadow: 0;
  66. background: #c2c0c2;
  67. border-radius: 0;
  68. border: 0;
  69. }
  70. input[type=range]::-webkit-slider-thumb {
  71. box-shadow: 0;
  72. border: 0;
  73. height: 19px;
  74. width: 19px;
  75. border-radius: 15px;
  76. background: #03a9f4;
  77. cursor: pointer;
  78. -webkit-appearance: none;
  79. margin-top: -6.5px;
  80. }
  81. input[type=range]::-moz-range-track {
  82. width: 100%;
  83. height: 5.2px;
  84. cursor: pointer;
  85. box-shadow: 0;
  86. background: #c2c0c2;
  87. border-radius: 0;
  88. border: 0;
  89. }
  90. input[type=range]::-moz-range-thumb {
  91. box-shadow: 0;
  92. border: 0;
  93. height: 19px;
  94. width: 19px;
  95. border-radius: 15px;
  96. background: #03a9f4;
  97. cursor: pointer;
  98. -webkit-appearance: none;
  99. margin-top: -6.5px;
  100. }
  101. input[type=range]::-ms-track {
  102. width: 100%;
  103. height: 5.2px;
  104. cursor: pointer;
  105. box-shadow: 0;
  106. background: #c2c0c2;
  107. border-radius: 1.3px;
  108. }
  109. input[type=range]::-ms-fill-lower {
  110. background: #c2c0c2;
  111. border: 0;
  112. border-radius: 0;
  113. box-shadow: 0;
  114. }
  115. input[type=range]::-ms-fill-upper {
  116. background: #c2c0c2;
  117. border: 0;
  118. border-radius: 0;
  119. box-shadow: 0;
  120. }
  121. input[type=range]::-ms-thumb {
  122. box-shadow: 0;
  123. border: 0;
  124. height: 15px;
  125. width: 15px;
  126. border-radius: 15px;
  127. background: #03a9f4;
  128. cursor: pointer;
  129. -webkit-appearance: none;
  130. margin-top: 1.5px;
  131. }
  132. .video-container {
  133. position: relative;
  134. padding-bottom: 56.25%;
  135. height: 0;
  136. overflow: hidden;
  137. iframe {
  138. position: absolute;
  139. top: 0;
  140. left: 0;
  141. width: 100%;
  142. height: 100%;
  143. }
  144. }
  145. }
  146. .room-title {
  147. left: 50%;
  148. -webkit-transform: translateX(-50%);
  149. transform: translateX(-50%);
  150. font-size: 2.1em;
  151. }
  152. #ratings {
  153. span {
  154. font-size: 1.68rem;
  155. }
  156. i {
  157. color: #9e9e9e !important;
  158. cursor: pointer;
  159. transition: 0.1s color;
  160. }
  161. }
  162. #time-display {
  163. margin-top: 30px;
  164. float: right;
  165. }
  166. #thumbs_up:hover {
  167. color: #87D37C !important;
  168. }
  169. #thumbs_down:hover {
  170. color: #EC644B !important;
  171. }
  172. .seeker-bar-container {
  173. position: relative;
  174. height: 5px;
  175. display: block;
  176. width: 100%;
  177. overflow: hidden;
  178. }
  179. .seeker-bar {
  180. top: 0;
  181. left: 0;
  182. bottom: 0;
  183. position: absolute;
  184. }
  185. ul {
  186. list-style: none;
  187. margin: 0;
  188. display: block;
  189. }
  190. h1, h2, h3, h4, h5, h6 {
  191. font-weight: 400;
  192. line-height: 1.1;
  193. }
  194. h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  195. font-weight: inherit;
  196. }
  197. h1 {
  198. font-size: 4.2rem;
  199. line-height: 110%;
  200. margin: 2.1rem 0 1.68rem 0;
  201. }
  202. h2 {
  203. font-size: 3.56rem;
  204. line-height: 110%;
  205. margin: 1.78rem 0 1.424rem 0;
  206. }
  207. h3 {
  208. font-size: 2.92rem;
  209. line-height: 110%;
  210. margin: 1.46rem 0 1.168rem 0;
  211. }
  212. h4 {
  213. font-size: 2.28rem;
  214. line-height: 110%;
  215. margin: 1.14rem 0 0.912rem 0;
  216. }
  217. h5 {
  218. font-size: 1.64rem;
  219. line-height: 110%;
  220. margin: 0.82rem 0 0.656rem 0;
  221. }
  222. h6 {
  223. font-size: 1rem;
  224. line-height: 110%;
  225. margin: 0.5rem 0 0.4rem 0;
  226. }
  227. .thin {
  228. font-weight: 200;
  229. }
  230. .left {
  231. float: left !important;
  232. }
  233. .right {
  234. float: right !important;
  235. }
  236. .light-blue {
  237. background-color: #03a9f4 !important;
  238. }
  239. .white {
  240. background-color: #FFFFFF !important;
  241. }
  242. </style>