From c6a8055eced64fd20c7d398b3e83582715ff6112 Mon Sep 17 00:00:00 2001 From: Michal Vrba Date: Thu, 11 Dec 2025 13:37:44 +0100 Subject: [PATCH] Replace Blazor loader with custom music-themed splash Replaces default Blazor loading spinner with a custom, animated music-themed loader featuring a gradient background, floating musical notes, logo, equalizer animation, and dynamic progress bar/messages. Removes old loader CSS from app.css and adds new styles to index.html. Loader progress and messages are now animated via JavaScript, with interactive note effects on click. Loader and background fade out smoothly when the app is ready. --- TuneRipper/wwwroot/css/app.css | 48 +--- TuneRipper/wwwroot/index.html | 409 ++++++++++++++++++++++++++++++++- 2 files changed, 409 insertions(+), 48 deletions(-) diff --git a/TuneRipper/wwwroot/css/app.css b/TuneRipper/wwwroot/css/app.css index 7d62c37..3638a9a 100644 --- a/TuneRipper/wwwroot/css/app.css +++ b/TuneRipper/wwwroot/css/app.css @@ -15,6 +15,11 @@ html, body { width: 100vw; } +/* Smooth transition when app loads */ +.app-loaded #app { + background: none !important; +} + h1:focus { outline: none; } @@ -76,49 +81,6 @@ a, .btn-link { content: "An error has occurred." } -.loading-progress { - position: absolute; - display: block; - width: 8rem; - height: 8rem; - inset: 20vh 0 auto 0; - margin: 0 auto 0 auto; -} - - .loading-progress circle { - fill: none; - stroke: #e0e0e0; - stroke-width: 0.6rem; - transform-origin: 50% 50%; - transform: rotate(-90deg); - } - - .loading-progress circle:last-child { - stroke: #1b6ec2; - stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%; - transition: stroke-dasharray 0.05s ease-in-out; - } - -.loading-progress-text { - position: absolute; - text-align: center; - font-weight: bold; - inset: calc(20vh + 3.25rem) 0 auto 0.2rem; -} - - .loading-progress-text:after { - content: var(--blazor-load-percentage-text, "Loading"); - } - code { color: #c02d76; -} - -.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder { - color: var(--bs-secondary-color); - text-align: end; -} - -.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder { - text-align: start; } \ No newline at end of file diff --git a/TuneRipper/wwwroot/index.html b/TuneRipper/wwwroot/index.html index 2e19494..c23fb85 100644 --- a/TuneRipper/wwwroot/index.html +++ b/TuneRipper/wwwroot/index.html @@ -18,15 +18,291 @@ + +
- - - - -
+ +
+
♪
+
♫
+
♪
+
♬
+
♫
+
♪
+
♬
+
♫
+
♪
+
+ + +
+ +

TuneRipper

+

YouTube to MP3 Converter

+ + +
+
+
+
+
+
+
+
+
+ + +
+
+
+
Initializing audio engine...
+
@@ -34,6 +310,129 @@ Reload 🗙
+ + +