Station.Vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <template>
  2. <div class="app">
  3. <component-header></component-header>
  4. <div class="body">
  5. <div class="row">
  6. <div class="col-md-8 push-md-2 col-sm-10 push-sm-1 col-xs-12">
  7. <div id="player"></div>
  8. </div>
  9. <div class="col-md-8 push-md-2 col-sm-10 push-sm-1 col-xs-12">
  10. <div class="row">
  11. <div class="col-md-8 col-sm-12 col-sm-12">
  12. <h4 id="time-display"><span id="time-elapsed">2:58</span> / <span id="time-total">3:19</span></h4>
  13. <h3>Stitches</h3>
  14. <h4 class="thin" style="margin-left: 0">Shawn Mendes</h4>
  15. <div class="row">
  16. <form style="margin-top: 12px; margin-bottom: 0;" action="#" class="col-md-4 col-lg-4 col-xs-4 col-sm-4">
  17. <p style="margin-top: 0; position: relative;">
  18. <input type="range" id="volume_slider" min="0" max="100" class="active">
  19. </p>
  20. </form>
  21. <div class="col-xs-8 col-sm-5 col-md-5" style="float: right;">
  22. <ul id="ratings">
  23. <li id="like" class="right"><span class="flow-text">2 </span> <i id="thumbs_up" class="material-icons grey-text">thumb_up</i></li>
  24. <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>
  25. </ul>
  26. </div>
  27. </div>
  28. <div class="seeker-bar-container white" id="preview-progress">
  29. <div class="seeker-bar light-blue" style="width: 60.9869%;"></div>
  30. </div>
  31. </div>
  32. <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" />
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. </template>
  39. <script>
  40. import ComponentHeader from './MainHeader.vue'
  41. import ComponentBody from './HomepageBody.vue'
  42. import ComponentFooter from './MainFooter.vue'
  43. export default {
  44. data() {
  45. return {}
  46. },
  47. components: { ComponentHeader }
  48. }
  49. </script>
  50. <style lang="sass">
  51. .body {
  52. /*width: 100%;
  53. line-height: 256px;*/
  54. flex: 1 0 auto;
  55. padding-top: 4.5vw;
  56. transition: all 0.1s;
  57. margin: 0 auto;
  58. max-width: 1280px;
  59. width: 90%;
  60. color: black;
  61. }
  62. @media only screen and (min-width: 993px) {
  63. .body {
  64. width: 70%;
  65. }
  66. }
  67. @media only screen and (min-width: 601px) {
  68. .body {
  69. width: 85%;
  70. }
  71. }
  72. .room-title {
  73. left: 50%;
  74. -webkit-transform: translateX(-50%);
  75. transform: translateX(-50%);
  76. font-size: 2.1em;
  77. }
  78. #ratings span {
  79. font-size: 1.68rem;
  80. }
  81. #ratings i {
  82. color: #9e9e9e !important;
  83. cursor: pointer;
  84. transition: 0.1s color;
  85. }
  86. #time-display {
  87. margin-top: 30px;
  88. float: right;
  89. }
  90. #thumbs_up:hover {
  91. color: #00bfa5 !important;
  92. }
  93. #thumbs_down:hover {
  94. color: #e53935 !important;
  95. }
  96. .seeker-bar-container {
  97. position: relative;
  98. height: 5px;
  99. display: block;
  100. width: 100%;
  101. overflow: hidden;
  102. }
  103. .seeker-bar {
  104. top: 0;
  105. left: 0;
  106. bottom: 0;
  107. position: absolute;
  108. }
  109. </style>