Consistent changeset color

This commit is contained in:
Aaron Lidman 2013-11-06 12:21:51 -08:00
parent 483b2f204e
commit 8756feab8a
2 changed files with 3 additions and 2 deletions

View file

@ -91,7 +91,7 @@ OSM.History = function(map) {
for (var i = 0; i < changesets.length; ++i) {
var changeset = changesets[i],
rect = L.rectangle(changeset.bounds,
{weight: 2, color: "#ee9900", fillColor: "#ffff55", fillOpacity: 0});
{weight: 1, color: "#FF9500", opacity: 1, fillColor: "#FFFFBF", fillOpacity: 0});
rect.id = changeset.id;
rect.addTo(group);
}

View file

@ -1039,7 +1039,8 @@ a.donate {
border-bottom: $keyline;
cursor: pointer;
&.selected { background: lighten($green, 35%); }
&.selected { background: #FFFFE6; }
/* color is derived from changeset bbox fillColor in history.js */
}
.comment a {