Station.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703
  1. <template>
  2. <official-header v-if='type == "official"'></official-header>
  3. <community-header v-if='type == "community"'></community-header>
  4. <song-queue v-if='modals.addSongToQueue'></song-queue>
  5. <edit-playlist v-if='modals.editPlaylist'></edit-playlist>
  6. <create-playlist v-if='modals.createPlaylist'></create-playlist>
  7. <queue-sidebar v-if='sidebars.queue'></queue-sidebar>
  8. <playlist-sidebar v-if='sidebars.playlist'></playlist-sidebar>
  9. <users-sidebar v-if='sidebars.users'></users-sidebar>
  10. <div class="station">
  11. <h1 v-show="noSong" class="noSong">No song is currently playing.</h1>
  12. <div class="columns is-mobile" v-show="!noSong">
  13. <div class="column is-8-desktop is-offset-2-desktop is-12-mobile">
  14. <div class="video-container">
  15. <div id="player"></div>
  16. <div class="seeker-bar-container white" id="preview-progress">
  17. <div class="seeker-bar light-blue" style="width: 0%;"></div>
  18. </div>
  19. </div>
  20. </div>
  21. </div>
  22. <div class="columns is-mobile" v-show="!noSong">
  23. <div class="column is-8-desktop is-offset-2-desktop is-12-mobile">
  24. <div class="columns is-mobile">
  25. <div class="column is-12-mobile" v-bind:class="{'is-8-desktop': !simpleSong}">
  26. <h4 id="time-display">{{timeElapsed}} / {{formatTime(currentSong.duration)}}</h4>
  27. <h3>{{currentSong.title}}</h3>
  28. <h4 class="thin" style="margin-left: 0">{{currentSong.artists}}</h4>
  29. <div class="columns is-mobile">
  30. <form style="margin-top: 12px; margin-bottom: 0;" action="#" class="column is-7-desktop is-4-mobile">
  31. <p style="margin-top: 0; position: relative;">
  32. <input type="range" id="volumeSlider" min="0" max="100" class="active" v-on:change="changeVolume()" v-on:input="changeVolume()">
  33. </p>
  34. </form>
  35. <div class="column is-8-mobile is-5-desktop" style="float: right;">
  36. <ul id="ratings" v-if="currentSong.likes !== -1 && currentSong.dislikes !== -1">
  37. <li id="like" class="right" @click="toggleLike()">
  38. <span class="flow-text">{{currentSong.likes}} </span>
  39. <i id="thumbs_up" class="material-icons grey-text" v-bind:class="{liked: liked}">thumb_up</i>
  40. </li>
  41. <li style="margin-right: 10px;" id="dislike" class="right" @click="toggleDislike()">
  42. <span class="flow-text">{{currentSong.dislikes}} </span>
  43. <i id="thumbs_down" class="material-icons grey-text" v-bind:class="{disliked: disliked}">thumb_down</i>
  44. </li>
  45. </ul>
  46. </div>
  47. </div>
  48. </div>
  49. <div class="column is-4-desktop is-12-mobile" v-if="!simpleSong">
  50. <img class="image" id="song-thumbnail" style="margin-top: 10px !important" :src="currentSong.thumbnail" alt="Song Thumbnail" />
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. </template>
  57. <script>
  58. import { Toast } from 'vue-roaster';
  59. import SongQueue from '../Modals/AddSongToQueue.vue';
  60. import EditPlaylist from '../Modals/Playlists/Edit.vue';
  61. import CreatePlaylist from '../Modals/Playlists/Create.vue';
  62. import QueueSidebar from '../Sidebars/Queue.vue';
  63. import PlaylistSidebar from '../Sidebars/Playlist.vue';
  64. import UsersSidebar from '../Sidebars/UsersList.vue';
  65. import OfficialHeader from './OfficialHeader.vue';
  66. import CommunityHeader from './CommunityHeader.vue';
  67. export default {
  68. data() {
  69. return {
  70. type: '',
  71. playerReady: false,
  72. currentSong: {},
  73. player: undefined,
  74. timePaused: 0,
  75. paused: false,
  76. timeElapsed: "0:00",
  77. liked: false,
  78. disliked: false,
  79. modals: {
  80. addSongToQueue: false,
  81. editPlaylist: false,
  82. createPlaylist: false
  83. },
  84. sidebars: {
  85. queue: false,
  86. users: false,
  87. playlist: false
  88. },
  89. noSong: false,
  90. simpleSong: false,
  91. queue: [],
  92. timeBeforePause: 0
  93. }
  94. },
  95. methods: {
  96. editPlaylist: function (id) {
  97. this.playlistBeingEdited = id;
  98. this.toggleModal('editPlaylist');
  99. },
  100. toggleModal: function (type) {
  101. if (type == 'addSongToQueue') this.modals.addSongToQueue = !this.modals.addSongToQueue;
  102. else if (type == 'editPlaylist') this.modals.editPlaylist = !this.modals.editPlaylist;
  103. else if (type == 'createPlaylist') this.modals.createPlaylist = !this.modals.createPlaylist;
  104. },
  105. youtubeReady: function() {
  106. let local = this;
  107. console.log("@@5", local.currentSong._id);
  108. if (!local.player) {
  109. local.player = new YT.Player("player", {
  110. height: 270,
  111. width: 480,
  112. videoId: local.currentSong._id,
  113. startSeconds: local.getTimeElapsed() / 1000 + local.currentSong.skipDuration,
  114. playerVars: {controls: 0, iv_load_policy: 3, rel: 0, showinfo: 0},
  115. events: {
  116. 'onReady': function (event) {
  117. console.log("@@6");
  118. local.playerReady = true;
  119. let volume = parseInt(localStorage.getItem("volume"));
  120. volume = (typeof volume === "number") ? volume : 20;
  121. local.player.setVolume(volume);
  122. if (volume > 0) local.player.unMute();
  123. console.log("@@7");
  124. local.playVideo();
  125. },
  126. 'onStateChange': function (event) {
  127. if (event.data === 1 && local.videoLoading === true) {
  128. local.videoLoading = false;
  129. local.player.seekTo(local.getTimeElapsed() / 1000 + local.currentSong.skipDuration, true);
  130. if (local.paused) local.player.pauseVideo();
  131. } else if (event.data === 1 && local.paused) {
  132. local.player.seekTo(local.timeBeforePause / 1000, true);
  133. local.player.pauseVideo();
  134. }
  135. if (event.data === 2 && !local.paused && !local.noSong) {
  136. local.player.seekTo(local.getTimeElapsed() / 1000 + local.currentSong.skipDuration, true);
  137. local.player.playVideo();
  138. }
  139. }
  140. }
  141. });
  142. }
  143. },
  144. getTimeElapsed: function() {
  145. let local = this;
  146. if (local.currentSong) {
  147. return Date.now() - local.startedAt - local.timePaused;
  148. } else {
  149. return 0;
  150. }
  151. },
  152. playVideo: function() {
  153. let local = this;
  154. console.log("@@9");
  155. if (local.playerReady) {
  156. console.log("@@@1");
  157. local.videoLoading = true;
  158. local.player.loadVideoById(local.currentSong._id, local.getTimeElapsed() / 1000 + local.currentSong.skipDuration);
  159. if (local.currentSong.artists) local.currentSong.artists = local.currentSong.artists.join(", ");
  160. if (window.stationInterval !== 0) clearInterval(window.stationInterval);
  161. window.stationInterval = setInterval(function () {
  162. local.resizeSeekerbar();
  163. local.calculateTimeElapsed();
  164. }, 250);
  165. }
  166. },
  167. resizeSeekerbar: function() {
  168. let local = this;
  169. if (!local.paused) {
  170. $(".seeker-bar").width(parseInt(((local.getTimeElapsed() / 1000) / local.currentSong.duration * 100)) + "%");
  171. }
  172. },
  173. formatTime: function(duration) {
  174. let d = moment.duration(duration, 'seconds');
  175. return ((d.hours() > 0) ? (d.hours() < 10 ? ("0" + d.hours() + ":") : (d.hours() + ":")) : "") + (d.minutes() + ":") + (d.seconds() < 10 ? ("0" + d.seconds()) : d.seconds());
  176. },
  177. calculateTimeElapsed: function() {
  178. let local = this;
  179. let currentTime = Date.now();
  180. if (local.currentTime !== undefined && local.paused) {
  181. console.log("123");
  182. local.timePaused += (Date.now() - local.currentTime);
  183. local.currentTime = undefined;
  184. }
  185. let duration = (Date.now() - local.startedAt - local.timePaused) / 1000;
  186. let songDuration = local.currentSong.duration;
  187. //console.log(duration, currentTime, local.startedAt, local.timePaused, local.startedAt - local.timePaused, Date.now() - local.startedAt - local.timePaused, Date.now() - local.startedAt);
  188. if (songDuration <= duration) local.player.pauseVideo();
  189. if ((!local.paused) && duration <= songDuration) local.timeElapsed = local.formatTime(duration);
  190. },
  191. changeVolume: function() {
  192. let local = this;
  193. let volume = $("#volumeSlider").val();
  194. localStorage.setItem("volume", volume);
  195. if (local.playerReady) {
  196. local.player.setVolume(volume);
  197. if (volume > 0) local.player.unMute();
  198. }
  199. },
  200. resumeLocalStation: function() {
  201. this.paused = false;
  202. if (!this.noSong) {
  203. if (this.playerReady) {
  204. this.player.seekTo(this.getTimeElapsed() / 1000 + this.currentSong.skipDuration);
  205. this.player.playVideo();
  206. }
  207. }
  208. },
  209. pauseLocalStation: function() {
  210. this.paused = true;
  211. if (!this.noSong) {
  212. this.timeBeforePause = this.getTimeElapsed();
  213. if (this.playerReady) this.player.pauseVideo();
  214. }
  215. },
  216. skipStation: function () {
  217. let _this = this;
  218. _this.socket.emit('stations.forceSkip', _this.stationId, data => {
  219. if (data.status !== 'success') {
  220. Toast.methods.addToast(`Error: ${data.message}`, 8000);
  221. } else {
  222. Toast.methods.addToast('Successfully skipped the station\'s current song.', 4000);
  223. }
  224. });
  225. },
  226. resumeStation: function () {
  227. let _this = this;
  228. _this.socket.emit('stations.resume', _this.stationId, data => {
  229. console.log(data);
  230. if (data.status !== 'success') {
  231. Toast.methods.addToast(`Error: ${data.message}`, 8000);
  232. } else {
  233. Toast.methods.addToast('Successfully resumed the station.', 4000);
  234. }
  235. });
  236. },
  237. pauseStation: function () {
  238. let _this = this;
  239. _this.socket.emit('stations.pause', _this.stationId, data => {
  240. console.log(data);
  241. if (data.status !== 'success') {
  242. Toast.methods.addToast(`Error: ${data.message}`, 8000);
  243. } else {
  244. Toast.methods.addToast('Successfully paused the station.', 4000);
  245. }
  246. });
  247. },
  248. toggleLike: function() {
  249. let _this = this;
  250. if (_this.liked) _this.socket.emit('songs.unlike', _this.currentSong._id, data => {
  251. if (data.status !== 'success') {
  252. Toast.methods.addToast(`Error: ${data.message}`, 8000);
  253. }
  254. }); else _this.socket.emit('songs.like', _this.currentSong._id, data => {
  255. if (data.status !== 'success') {
  256. Toast.methods.addToast(`Error: ${data.message}`, 8000);
  257. }
  258. });
  259. },
  260. toggleDislike: function() {
  261. let _this = this;
  262. if (_this.disliked) return _this.socket.emit('songs.undislike', _this.currentSong._id, data => {
  263. if (data.status !== 'success') {
  264. Toast.methods.addToast(`Error: ${data.message}`, 8000);
  265. }
  266. });
  267. _this.socket.emit('songs.dislike', _this.currentSong._id, data => {
  268. if (data.status !== 'success') {
  269. Toast.methods.addToast(`Error: ${data.message}`, 8000);
  270. }
  271. });
  272. }
  273. },
  274. ready: function() {
  275. let _this = this;
  276. _this.stationId = _this.$route.params.id;
  277. window.stationInterval = 0;
  278. let socketInterval = setInterval(() => {
  279. if (!!_this.$parent.socket) {
  280. _this.socket = _this.$parent.socket;
  281. _this.socket.removeAllListeners();
  282. _this.socket.emit('stations.join', _this.stationId, res => {
  283. if (res.status === "success") {
  284. _this.currentSong = (res.data.currentSong) ? res.data.currentSong : {};
  285. _this.type = res.data.type;
  286. _this.startedAt = res.data.startedAt;
  287. _this.paused = res.data.paused;
  288. _this.timePaused = res.data.timePaused;
  289. if (res.data.currentSong) {
  290. _this.noSong = false;
  291. _this.simpleSong = (res.data.currentSong.likes === -1 && res.data.currentSong.dislikes === -1);
  292. console.log(12334);
  293. _this.youtubeReady();
  294. _this.playVideo();
  295. _this.socket.emit('songs.getOwnSongRatings', res.data.currentSong._id, data => {
  296. if (_this.currentSong._id === data.songId) {
  297. _this.liked = data.liked;
  298. _this.disliked = data.disliked;
  299. }
  300. });
  301. } else {
  302. if (_this.playerReady) _this.player.pauseVideo();
  303. console.log("NO SONG TRUE1", res.data);
  304. _this.noSong = true;
  305. }
  306. if (_this.type === 'community') {
  307. _this.socket.emit('stations.getQueue', _this.stationId, data => {
  308. console.log(data);
  309. if (data.status === 'success') {
  310. _this.queue = data.queue;
  311. }
  312. });
  313. }
  314. } else {
  315. //TODO Handle error
  316. }
  317. });
  318. _this.socket.on('event:songs.next', data => {
  319. _this.currentSong = (data.currentSong) ? data.currentSong : {};
  320. _this.startedAt = data.startedAt;
  321. _this.paused = data.paused;
  322. _this.timePaused = data.timePaused;
  323. if (data.currentSong) {
  324. _this.noSong = false;
  325. _this.simpleSong = (data.currentSong.likes === -1 && data.currentSong.dislikes === -1);
  326. console.log(1233, _this.stationId);
  327. if (!_this.playerReady) _this.youtubeReady();
  328. else _this.playVideo();
  329. _this.socket.emit('songs.getOwnSongRatings', data.currentSong._id, (data) => {
  330. if (_this.currentSong._id === data.songId) {
  331. _this.liked = data.liked;
  332. _this.disliked = data.disliked;
  333. }
  334. });
  335. } else {
  336. if (_this.playerReady) _this.player.pauseVideo();
  337. console.log("NO SONG TRUE2", data);
  338. _this.noSong = true;
  339. }
  340. });
  341. _this.socket.on('event:stations.pause', data => {
  342. _this.pauseLocalStation();
  343. });
  344. _this.socket.on('event:stations.resume', data => {
  345. _this.timePaused = data.timePaused;
  346. _this.resumeLocalStation();
  347. });
  348. _this.socket.on('event:song.like', data => {
  349. if (!this.noSong) {
  350. if (data.songId === _this.currentSong._id) {
  351. _this.currentSong.likes++;
  352. if (data.undisliked) _this.currentSong.dislikes--;
  353. }
  354. }
  355. });
  356. _this.socket.on('event:song.dislike', data => {
  357. if (!this.noSong) {
  358. if (data.songId === _this.currentSong._id) {
  359. _this.currentSong.dislikes++;
  360. if (data.unliked) _this.currentSong.likes--;
  361. }
  362. }
  363. });
  364. _this.socket.on('event:song.unlike', data => {
  365. if (!this.noSong) {
  366. if (data.songId === _this.currentSong._id) _this.currentSong.likes--;
  367. }
  368. });
  369. _this.socket.on('event:song.undislike', data => {
  370. if (!this.noSong) {
  371. if (data.songId === _this.currentSong._id) _this.currentSong.dislikes--;
  372. }
  373. });
  374. _this.socket.on('event:song.newRatings', data => {
  375. if (!this.noSong) {
  376. if (data.songId === _this.currentSong._id) {
  377. _this.liked = data.liked;
  378. _this.disliked = data.disliked;
  379. }
  380. }
  381. });
  382. _this.socket.on('event:queue.update', queue => {
  383. if (this.type === 'community') {
  384. this.queue = queue;
  385. }
  386. });
  387. clearInterval(socketInterval);
  388. }
  389. }, 100);
  390. let volume = parseInt(localStorage.getItem("volume"));
  391. volume = (typeof volume === "number") ? volume : 20;
  392. $("#volumeSlider").val(volume);
  393. },
  394. components: { OfficialHeader, CommunityHeader, SongQueue, EditPlaylist, CreatePlaylist, QueueSidebar, PlaylistSidebar, UsersSidebar }
  395. }
  396. </script>
  397. <style lang="scss">
  398. .noSong {
  399. color: #03A9F4;
  400. text-align: center;
  401. }
  402. .slideout {
  403. top: 50px;
  404. height: 100%;
  405. position: fixed;
  406. right: 0;
  407. width: 350px;
  408. background-color: white;
  409. box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  410. .slideout-header {
  411. text-align: center;
  412. background-color: rgb(3, 169, 244) !important;
  413. margin: 0;
  414. padding-top: 5px;
  415. padding-bottom: 7px;
  416. color: white;
  417. }
  418. .slideout-content {
  419. height: 100%;
  420. }
  421. }
  422. .modal-large {
  423. width: 75%;
  424. }
  425. .station {
  426. flex: 1 0 auto;
  427. padding-top: 0.5vw;
  428. transition: all 0.1s;
  429. margin: 0 auto;
  430. max-width: 1280px;
  431. width: 90%;
  432. @media only screen and (min-width: 993px) {
  433. width: 70%;
  434. }
  435. @media only screen and (min-width: 601px) {
  436. width: 85%;
  437. }
  438. input[type=range] {
  439. -webkit-appearance: none;
  440. width: 100%;
  441. margin: 7.3px 0;
  442. }
  443. input[type=range]:focus {
  444. outline: none;
  445. }
  446. input[type=range]::-webkit-slider-runnable-track {
  447. width: 100%;
  448. height: 5.2px;
  449. cursor: pointer;
  450. box-shadow: 0;
  451. background: #c2c0c2;
  452. border-radius: 0;
  453. border: 0;
  454. }
  455. input[type=range]::-webkit-slider-thumb {
  456. box-shadow: 0;
  457. border: 0;
  458. height: 19px;
  459. width: 19px;
  460. border-radius: 15px;
  461. background: #03a9f4;
  462. cursor: pointer;
  463. -webkit-appearance: none;
  464. margin-top: -6.5px;
  465. }
  466. input[type=range]::-moz-range-track {
  467. width: 100%;
  468. height: 5.2px;
  469. cursor: pointer;
  470. box-shadow: 0;
  471. background: #c2c0c2;
  472. border-radius: 0;
  473. border: 0;
  474. }
  475. input[type=range]::-moz-range-thumb {
  476. box-shadow: 0;
  477. border: 0;
  478. height: 19px;
  479. width: 19px;
  480. border-radius: 15px;
  481. background: #03a9f4;
  482. cursor: pointer;
  483. -webkit-appearance: none;
  484. margin-top: -6.5px;
  485. }
  486. input[type=range]::-ms-track {
  487. width: 100%;
  488. height: 5.2px;
  489. cursor: pointer;
  490. box-shadow: 0;
  491. background: #c2c0c2;
  492. border-radius: 1.3px;
  493. }
  494. input[type=range]::-ms-fill-lower {
  495. background: #c2c0c2;
  496. border: 0;
  497. border-radius: 0;
  498. box-shadow: 0;
  499. }
  500. input[type=range]::-ms-fill-upper {
  501. background: #c2c0c2;
  502. border: 0;
  503. border-radius: 0;
  504. box-shadow: 0;
  505. }
  506. input[type=range]::-ms-thumb {
  507. box-shadow: 0;
  508. border: 0;
  509. height: 15px;
  510. width: 15px;
  511. border-radius: 15px;
  512. background: #03a9f4;
  513. cursor: pointer;
  514. -webkit-appearance: none;
  515. margin-top: 1.5px;
  516. }
  517. .video-container {
  518. position: relative;
  519. padding-bottom: 56.25%;
  520. height: 0;
  521. overflow: hidden;
  522. iframe {
  523. position: absolute;
  524. top: 0;
  525. left: 0;
  526. width: 100%;
  527. height: 100%;
  528. }
  529. }
  530. .video-col {
  531. padding-right: 0.75rem;
  532. padding-left: 0.75rem;
  533. }
  534. }
  535. .room-title {
  536. left: 50%;
  537. -webkit-transform: translateX(-50%);
  538. transform: translateX(-50%);
  539. font-size: 2.1em;
  540. }
  541. #ratings {
  542. span {
  543. font-size: 1.68rem;
  544. }
  545. i {
  546. color: #9e9e9e !important;
  547. cursor: pointer;
  548. transition: 0.1s color;
  549. }
  550. }
  551. #time-display {
  552. margin-top: 30px;
  553. float: right;
  554. }
  555. #thumbs_up:hover, #thumbs_up.liked {
  556. color: #87D37C !important;
  557. }
  558. #thumbs_down:hover, #thumbs_down.disliked {
  559. color: #EC644B !important;
  560. }
  561. #song-thumbnail {
  562. max-width: 100%;
  563. width: 85%;
  564. }
  565. .seeker-bar-container {
  566. position: relative;
  567. height: 5px;
  568. display: block;
  569. width: 100%;
  570. overflow: hidden;
  571. }
  572. .seeker-bar {
  573. top: 0;
  574. left: 0;
  575. bottom: 0;
  576. position: absolute;
  577. }
  578. ul {
  579. list-style: none;
  580. margin: 0;
  581. display: block;
  582. }
  583. h1, h2, h3, h4, h5, h6 {
  584. font-weight: 400;
  585. line-height: 1.1;
  586. }
  587. h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  588. font-weight: inherit;
  589. }
  590. h1 {
  591. font-size: 4.2rem;
  592. line-height: 110%;
  593. margin: 2.1rem 0 1.68rem 0;
  594. }
  595. h2 {
  596. font-size: 3.56rem;
  597. line-height: 110%;
  598. margin: 1.78rem 0 1.424rem 0;
  599. }
  600. h3 {
  601. font-size: 2.92rem;
  602. line-height: 110%;
  603. margin: 1.46rem 0 1.168rem 0;
  604. }
  605. h4 {
  606. font-size: 2.28rem;
  607. line-height: 110%;
  608. margin: 1.14rem 0 0.912rem 0;
  609. }
  610. h5 {
  611. font-size: 1.64rem;
  612. line-height: 110%;
  613. margin: 0.82rem 0 0.656rem 0;
  614. }
  615. h6 {
  616. font-size: 1rem;
  617. line-height: 110%;
  618. margin: 0.5rem 0 0.4rem 0;
  619. }
  620. .thin {
  621. font-weight: 200;
  622. }
  623. .left {
  624. float: left !important;
  625. }
  626. .right {
  627. float: right !important;
  628. }
  629. .light-blue {
  630. background-color: #03a9f4 !important;
  631. }
  632. .white {
  633. background-color: #FFFFFF !important;
  634. }
  635. .btn-search {
  636. font-size: 14px;
  637. }
  638. </style>