From d41c703684f86c8b9bc1b12b7c7988eea864a45f Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Sun, 3 Feb 2019 21:16:53 +0100 Subject: [PATCH] refined hover effects for page actions --- templates/widgets/pageaction.lucius | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/templates/widgets/pageaction.lucius b/templates/widgets/pageaction.lucius index edd4cbf6f..c09da8162 100644 --- a/templates/widgets/pageaction.lucius +++ b/templates/widgets/pageaction.lucius @@ -22,23 +22,16 @@ &:hover { .pagenav-secondary__list { - animation: pagenav-fade-in 200ms ease-in-out; display: block; } } } -@keyframes pagenav-fade-in { - from { - opacity: 0; - } -} - .pagenav-secondary__list { position: absolute; display: none; right: 0; - top: 0; + top: 10px; width: 250px; text-align: right; background-color: white; @@ -66,6 +59,10 @@ .pagenav__link-wrapper { flex: 1; padding: 10px 10px 15px; + + &:hover { + background-color: var(--color-grey-light); + } } @media (max-width: 768px) {