From f644580723f7a48bd0da6499109c67048aa8eb98 Mon Sep 17 00:00:00 2001 From: uh_wot <3631986-uh_wot@users.noreply.gitlab.com> Date: Sun, 26 Apr 2020 17:34:33 +0200 Subject: [PATCH] fixed code indentation --- public/css/modules/middle-section.css | 40 +++--- public/css/modules/progressbar.css | 192 ++++++++++++------------- public/css/modules/track-preview.css | 16 +-- public/index.html | 34 ++--- public/js/modules/link-analyzer-tab.js | 40 +++--- public/js/modules/search.js | 10 +- public/js/modules/tabs.js | 6 +- public/js/modules/utils.js | 2 +- 8 files changed, 170 insertions(+), 170 deletions(-) diff --git a/public/css/modules/middle-section.css b/public/css/modules/middle-section.css index fca1dd1..aa1f3ed 100644 --- a/public/css/modules/middle-section.css +++ b/public/css/modules/middle-section.css @@ -50,32 +50,32 @@ /* The Modal (background) */ .smallmodal { - display: none; /* Hidden by default */ - position: fixed; /* Stay in place */ - z-index: 1250; /* Sit on top */ - left: 0; - top: 0; - 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 */ - animation-duration: 0.3s; + display: none; /* Hidden by default */ + position: fixed; /* Stay in place */ + z-index: 1250; /* Sit on top */ + left: 0; + top: 0; + 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 */ + animation-duration: 0.3s; } /* Modal Content */ .smallmodal-content { - background-color: none; - margin: auto; - width: 30%; - align-items: center; - position: relative; - top: 50%; - transform: translateY(-50%); + background-color: none; + margin: auto; + width: 30%; + align-items: center; + position: relative; + top: 50%; + transform: translateY(-50%); } .smallmodal-content button{ - width: 100%; - margin-bottom: 8px; + width: 100%; + margin-bottom: 8px; } @media only screen and (min-width: 601px) { diff --git a/public/css/modules/progressbar.css b/public/css/modules/progressbar.css index 75ee3aa..a9e1139 100644 --- a/public/css/modules/progressbar.css +++ b/public/css/modules/progressbar.css @@ -1,112 +1,112 @@ .progress { - position: relative; - height: 4px; - display: block; - width: 100%; - background-color: var(--secondary-background); - border-radius: 2px; - margin: 0.5rem 0 1rem 0; - overflow: hidden; + position: relative; + height: 4px; + display: block; + width: 100%; + background-color: var(--secondary-background); + border-radius: 2px; + margin: 0.5rem 0 1rem 0; + overflow: hidden; } .progress .determinate { - position: absolute; - top: 0; - left: 0; - bottom: 0; - background-color: var(--accent-color); - -webkit-transition: width .3s linear; - transition: width .3s linear; + position: absolute; + top: 0; + left: 0; + bottom: 0; + background-color: var(--accent-color); + -webkit-transition: width .3s linear; + transition: width .3s linear; } .progress .indeterminate { - background-color: var(--accent-color); + background-color: var(--accent-color); } .progress .indeterminate:before { - content: ''; - position: absolute; - background-color: inherit; - top: 0; - left: 0; - bottom: 0; - will-change: left, right; - -webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; - animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; + content: ''; + position: absolute; + background-color: inherit; + top: 0; + left: 0; + bottom: 0; + will-change: left, right; + -webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; + animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; } .progress .indeterminate:after { - content: ''; - position: absolute; - background-color: inherit; - top: 0; - left: 0; - bottom: 0; - will-change: left, right; - -webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite; - animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite; - -webkit-animation-delay: 1.15s; - animation-delay: 1.15s; + content: ''; + position: absolute; + background-color: inherit; + top: 0; + left: 0; + bottom: 0; + will-change: left, right; + -webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite; + animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite; + -webkit-animation-delay: 1.15s; + animation-delay: 1.15s; } @-webkit-keyframes indeterminate { - 0% { - left: -35%; - right: 100%; - } - 60% { - left: 100%; - right: -90%; - } - 100% { - left: 100%; - right: -90%; - } + 0% { + left: -35%; + right: 100%; + } + 60% { + left: 100%; + right: -90%; + } + 100% { + left: 100%; + right: -90%; + } } @keyframes indeterminate { - 0% { - left: -35%; - right: 100%; - } - 60% { - left: 100%; - right: -90%; - } - 100% { - left: 100%; - right: -90%; - } + 0% { + left: -35%; + right: 100%; + } + 60% { + left: 100%; + right: -90%; + } + 100% { + left: 100%; + right: -90%; + } } @-webkit-keyframes indeterminate-short { - 0% { - left: -200%; - right: 100%; - } - 60% { - left: 107%; - right: -8%; - } - 100% { - left: 107%; - right: -8%; - } + 0% { + left: -200%; + right: 100%; + } + 60% { + left: 107%; + right: -8%; + } + 100% { + left: 107%; + right: -8%; + } } @keyframes indeterminate-short { - 0% { - left: -200%; - right: 100%; - } - 60% { - left: 107%; - right: -8%; - } - 100% { - left: 107%; - right: -8%; - } + 0% { + left: -200%; + right: 100%; + } + 60% { + left: 107%; + right: -8%; + } + 100% { + left: 107%; + right: -8%; + } } .toast-icon{ @@ -116,26 +116,26 @@ .circle-loader { display: inline-block; - border: 2px solid var(--accent-color); - border-radius: 50%; - border-bottom: 2px solid var(--secondary-background); - width: 16px; - height: 16px; - -webkit-animation: spin 1s linear infinite; /* Safari */ - animation: spin 1s linear infinite; + border: 2px solid var(--accent-color); + border-radius: 50%; + border-bottom: 2px solid var(--secondary-background); + width: 16px; + height: 16px; + -webkit-animation: spin 1s linear infinite; /* Safari */ + animation: spin 1s linear infinite; } .toastify .circle-loader{ - border-bottom-color: var(--toast-secondary) + border-bottom-color: var(--toast-secondary) } /* Safari */ @-webkit-keyframes spin { - 0% { -webkit-transform: rotate(0deg); } - 100% { -webkit-transform: rotate(360deg); } + 0% { -webkit-transform: rotate(0deg); } + 100% { -webkit-transform: rotate(360deg); } } @keyframes spin { - 0% { transform: rotate(0deg); } - 100% { transform: rotate(360deg); } + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } } diff --git a/public/css/modules/track-preview.css b/public/css/modules/track-preview.css index 31f7e0e..08f6a4f 100644 --- a/public/css/modules/track-preview.css +++ b/public/css/modules/track-preview.css @@ -1,22 +1,22 @@ .preview_controls { opacity: 0; - display: block; - background: rgba(0, 0, 0, .5); + display: block; + background: rgba(0, 0, 0, .5); width: 56px; height: 56px; text-align: center; line-height: 56px; - position: absolute; + position: absolute; border-radius: 5px; - top: 0; - right: 0; + top: 0; + right: 0; } .preview_playlist_controls{ cursor:pointer; } a.single-cover { - position: relative; - display: inline-block; - color: white; + position: relative; + display: inline-block; + color: white; } diff --git a/public/index.html b/public/index.html index a700eb5..14ddc8b 100644 --- a/public/index.html +++ b/public/index.html @@ -257,24 +257,24 @@

Favorites

-

Link Analyzer

-

{{ title }}

+

Link Analyzer

+

{{ title }}

{{ subtitle }}

- - - - - - - - - - - -
ISRC{{ data.isrc }}
UPC{{ data.upc }}
Duration{{ convertDuration(data.duration) }}
Disk Number{{ data.disk_number }}
Track Number{{ data.track_position }}
Release Date{{ data.release_date }}
BPM{{ data.bpm }}
Label{{ data.label }}
Record Type{{ data.record_type }}
Genres{{ data.genres.data.map(x => x.name).join("; ") }}
-
-

{{ country[0] }} - {{ country[1] }}

-
+ + + + + + + + + + + +
ISRC{{ data.isrc }}
UPC{{ data.upc }}
Duration{{ convertDuration(data.duration) }}
Disk Number{{ data.disk_number }}
Track Number{{ data.track_position }}
Release Date{{ data.release_date }}
BPM{{ data.bpm }}
Label{{ data.label }}
Record Type{{ data.record_type }}
Genres{{ data.genres.data.map(x => x.name).join("; ") }}
+
+

{{ country[0] }} - {{ country[1] }}

+