styling loading state.

This commit is contained in:
Saman Bemel-Benrud
2013-03-07 13:14:16 -05:00
parent d348cc5741
commit 8d911a4a9d
3 changed files with 19 additions and 4 deletions
+18 -3
View File
@@ -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;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

+1 -1
View File
@@ -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() {