diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 9fcc10caf4..7a9381662f 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -108,6 +108,9 @@ .nav-icon-trashbin { background-image: url('../img/delete.svg?v=1'); } +.nav-icon-quota { + background-image: url('../img/quota.svg?v=1'); +} #app-navigation .nav-files a.nav-icon-files { width: auto; @@ -752,11 +755,22 @@ table.dragshadow td.size { #quota { margin: 0 !important; border: none; - div { - border-radius: 0; + background-color: transparent; + + .quota-container { + height: 5px; + border-radius: 3px; + + div { + height: 100%; + background-color: $color-primary; + } } } -#quotatext { - padding: 3px; +#quotatext, +#quotatext-additional { + padding: 0; + height: 30px; + line-height: 30px; } diff --git a/apps/files/img/quota.svg b/apps/files/img/quota.svg new file mode 100644 index 0000000000..8ed264e850 --- /dev/null +++ b/apps/files/img/quota.svg @@ -0,0 +1,4 @@ + + + + diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index 28019ba803..49bfaab3e1 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -1,18 +1,21 @@
-
-
80): ?>class="quota-warning"> -

t('%s of %s in use', [$_['usage'], $_['total_space']])); ?>

-
-
-