From 71c05c5d7d514e11d7dc4ed96aabadb75e40f7ac Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 24 Apr 2022 14:12:19 +0200 Subject: [PATCH] Incorrect selector target --- wcfsetup/install/files/style/ui/userMenu.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; -- 2.20.1