From: Aaron Lidman Date: Wed, 6 Nov 2013 20:21:51 +0000 (-0800) Subject: Consistent changeset color X-Git-Tag: live~5234^2~177 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/8756feab8a902bd1111adf3b1d9514988dde9bf3 Consistent changeset color --- diff --git a/app/assets/javascripts/index/history.js b/app/assets/javascripts/index/history.js index f63cee250..70366efbe 100644 --- a/app/assets/javascripts/index/history.js +++ b/app/assets/javascripts/index/history.js @@ -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); } diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 1e2ce723d..399ac6e61 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -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 {