From 29ff7efe9a5be16b133a1ee4e43d6d2155b6a21c Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Fri, 29 Jun 2018 16:10:53 +0200 Subject: Svg icon api sass function and upgrade of all styles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files/css/files.scss | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'apps/files/css') diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 79dc2a26ebd..a408776a302 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -84,27 +84,26 @@ /* icons for sidebar */ .nav-icon-files { - background-image: url('../img/folder.svg?v=1'); + background-image: icon-color(folder, 'files', $color-black); } .nav-icon-recent { - background-image: url('../img/recent.svg?v=1'); + background-image: icon-color(recent, 'files', $color-black); } .nav-icon-favorites { - background-image: url('../img/star.svg?v=1'); + background-image: icon-color(star, 'files', $color-black); } .nav-icon-sharingin, -.nav-icon-sharingout, -.nav-icon-shareoverview { - background-image: url('../img/share.svg?v=1'); +.nav-icon-sharingout { + background-image: icon-color(share, 'files', $color-black); } .nav-icon-sharinglinks { - background-image: url('../img/public.svg?v=1'); + background-image: icon-color(public, 'files', $color-black); } .nav-icon-extstoragemounts { - background-image: url('../img/external.svg?v=1'); + background-image: icon-color(external, 'files', $color-black); } .nav-icon-trashbin { - background-image: url('../img/delete.svg?v=1'); + background-image: icon-color(delete, 'files', $color-black); } .nav-icon-deletedshares { background-image: url('../img/unshare.svg?v=1'); -- cgit v1.2.3