mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Use d3.interpolateRgb to make save button warning colors
(closes #2749)
This commit is contained in:
+7
-3
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user