diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-09-12 00:11:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-12 00:11:40 +0300 |
commit | c81829fd7485d4ec74c6c3556ef48f2b5f9a9db0 (patch) | |
tree | 9538fd2fcd6cca08150ba9573b6410cdad3a30de | |
parent | 0c3c145b90fcaab3b3ac3f2069f78e1fc13b8b2c (diff) | |
parent | 4baae80d987a3981bada0fd9d0ef2dbe7c14e414 (diff) |
Merge pull request #6427 from nextcloud/backport-to-fix-popover-hovering
[stable12] Fix hovering on all popover types
-rw-r--r-- | core/css/apps.scss | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss index bbf72f45c53..1e0ea8f6259 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 |