From d955a3c26cca380c6b91913af7ad75af24cb314b Mon Sep 17 00:00:00 2001 From: szaimen Date: Thu, 15 Jul 2021 02:38:35 +0200 Subject: [PATCH] Improve notcreatable permissions hint Signed-off-by: szaimen --- apps/files/css/files.scss | 20 +++++++++++++++++--- apps/files/templates/list.php | 1 + core/css/icons.scss | 2 ++ core/img/actions/alert-outline.svg | 1 + 4 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 core/img/actions/alert-outline.svg diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 81376a38d9d..3f2e971b46b 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -818,9 +818,23 @@ table.dragshadow td.size { } .notCreatable { - padding-left: 12px; - padding-top: 12px; - color: var(--color-text-lighter); + margin-left: 12px; + margin-right: 44px; + margin-top: 12px; + color: var(--color-main-text); + overflow: auto; + min-width: 160px; + height: 54px; + + &:not(.hidden) { + display: flex; + } + + .icon-alert-outline { + top: -15px; + position: relative; + margin-right: 4px; + } } #quota { diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php index ff79c771c0a..a88a9550beb 100644 --- a/apps/files/templates/list.php +++ b/apps/files/templates/list.php @@ -5,6 +5,7 @@