summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-07 17:01:04 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-21 14:00:31 +0200
commitfb968a3ea229ec0e71f34d53a9762e5bf8140ab3 (patch)
treec69b72a44359f9d8f00cfd3e0cc8d2898580ef3a /core
parenta93bbae2b69de066f51a454e1865ff71f71bfb9f (diff)
downloadnextcloud-server-fb968a3ea229ec0e71f34d53a9762e5bf8140ab3.tar.gz
nextcloud-server-fb968a3ea229ec0e71f34d53a9762e5bf8140ab3.zip
Fix counter inside link and highlight submenu as well
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/css/apps.scss21
1 files changed, 17 insertions, 4 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index e4783976d53..94bc86e11ca 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -114,12 +114,22 @@ kbd {
}
/* Second level nesting for lists */
> ul {
- display: none;
+ //display: none;
flex: 1 0 100%;
padding-left: 44px;
+ width: inherit;
> li {
display: inline-flex;
flex-wrap: wrap;
+ &:focus,
+ &:hover,
+ &.active,
+ a.selected {
+ &,
+ > a {
+ opacity: 1;
+ }
+ }
}
}
}
@@ -134,7 +144,6 @@ kbd {
background-repeat: no-repeat;
display: block;
justify-content: space-between;
- width: 100%;
line-height: 44px;
min-height: 44px;
padding: 0 12px;
@@ -155,8 +164,12 @@ kbd {
padding-left: 44px;
}
/* Counter can also be inside the link */
- .app-navigation-entry-utils-counter {
- padding-right: 0 !important;
+ > .app-navigation-entry-utils {
+ display: inline-block;
+ float: right;
+ .app-navigation-entry-utils-counter {
+ padding-right: 0 !important;
+ }
}
}
}