From 1a1c100719643c6056541ffd208642e9f1653c95 Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <hey@jancborchardt.net>
Date: Tue, 30 Jul 2013 10:44:01 +0200
Subject: [PATCH] fix loading.gif size for both upload and deletion, force
 visiblity

---
 apps/files/js/filelist.js | 2 +-
 core/css/styles.css       | 8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index dc820dc93e..e483626a91 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -15,7 +15,7 @@ var FileList={
 		// filename td
 		td = $('<td></td>').attr({
 			"class": "filename",
-			"style": 'background-image:url('+iconurl+')'
+			"style": 'background-image:url('+iconurl+'); background-size: 16px;'
 		});
 		td.append('<input type="checkbox" />');
 		var link_elem = $('<a></a>').attr({
diff --git a/core/css/styles.css b/core/css/styles.css
index 365de759fd..3af1a31158 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -669,7 +669,13 @@ div.crumb:active {
 	background-image: url('../img/actions/delete-hover.svg');
 }
 .edit-icon { background-image: url('../img/actions/rename.svg'); }
-.progress-icon { background-image: url('../img/loading.gif'); }
+.progress-icon {
+	background-image: url('../img/loading.gif');
+	background-size: 16px;
+	/* force show the loading icon, not only on hover */
+	opacity: 1 !important;
+	display: inline !important;
+}
 
 /* buttons */
 button.loading {
-- 
GitLab