Rollback background blur and transparency due to high CPU/GPU usage (#1160)

This commit is contained in:
Aditya Chandel
2025-09-15 11:03:34 -06:00
committed by GitHub
parent 11935ae5a7
commit 1df21551f6
10 changed files with 49 additions and 422 deletions
+4 -13
View File
@@ -1,23 +1,14 @@
@if (loading) {
<div class="splash-screen">
<div class="splash-content">
<img src="assets/favicon.svg" alt="Booklore logo" class="logo"/>
<img src="assets/favicon.svg" alt="Booklore logo" class="logo" />
<h1>Loading Booklore…</h1>
<p>Please wait while we get things ready.</p>
<div class="loader"></div>
</div>
</div>
} @else {
<div class="app-background"
[style.background-image]="showBackground() ? backgroundStyle() : 'none'">
<div class="app-overlay"
[style.backdrop-filter]="showBackground() ? blurStyle() : 'none'"
[style.-webkit-backdrop-filter]="showBackground() ? blurStyle() : 'none'"
[style.display]="showBackground() ? 'block' : 'none'"></div>
<div class="app-content">
<p-confirmDialog></p-confirmDialog>
<p-toast></p-toast>
<router-outlet></router-outlet>
</div>
</div>
<p-confirmDialog />
<p-toast></p-toast>
<router-outlet></router-outlet>
}