From 3536c457a60b68f7946dc44f5ada250582f4869d Mon Sep 17 00:00:00 2001 From: Bugsbane Date: Sat, 9 Jul 2016 00:04:17 -0400 Subject: [PATCH 1/4] Added new "nav-icon-recent" CSS class Added the class "nav-icon-recent" to display the new "recent files" file list view to be added by @icewind1991 in PR https://github.com/nextcloud/server/pull/292 It's now placed after nav-icon-files which was where @jancborchardt was suggesting iirc. --- apps/files/css/files.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/files/css/files.css b/apps/files/css/files.css index ebb44f3070c93..1f8aa10bdb3c8 100644 --- a/apps/files/css/files.css +++ b/apps/files/css/files.css @@ -89,6 +89,9 @@ .nav-icon-files { background-image: url('../img/folder.svg'); } +.nav-icon-recent { + background-image: url('../img/recent.svg'); +} .nav-icon-favorites { background-image: url('../img/star.svg'); } From 2e777af6e161cf5086282799b1a3b291e88e39ee Mon Sep 17 00:00:00 2001 From: Bugsbane Date: Sat, 9 Jul 2016 00:06:46 -0400 Subject: [PATCH 2/4] Add new "Recent files" clock icon Add the new icon for "Recent files" file list view in the files app by @icewind1991, as discussed in PR https://github.com/nextcloud/server/pull/292 Icon is already compressed/cleaned by scour rather than svgo as svgo seems to corrupt it. --- apps/files/img/recent.svg | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 apps/files/img/recent.svg diff --git a/apps/files/img/recent.svg b/apps/files/img/recent.svg new file mode 100644 index 0000000000000..32cfb109afbeb --- /dev/null +++ b/apps/files/img/recent.svg @@ -0,0 +1,7 @@ + + + + + + + From 61bab527d8ec7b7d4d48d90188bc4d0c657565e0 Mon Sep 17 00:00:00 2001 From: Bugsbane Date: Sun, 10 Jul 2016 14:51:25 -0400 Subject: [PATCH 3/4] Alter colour of "Recent" icon from grey to black Change colour of the "recently used files" icon from grey to black, to match other icons in the files app. --- apps/files/img/recent.svg | 124 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 119 insertions(+), 5 deletions(-) diff --git a/apps/files/img/recent.svg b/apps/files/img/recent.svg index 32cfb109afbeb..5095a61ef383a 100644 --- a/apps/files/img/recent.svg +++ b/apps/files/img/recent.svg @@ -1,7 +1,121 @@ - - - - - + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + From bc0323d4ad3d7f17250e5d811a26c2a475d39c28 Mon Sep 17 00:00:00 2001 From: Bugsbane Date: Sun, 10 Jul 2016 14:57:30 -0400 Subject: [PATCH 4/4] Replace recent icon with black, optimized version Just updates the colour of the icon for "Recent files" from a grey version, to a black optimised version. --- apps/files/img/recent.svg | 122 +------------------------------------- 1 file changed, 3 insertions(+), 119 deletions(-) diff --git a/apps/files/img/recent.svg b/apps/files/img/recent.svg index 5095a61ef383a..7d95448effb3c 100644 --- a/apps/files/img/recent.svg +++ b/apps/files/img/recent.svg @@ -1,121 +1,5 @@ - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - + + +