mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 13:59:27 +02:00
styling loading state.
This commit is contained in:
+18
-3
@@ -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
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user