From: Alexander Ebert Date: Sun, 24 Apr 2022 12:12:19 +0000 (+0200) Subject: Incorrect selector target X-Git-Tag: 5.5.0_Alpha_3~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=71c05c5d7d514e11d7dc4ed96aabadb75e40f7ac;p=GitHub%2FWoltLab%2FWCF.git Incorrect selector target --- diff --git a/wcfsetup/install/files/style/ui/userMenu.scss b/wcfsetup/install/files/style/ui/userMenu.scss index e4f2e4aac5..bf410495a9 100644 --- a/wcfsetup/install/files/style/ui/userMenu.scss +++ b/wcfsetup/install/files/style/ui/userMenu.scss @@ -82,7 +82,7 @@ width: 44px; } -body:not(.touch) .userMenuButton { +html:not(.touch) .userMenuButton { transform: scale(1); transition: transform 0.24s ease-in-out; @@ -158,7 +158,7 @@ body:not(.touch) .userMenuButton { } } -body:not(.touch) .userMenuItem:hover { +html:not(.touch) .userMenuItem:hover { background-color: var(--background-color-active); } @@ -232,11 +232,11 @@ body:not(.touch) .userMenuItem:hover { } } -body:not(.touch) .userMenuItemUnread::before { +html:not(.touch) .userMenuItemUnread::before { transition: left 0.12s ease-in-out, opacity 0.12s ease-in-out; } -body:not(.touch) .userMenuItem:hover .userMenuItemUnread::before { +html:not(.touch) .userMenuItem:hover .userMenuItemUnread::before { opacity: 0; left: 0; } @@ -249,7 +249,7 @@ body:not(.touch) .userMenuItem:hover .userMenuItemUnread::before { width: 100%; } -body:not(.touch) .userMenuItemMarkAsRead { +html:not(.touch) .userMenuItemMarkAsRead { transform: scale(1); transition: opacity 0.12s ease-in-out, left 0.12s ease-in-out, transform 0.24s ease-in-out;