From ec914f72e868cd85d62a79396082cbc5215db628 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Wed, 13 May 2020 23:20:20 +0200 Subject: [PATCH] Added explicit icon where missing --- public/css/modules/globals.css | 5 +++++ public/index.html | 30 ++++++++++++++++++++---------- 2 files changed, 25 insertions(+), 10 deletions(-) diff --git a/public/css/modules/globals.css b/public/css/modules/globals.css index 79ff028..6b889f0 100644 --- a/public/css/modules/globals.css +++ b/public/css/modules/globals.css @@ -83,6 +83,11 @@ i.disabled { opacity: 0.5; } +i.explicit_icon { + color: #FF3B30; + margin-right: var(--explicit-separator); +} + span.tag { background-color: var(--tag-background); border-radius: 2px; diff --git a/public/index.html b/public/index.html index 48b5665..0c033c3 100644 --- a/public/index.html +++ b/public/index.html @@ -120,7 +120,10 @@

Start searching!

- {{track.SNG_TITLE + (track.VERSION ? ' '+track.VERSION : '')}} + + explicit + {{track.SNG_TITLE + (track.VERSION ? ' '+track.VERSION : '')}} + {{artist.ART_NAME}} @@ -158,7 +161,10 @@

Start searching!

@click.stop="addToQueue" :data-link="'https://deezer.com/album/'+release.ALB_ID" class="download_overlay">get_app -

{{release.ALB_TITLE}}

+

+ explicit + {{release.ALB_TITLE}} +

{{release.ART_NAME+' - '+release.NUMBER_TRACK+' tracks'}}

@@ -208,7 +214,8 @@

No Tracks found

class="material-icons preview_controls">play_arrow - + + explicit {{ track.title + (track.title_version && track.title.indexOf(track.title_version) == -1 ? ' '+ track.title_version : '') }} @@ -240,7 +247,10 @@

No Albums found

@click.stop="addToQueue" :data-link="release.link" class="download_overlay">get_app -

{{ release.title }}

+

+ explicit + {{ release.title }} +

{{ 'by '+release.artist.name+' - '+release.nb_tracks+' tracks' }}

@@ -1009,8 +1019,7 @@

{{ title }}

- explicit + explicit {{release.title}} fiber_new @@ -1057,7 +1066,7 @@

{{ metadata }}play_arrow {{ track.track_position }} - + explicit {{ track.title + (track.title_version && track.title.indexOf(track.title_version) == -1 ? ' '+ track.title_version : '') }} @@ -1083,8 +1092,9 @@

{{ metadata }}play_arrow {{ i+1 }} - explicit{{ track.name }} + + explicit + {{ track.name }} {{ track.artists[0].name }} {{ track.album.name }} @@ -1140,4 +1150,4 @@

{{ metadata }} - \ No newline at end of file +