summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-05-03 10:31:56 +0200
committerJulius Härtl <jus@bitgrid.net>2018-05-03 10:32:16 +0200
commit94528ad2be8e2bccce42e92dc1abccd3a2433b2e (patch)
tree0358cdef20b04643f26493852b6a57af101fdaf0 /apps/files
parentd0efe1bf6c925a002f3777305fb6ad6f2f26f2dd (diff)
downloadnextcloud-server-94528ad2be8e2bccce42e92dc1abccd3a2433b2e.tar.gz
nextcloud-server-94528ad2be8e2bccce42e92dc1abccd3a2433b2e.zip
Move quota icon to core
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/css/files.scss3
-rw-r--r--apps/files/img/quota.svg1
-rw-r--r--apps/files/templates/appnavigation.php2
3 files changed, 1 insertions, 5 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index b89332248f7..d2d810c1e6c 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -105,9 +105,6 @@
.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;
diff --git a/apps/files/img/quota.svg b/apps/files/img/quota.svg
deleted file mode 100644
index 691cb29efce..00000000000
--- a/apps/files/img/quota.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 16 16" width="16" version="1.1"><path d="m8 1c-3.86 0-7 3.15-7 7s3.15 7 7 7c3.86 0 7-3.15 7-7 0-3.86-3.15-7-7-7zm0 1.75c2.91 0 5.25 2.34 5.25 5.25 0 1.42-0.56 2.7-1.47 3.644l-3.78-3.644z"/></svg>
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php
index a85e2515a92..c811ace8abe 100644
--- a/apps/files/templates/appnavigation.php
+++ b/apps/files/templates/appnavigation.php
@@ -15,7 +15,7 @@
if ($_['quota'] !== \OCP\Files\FileInfo::SPACE_UNLIMITED) {
?>has-tooltip" title="<?php p($_['usage_relative'] . '%');
} ?>">
- <a href="#" class="nav-icon-quota svg">
+ <a href="#" class="icon-quota svg">
<p id="quotatext"><?php
if ($_['quota'] !== \OCP\Files\FileInfo::SPACE_UNLIMITED) {
p($l->t('%s of %s used', [$_['usage'], $_['total_space']]));