temp fix for settings menu
All checks were successful
/ build (push) Successful in 54s

This commit is contained in:
Ruben 2025-06-03 23:02:18 -05:00
commit 4a56cae387
No known key found for this signature in database
GPG key ID: 8EA836555FB6D9A5
3 changed files with 19 additions and 17 deletions

View file

@ -60,27 +60,30 @@
}
}
/* disable window animations */
/* disable window animations
copy pasted from "@media (prefers-reduced-motion: reduce)" in base.css */
:root:has(#disable-animations:checked) {
.window {
body {
background: var(--background) !important;
animation: unset !important;
transition: unset !important;
-moz-animation: unset !important;
-webkit-animation: unset !important;
}
.window:hover {
transition: unset !important;
/* animations aren't important for anything so we can simply just disable them on every element then choose which ones not to disable */
* {
transition: none !important;
animation: unset !important;
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
-moz-animation: unset !important;
-webkit-animation: unset !important;
}
.navbar {
transition: unset !important;
/* fedi icon on /me should keep its animation (temp, find a better solution later) */
.fedi-icon {
animation: opacity-blink 4s infinite !important;
}
.navbar:hover {
transition: unset !important;
animation: unset !important;
background-color: color-mix(in srgb, var(--accent) 30%, transparent) !important;
.fedi-icon-2 {
animation: opacity-blink-reverse 4s infinite !important;
}
}