From 4baae80d987a3981bada0fd9d0ef2dbe7c14e414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Thu, 7 Sep 2017 18:43:31 +0200 Subject: [PATCH] Fix hovering on all popover types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- core/css/apps.scss | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/core/css/apps.scss b/core/css/apps.scss index bbf72f45c5..1e0ea8f625 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -668,6 +668,16 @@ kbd { margin: 0; font-weight: 300; box-shadow: none; + width: 100%; + /* Override the app-navigation li opacity */ + -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)' !important; + filter: alpha(opacity = 70) !important; + opacity: .7 !important; + &:hover, &:focus, &.active { + -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)' !important; + filter: alpha(opacity = 100) !important; + opacity: 1 !important; + } /* prevent .action class to break the design */ &.action { padding: inherit !important; @@ -691,17 +701,6 @@ kbd { padding: 0 10px; } } - .menuitem { - width: 100%; - -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)'; - filter: alpha(opacity = 70); - opacity: .7; - &:hover, &:focus, &.active { - -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)'; - filter: alpha(opacity = 100); - opacity: 1; - } - } [class^='icon-'], [class*=' icon-']{ /* Keep padding to define the width to