diff --git a/css/app.css b/css/app.css index ead4f71a2..c11b105f3 100644 --- a/css/app.css +++ b/css/app.css @@ -25,7 +25,22 @@ body { } .spinner { - float: right; + opacity: .5; +} + +.spinner img { + position: fixed; + padding: 5px; + height: 40px; + width: 40px; + left: 0; + right: 0; + bottom: 0; + top: 0; + margin: auto; + border-radius: 5px; + background: black; + pointer-events:none; } div, textarea, input, form, span, ul, li, ol, a, button { @@ -1172,7 +1187,7 @@ img.tile { opacity: 1; } -#about { +#about { height: 20px; text-align: right; } @@ -1252,7 +1267,7 @@ div.typeahead a:first-child { z-index: 3; } -.modal .loader { +.modal .loader { margin-bottom: 10px; } diff --git a/img/loader-black.gif b/img/loader-black.gif new file mode 100644 index 000000000..08f0d7e34 Binary files /dev/null and b/img/loader-black.gif differ diff --git a/js/id/ui/spinner.js b/js/id/ui/spinner.js index 733df565b..c567dd257 100644 --- a/js/id/ui/spinner.js +++ b/js/id/ui/spinner.js @@ -3,7 +3,7 @@ iD.ui.Spinner = function(context) { return function(selection) { var img = selection.append('img') - .attr('src', 'img/loader.gif') + .attr('src', 'img/loader-black.gif') .style('opacity', 0); connection.on('loading.spinner', function() {