Fix counter inside link and highlight submenu as well

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2017-09-07 17:01:04 +02:00
parent a93bbae2b6
commit fb968a3ea2
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 17 additions and 4 deletions

View File

@ -114,12 +114,22 @@ kbd {
} }
/* Second level nesting for lists */ /* Second level nesting for lists */
> ul { > ul {
display: none; //display: none;
flex: 1 0 100%; flex: 1 0 100%;
padding-left: 44px; padding-left: 44px;
width: inherit;
> li { > li {
display: inline-flex; display: inline-flex;
flex-wrap: wrap; flex-wrap: wrap;
&:focus,
&:hover,
&.active,
a.selected {
&,
> a {
opacity: 1;
}
}
} }
} }
} }
@ -134,7 +144,6 @@ kbd {
background-repeat: no-repeat; background-repeat: no-repeat;
display: block; display: block;
justify-content: space-between; justify-content: space-between;
width: 100%;
line-height: 44px; line-height: 44px;
min-height: 44px; min-height: 44px;
padding: 0 12px; padding: 0 12px;
@ -155,11 +164,15 @@ kbd {
padding-left: 44px; padding-left: 44px;
} }
/* Counter can also be inside the link */ /* Counter can also be inside the link */
> .app-navigation-entry-utils {
display: inline-block;
float: right;
.app-navigation-entry-utils-counter { .app-navigation-entry-utils-counter {
padding-right: 0 !important; padding-right: 0 !important;
} }
} }
} }
}
&.hidden { &.hidden {
display: none; display: none;
} }