Use d3.interpolateRgb to make save button warning colors

(closes #2749)
This commit is contained in:
Bryan Housel
2016-05-18 11:24:33 -04:00
parent 6d64fce9f3
commit 636ef82bc4
2 changed files with 25 additions and 39 deletions
+7 -3
View File
@@ -461,7 +461,9 @@ button.save.has-count .count {
display: block;
position: absolute;
top: 5px;
background: rgba(255, 255, 255, .5);
background: #fff;
border-color: #fff;
opacity: 0.5;
color: #333;
padding: 10px;
height: 30px;
@@ -482,7 +484,9 @@ button.save.has-count .count::before {
bottom: 0;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
border-right: 6px solid rgba(255,255,255,.9);
border-right-width: 6px;
border-right-style: solid;
border-right-color: inherit;
}
/* Icons */
@@ -3228,4 +3232,4 @@ div.full-screen > button:hover {
width: 100px;
background: rgba(0, 0, 0, 0) url(img/iD-sprite.svg) no-repeat -300px -460px;
margin: auto;
}
}