diff --git a/public/css/modules/base.css b/public/css/modules/base.css index e348183..32776ca 100644 --- a/public/css/modules/base.css +++ b/public/css/modules/base.css @@ -1,15 +1,10 @@ -/* Normalizing */ * { - margin: 0; - padding: 0; - box-sizing: border-box; + transition: background-color 500ms ease-in-out; } -body { - font-size: 16px; -} +html { + height: 100%; -:root { --main-background: #ffffff; --secondary-background: #eeeeee; --main-text: #333333; @@ -26,8 +21,7 @@ body { --toast-text: #ffffffde; } -/* Add to body to switch to dark mode */ -.dark-theme { +html[data-theme='dark'] { --main-background: #141414; --secondary-background: #242424; --main-text: #eeeeee; @@ -35,23 +29,12 @@ body { --panels-text: #ffffff; } -html { - height: 100%; -} - body { margin: 0px; width: 100%; height: 100%; font-family: 'Open Sans'; overflow: hidden; - background-color: var(--main-background); + background: var(--main-background); color: var(--main-text); } - -#main_content { - margin-left: 48px; - width: calc(100% - 48px); - height: 100%; - display: flex; -} diff --git a/public/css/modules/globals.css b/public/css/modules/globals.css index 22c3e35..32f051c 100644 --- a/public/css/modules/globals.css +++ b/public/css/modules/globals.css @@ -1,4 +1,10 @@ -/* Global stuff */ +#main_content { + margin-left: 48px; + width: calc(100% - 48px); + height: 100%; + display: flex; +} + img.rounded { border-radius: 5px; } @@ -260,3 +266,21 @@ th.sort-desc:after { font-size: 24px; padding: 16px; } + +.with_checkbox { + display: flex; + align-items: center; +} + +.with_checkbox [type='checkbox'] { + cursor: pointer; +} + +.with_checkbox .checkbox_text { + margin-left: 10px; + cursor: pointer; +} + +.with_checkbox .checkbox_text::selection { + background: none; +} diff --git a/public/css/modules/middle-section.css b/public/css/modules/middle-section.css index aa1f3ed..0ee8663 100644 --- a/public/css/modules/middle-section.css +++ b/public/css/modules/middle-section.css @@ -7,7 +7,7 @@ } /* Center section */ -#search>#searchbar { +#search > #searchbar { width: calc(100% - 32px); height: 32px; padding: 0px 8px; @@ -15,7 +15,7 @@ border: 0px; border-radius: 6px; background-color: var(--secondary-background); - color: var(--primary-text) + color: var(--primary-text); } #content { @@ -24,7 +24,7 @@ height: calc(100% - 48px); overflow-y: scroll; overflow-x: hidden; - padding-left: 10px + padding-left: 10px; } #content::-webkit-scrollbar { @@ -58,8 +58,8 @@ width: 100%; /* Full width */ height: 100%; /* Full height */ overflow: auto; /* Enable scroll if needed */ - background-color: rgb(0,0,0); /* Fallback color */ - background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ + background-color: rgb(0, 0, 0); /* Fallback color */ + background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */ animation-duration: 0.3s; } @@ -73,25 +73,28 @@ top: 50%; transform: translateY(-50%); } -.smallmodal-content button{ +.smallmodal-content button { width: 100%; margin-bottom: 8px; } @media only screen and (min-width: 601px) { - #container, .smallmodal-content { + #container, + .smallmodal-content { width: 85%; } } @media only screen and (min-width: 993px) { - #container, .smallmodal-content { + #container, + .smallmodal-content { width: 70%; } } @media only screen and (max-width: 600px) { - #container, .smallmodal-content { + #container, + .smallmodal-content { width: 100%; } } diff --git a/public/css/modules/normalize.css b/public/css/modules/normalize.css new file mode 100644 index 0000000..e118b4f --- /dev/null +++ b/public/css/modules/normalize.css @@ -0,0 +1,9 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-size: 16px; +} diff --git a/public/css/modules/settings.css b/public/css/modules/settings.css index 3859a40..0fdae25 100644 --- a/public/css/modules/settings.css +++ b/public/css/modules/settings.css @@ -57,3 +57,11 @@ .settings_group > * { margin-bottom: 15px; } + +.input_group { + margin-bottom: 25px; +} + +.input_group .input_group_text { + margin-bottom: 7px; +} diff --git a/public/css/style.css b/public/css/style.css index 67559f3..f15c2a8 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -3,6 +3,7 @@ @import './vendor/OpenSans.css'; @import './vendor/toastify.css'; +@import './modules/normalize.css'; @import './modules/base.css'; @import './modules/globals.css'; @import './modules/progressbar.css'; diff --git a/public/index.html b/public/index.html index fe3af1a..25bceba 100644 --- a/public/index.html +++ b/public/index.html @@ -1,5 +1,5 @@ - +
@@ -9,7 +9,7 @@ content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=0"> @@ -165,7 +165,9 @@{{ track.position }} | @@ -341,7 +346,9 @@{{track.title + (track.title_version ? ' '+track.title_version : '')}} | ++ {{ track.title + (track.title_version && track.title.indexOf(track.title_version) == -1 ? ' '+ track.title_version : '') }} + | {{track.artist.name}} |
@@ -420,6 +427,13 @@ Settings+
+
+
+
Login
@@ -455,70 +469,75 @@ TemplatesFolders+ - - -
- Playlist folder template +
+
- Playlist folder template
-
+ Create folder for artist
+
- Create folder for artist +
- Artist folder template +
+
- Artist folder template
-
+ Create folder for album
+
- Create folder for album +
-
- Album folder template +
+
- Album folder template
-
+ Create folder for CDs
+
- Create folder for CDs +
-
+ Create folder structure for playlists
+
- Create folder structure for playlists +
-
+ Create folder structure for singles
+
Create folder structure for singles +
-
-
-
+
+ Track titles+Pad tracks
+ Overwrite padding size
+ Illegal Character replacer
+
+
+
+ Downloads+Concurrent Downloads
+ Preferred Bitrate
+ Bitrate fallback
+ Search fallback
+
+ Create log file for errors
+ Create log file for searched tracks
+ Create playlist file
+ Create .lyr files (Sync Lyrics)
+
+
+
+ Album covers+Save covers
+ Cover name template
+ Save artist image
+ Artist image name template
+ Local artwork size
+ Embedded artwork size
+ Save images as png
+ JPEG image quality
+
+
+
+
+ Save playlists as compilation
+ Use null separator
+ Save ID3v1 as well
+ How would you like to separate your artists?
+ Remove album version from track title
+ Date format for FLAC files
+ What should I do with featured artists
+ Title casing
+ Artist casing
+
Command to execute after download Leave blank for no action
-
+ Spotify clientID
+ Spotify Client Secret {{ metadata }}play_arrow |
{{ track.track_position }} | explicit{{ track.title + (track.title_version && track.title.indexOf(track.title_version) == -1 ? ' '+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 }} | @@ -814,4 +842,4 @@