Consistent changeset color
This commit is contained in:
parent
483b2f204e
commit
8756feab8a
2 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue