fix flash style

This commit is contained in:
Ansis Brammanis
2013-04-02 14:19:02 -04:00
parent 7e85fed027
commit 691156caec
4 changed files with 3 additions and 12 deletions
-11
View File
@@ -1891,17 +1891,6 @@ img.wiki-image {
border-bottom: 0;
}
.modal-flash .content {
box-shadow: none;
border-radius: 4px;
background: #111;
color: #eee;
}
.modal-flash .close-modal {
display:none;
}
.loading-modal {
text-align: center;
}
+1
View File
@@ -202,6 +202,7 @@ en:
zoom:
in: Zoom In
out: Zoom Out
cannot_zoom: "Cannot zoom out further in current mode."
gpx:
local_layer: "Local GPX file"
drag_drop: "Drag and drop a .gpx file on the page"
+1
View File
@@ -249,6 +249,7 @@ locale.en = {
"in": "Zoom In",
"out": "Zoom Out"
},
"cannot_zoom": "Cannot zoom out further in current mode.",
"gpx": {
"local_layer": "Local GPX file",
"drag_drop": "Drag and drop a .gpx file on the page"
+1 -1
View File
@@ -127,7 +127,7 @@ iD.Map = function(context) {
if (Math.log(d3.event.scale / Math.LN2 - 8) < minzoom + 1) {
iD.ui.flash(context.container())
.select('.content')
.text('Cannot zoom out further in current mode.');
.text(t('cannot_zoom'));
return setZoom(16, true);
}