From bced346c3b07fc6549f216f4db20c52e827d3cfa Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Fri, 11 Oct 2013 12:36:30 +0200 Subject: Now using smaller spinner image for status indicator To make the status indicator appear smaller, even in IE8 that doesn't support background-size, there is no a smaller animated gif "loading-small" for that purpose. --- apps/files_external/css/settings.css | 3 --- apps/files_external/js/settings.js | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'apps') diff --git a/apps/files_external/css/settings.css b/apps/files_external/css/settings.css index 74b14028468..0ebae9d82be 100644 --- a/apps/files_external/css/settings.css +++ b/apps/files_external/css/settings.css @@ -4,9 +4,6 @@ td.status > span { width: 16px; vertical-align: text-bottom; } -span.loading{ - background-size: 16px 16px; -} span.success { background: #37ce02; border-radius: 8px; diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index 3e92bc87e85..886c324e338 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -1,7 +1,7 @@ (function(){ function updateStatus(statusEl, result){ - statusEl.removeClass('success error loading'); + statusEl.removeClass('success error loading-small'); if (result && result.status == 'success' && result.data.message) { statusEl.addClass('success'); return true; @@ -71,7 +71,7 @@ OC.MountConfig={ } users.push(applicable); } - statusSpan.addClass('loading').removeClass('error success'); + statusSpan.addClass('loading-small').removeClass('error success'); $.ajax({type: 'POST', url: OC.filePath('files_external', 'ajax', 'addMountPoint.php'), data: { @@ -124,7 +124,7 @@ OC.MountConfig={ var isPersonal = true; var mountType = 'user'; var applicable = OC.currentUser; - statusSpan.addClass('loading').removeClass('error success'); + statusSpan.addClass('loading-small').removeClass('error success'); $.ajax({type: 'POST', url: OC.filePath('files_external', 'ajax', 'addMountPoint.php'), data: { -- cgit v1.2.3