diff --git a/public/css/modules/track-preview.css b/public/css/modules/track-preview.css new file mode 100644 index 0000000..31f7e0e --- /dev/null +++ b/public/css/modules/track-preview.css @@ -0,0 +1,22 @@ +.preview_controls { + opacity: 0; + display: block; + background: rgba(0, 0, 0, .5); + width: 56px; + height: 56px; + text-align: center; + line-height: 56px; + position: absolute; + border-radius: 5px; + top: 0; + right: 0; +} +.preview_playlist_controls{ + cursor:pointer; +} + +a.single-cover { + position: relative; + display: inline-block; + color: white; +} diff --git a/public/css/style.css b/public/css/style.css index e42799e..91f8148 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -14,3 +14,4 @@ @import './modules/settings.css'; @import './modules/main-search.css'; @import './modules/download-tab.css'; +@import './modules/track-preview.css'; diff --git a/public/index.html b/public/index.html index 63940f1..7374805 100644 --- a/public/index.html +++ b/public/index.html @@ -16,19 +16,19 @@
@@ -159,8 +159,9 @@

No Tracks found

- + + play_arrow + {{track.title + (track.title_version ? ' '+track.title_version : '')}} {{track.artist.name}} @@ -533,11 +534,10 @@

{{ metadata }} - play_arrow + play_arrow {{ track.track_position }} explicit{{ track.title }} {{track.title_version}} + class="material-icons">explicit{{ track.title + (track.title_version && track.title.indexOf(track.title_version) == -1 ? ' '+track.title_version : '') }} {{ track.artist.name }} @@ -578,7 +578,12 @@

{{ metadata }}

-