From 29ade672d7dbe2f05e1a8e8fef57662b7450ab8a Mon Sep 17 00:00:00 2001 From: 4gray Date: Mon, 2 Sep 2024 08:19:28 +0200 Subject: [PATCH] style: update home view --- src/app/home/home.component.scss | 2 - .../playlist-item.component.html | 11 +- .../playlist-item.component.scss | 5 +- .../recent-playlists.component.html | 9 +- .../recent-playlists.component.scss | 51 +++-- .../vjs-player/vjs-player.component.scss | 2 +- .../components/header/header.component.html | 189 +++++++++--------- .../components/header/header.component.scss | 10 +- .../components/header/header.component.ts | 2 + 9 files changed, 154 insertions(+), 127 deletions(-) diff --git a/src/app/home/home.component.scss b/src/app/home/home.component.scss index 421619525..82beb5aa3 100644 --- a/src/app/home/home.component.scss +++ b/src/app/home/home.component.scss @@ -15,8 +15,6 @@ .recent-playlists { height: calc(100vh - 106px); overflow: auto; - width: 100%; - display: block; } @media only screen and (max-width: 480px) { diff --git a/src/app/home/recent-playlists/playlist-item/playlist-item.component.html b/src/app/home/recent-playlists/playlist-item/playlist-item.component.html index 58676a55b..c905c6dde 100644 --- a/src/app/home/recent-playlists/playlist-item/playlist-item.component.html +++ b/src/app/home/recent-playlists/playlist-item/playlist-item.component.html @@ -1,9 +1,9 @@ - drag_indicator folder public - diff --git a/src/app/home/recent-playlists/playlist-item/playlist-item.component.scss b/src/app/home/recent-playlists/playlist-item/playlist-item.component.scss index ca9fea6af..29f8aa88a 100644 --- a/src/app/home/recent-playlists/playlist-item/playlist-item.component.scss +++ b/src/app/home/recent-playlists/playlist-item/playlist-item.component.scss @@ -14,8 +14,8 @@ mat-list-item { .cdk-drag-preview { box-sizing: border-box; - border-radius: 4px; - box-shadow: 0 5px 5px -3px rgb(0 0 0 / 20%), 0 8px 10px 1px rgb(0 0 0 / 14%), 0 3px 14px 2px rgb(0 0 0 / 12%); + border-radius: 30px; + box-shadow: 0 5px 5px -3px rgb(0 0 0 / 20%), 0 8px 10px 1px rgba(58, 58, 58, 0.14), 0 3px 14px 2px rgb(0 0 0 / 12%); } .cdk-drag-placeholder { @@ -28,7 +28,6 @@ mat-list-item { .drag-icon { cursor: move; - margin-left: 0; margin-right: 0; } diff --git a/src/app/home/recent-playlists/recent-playlists.component.html b/src/app/home/recent-playlists/recent-playlists.component.html index 6978593bb..cada6e811 100644 --- a/src/app/home/recent-playlists/recent-playlists.component.html +++ b/src/app/home/recent-playlists/recent-playlists.component.html @@ -1,5 +1,6 @@ @if (allPlaylistsLoaded()) { - + + search - search
@@ -30,7 +31,7 @@ - star
@@ -43,7 +44,7 @@ }}
- + - -
-
-
{{ title }}
-
{{ subtitle }}
-
- + +
+

{{ 'HOME.FILTER_BY_TYPE' | translate }}:

+ @for (type of playlistTypes; track $index) { +

+ {{ type.title }} +

+ } +
+
+ + + + + + + + + + + +