diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-04-30 09:20:00 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-05-07 19:06:58 +0200 |
commit | faff807ba67404ccf822f5080a5b519a9a7e0703 (patch) | |
tree | a5ea8bdb7f4e6734aba84c3c0118943eeddb1bcc /apps/files/css | |
parent | 4fd2cbeb94faea75d9d14be3939a7d6bce2d88cf (diff) | |
download | nextcloud-server-faff807ba67404ccf822f5080a5b519a9a7e0703.tar.gz nextcloud-server-faff807ba67404ccf822f5080a5b519a9a7e0703.zip |
Floating files header
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/css')
-rw-r--r-- | apps/files/css/files.scss | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index a5e28ff38da..eb0e891e5c1 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -55,12 +55,28 @@ position: relative; width: 100%; min-width: 250px; + display: flex; + flex-direction: column; // hide table if emptycontent is not hidden #emptycontent:not(.hidden) ~ & { display: none; } } +@media only screen and (min-width: $breakpoint-mobile + 1) { + #filestable { + // floating header + thead { + position: sticky; + // header + breadcrumbs + top: $header-height + 44px; + z-index: 1000; + display: block; + background-color: var(--color-main-background-translucent); + } + } +} + /* fit app list view heights */ .app-files #app-content>.viewcontainer { min-height: 0%; |