diff --git a/css/dark-style.css b/css/dark-style.css index 5315df6c7..a14f85309 100644 --- a/css/dark-style.css +++ b/css/dark-style.css @@ -469,17 +469,30 @@ footer { flex: 1 1 300px; } -/* Animation Classes */ -.fade-in { +/* Animation Classes - Updated for better compatibility */ +.fade-in, .slide-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; + will-change: opacity, transform; /* Performance hint for browser */ } .slide-up { - opacity: 0; - transform: translateY(40px); - transition: opacity 0.8s ease-out, transform 0.8s ease-out; + transform: translateY(40px); /* More pronounced effect */ +} + +.fade-in.animated, .slide-up.animated { + opacity: 1; + transform: translateY(0); +} + +/* Always show animations on mobile devices to avoid issues */ +@media (max-width: 768px) { + .fade-in, .slide-up { + opacity: 1; + transform: translateY(0); + transition: none; + } } /* Responsive Design */ diff --git a/index.html b/index.html index 6bf42d9ed..14cb0e55c 100644 --- a/index.html +++ b/index.html @@ -84,37 +84,37 @@
Ombi transforms how you manage your media server with these essential features: