From 959bd89d85d060d252c4ecca8b8a91f0998cacdd Mon Sep 17 00:00:00 2001 From: robtonino Date: Tue, 12 May 2020 20:42:01 +0200 Subject: [PATCH] fixed charts tab style, improved tracklist tab style, minor changes --- public/css/modules/base/base.css | 2 + public/css/modules/globals.css | 2 +- public/css/modules/tabs/charts-tab.css | 4 + public/css/modules/tabs/tabs.css | 1 + public/css/modules/tabs/tracklist-tab.css | 22 +- public/index.html | 58 +- public/js/bundle.js | 42105 +------------------- public/js/bundle.js.map | 2 +- src/js/modules/components/charts-tab.js | 24 +- 9 files changed, 84 insertions(+), 42136 deletions(-) create mode 100644 public/css/modules/tabs/charts-tab.css diff --git a/public/css/modules/base/base.css b/public/css/modules/base/base.css index 07def0a..52efa2d 100644 --- a/public/css/modules/base/base.css +++ b/public/css/modules/base/base.css @@ -24,6 +24,8 @@ html { --toast-secondary: #ffffff22; --toast-text: #ffffffde; --separator: #8f8f8f; + + --explicit-separator: 0.3125em; } html[data-theme='dark'] { diff --git a/public/css/modules/globals.css b/public/css/modules/globals.css index ad10cd2..79ff028 100644 --- a/public/css/modules/globals.css +++ b/public/css/modules/globals.css @@ -122,7 +122,7 @@ p, word-break: break-word; } -a { +a:visited { color: dodgerblue; } diff --git a/public/css/modules/tabs/charts-tab.css b/public/css/modules/tabs/charts-tab.css new file mode 100644 index 0000000..6e8d921 --- /dev/null +++ b/public/css/modules/tabs/charts-tab.css @@ -0,0 +1,4 @@ +.charts_grid .release .coverart { + width: 156px; + height: 156px; +} \ No newline at end of file diff --git a/public/css/modules/tabs/tabs.css b/public/css/modules/tabs/tabs.css index d889e33..8014af0 100644 --- a/public/css/modules/tabs/tabs.css +++ b/public/css/modules/tabs/tabs.css @@ -1,3 +1,4 @@ +@import './charts-tab.css'; @import './download-tab.css'; @import './favorites-tab.css'; @import './home-tab.css'; diff --git a/public/css/modules/tabs/tracklist-tab.css b/public/css/modules/tabs/tracklist-tab.css index 43a707c..c875c60 100644 --- a/public/css/modules/tabs/tracklist-tab.css +++ b/public/css/modules/tabs/tracklist-tab.css @@ -1,3 +1,23 @@ -.trackCheckbox { +.tracklist_table td { + height: 50px; + vertical-align: middle; +} + +.tracklist_table .explicit_icon { + vertical-align: middle; + margin-right: var(--explicit-separator); +} + +.tracklist_table .track_position_head, +.tracklist_table .track_position { + width: 10px; + text-align: center; +} + +.explicit_tracklist { + margin-left: var(--explicit-separator); +} + +.track_checkbox { cursor: pointer; } diff --git a/public/index.html b/public/index.html index 2898112..33aa06f 100644 --- a/public/index.html +++ b/public/index.html @@ -298,8 +298,7 @@

Popular playlists

Most streamed albums

-
+
Most streamed albums
-

Charts

-
-
-
- -
+

Charts

+
+
+ + + + +
@@ -999,15 +1009,18 @@

{{ title }}