Skip to content

Build your personal knowledge base with Trilium Notes

style(standalone): drop motion from the error overlay

Elian Doran36bcacbd4a7d
diff --git a/apps/standalone/src/error-overlay.css b/apps/standalone/src/error-overlay.css
index d3988c89e1..e20bef1537 100644
--- a/apps/standalone/src/error-overlay.css
+++ b/apps/standalone/src/error-overlay.css
@@ -55,7 +55,6 @@
background: var(--tn-eo-bg);
border-radius: 16px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
- animation: tn-eo-in 0.18s ease-out;
}
#trilium-error-overlay .tn-eo-illustration {
@@ -113,35 +112,17 @@
font-family: inherit;
font-size: 0.95rem;
cursor: pointer;
- transition: background 0.15s ease-out;
}
#trilium-error-overlay .tn-eo-button:hover {
background: var(--tn-eo-btn-hover);
}
-#trilium-error-overlay .tn-eo-button:active {
- opacity: 0.85;
- box-shadow: none;
- transform: scale(0.96);
-}
-
#trilium-error-overlay .tn-eo-button:focus-visible {
outline: 2px solid var(--input-focus-outline-color, #00000063);
outline-offset: 1px;
}
-@keyframes tn-eo-in {
- from { opacity: 0; transform: translateY(8px) scale(0.98); }
- to { opacity: 1; transform: none; }
-}
-
-@media (prefers-reduced-motion: reduce) {
- #trilium-error-overlay .tn-eo-card {
- animation: none;
- }
-}
-
@media (prefers-color-scheme: dark) {
#trilium-error-overlay {
--tn-eo-bg: var(--main-background-color, #242424);