summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-17 12:40:19 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-21 14:00:37 +0200
commit02db24de3a6d8cbba579c6d133a972a6265bb422 (patch)
tree30aac2d00ad72e9ba6cc5af57493e8ff54e73495 /core/css
parent3e25dcfb3e882f4b93988aa7d9b4d4b39baa714f (diff)
downloadnextcloud-server-02db24de3a6d8cbba579c6d133a972a6265bb422.tar.gz
nextcloud-server-02db24de3a6d8cbba579c6d133a972a6265bb422.zip
Add possibility to pin nav entries at the bottom
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/apps.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index 7ac357e6a1a..2f71c655ad0 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -105,6 +105,16 @@ kbd {
> li {
display: inline-flex;
flex-wrap: wrap;
+ order: 1;
+ flex-shrink: 0;
+
+ /* Pinned-to-bottom entries */
+ &.pinned {
+ order: 2;
+ &:first-child {
+ margin-top: auto !important;
+ }
+ }
> a,
> .app-navigation-entry-deleted {