summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-03-19 17:03:31 +0100
committerJulius Härtl <jus@bitgrid.net>2018-03-22 11:19:54 +0100
commitdd92923afa618e677d8d32aed7fd6e25c8b3ef25 (patch)
tree2a694ebca3562ad4a265b28872af0ec8a197dc6e /core
parentde3297848e713daf14031b55b79b05a450c381da (diff)
downloadnextcloud-server-dd92923afa618e677d8d32aed7fd6e25c8b3ef25.tar.gz
nextcloud-server-dd92923afa618e677d8d32aed7fd6e25c8b3ef25.zip
Make active navigation indicator more obvious
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core')
-rw-r--r--core/css/apps.scss15
1 files changed, 13 insertions, 2 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index fc255aca676..dc4b8290e99 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -152,7 +152,7 @@ kbd {
&,
> a {
opacity: 1;
- box-shadow: inset 2px 0 $color-primary;
+ box-shadow: inset 4px 0 $color-primary;
}
}
@@ -177,7 +177,6 @@ kbd {
/* Second level nesting for lists */
> ul {
flex: 0 1 auto;
- padding-left: 44px;
width: 100%;
transition: max-height 2000ms ease-in-out,
opacity 250ms ease-in-out;
@@ -187,6 +186,7 @@ kbd {
> li {
display: inline-flex;
flex-wrap: wrap;
+ padding-left: 44px;
&:focus,
&:hover,
&.active,
@@ -197,10 +197,21 @@ kbd {
}
}
+ &.active {
+ box-shadow: inset 4px 0 $color-primary;
+ }
+
/* align loader */
&.icon-loading-small:after {
left: 22px; /* 44px / 2 */
}
+
+ > .app-navigation-entry-deleted,
+ > .app-navigation-entry-edit {
+ /* margin to keep active indicator visible */
+ margin-left: 4px;
+ padding-left: 84px;
+ }
}
}
}