add reset button to modified fields

this button only appears if a field's value
differs from the original osm value. Resetting
changes the value and adds a history entry.
It does not undo history.
This commit is contained in:
Ansis Brammanis
2013-03-21 21:33:24 -04:00
parent d57ad41256
commit 7ef2e65c4d
2 changed files with 23 additions and 1 deletions
+12
View File
@@ -918,6 +918,18 @@ a.selected:hover .toggle.icon { background-position: -40px -180px;}
background: #eef0ff;
}
.preset-field h4 .modified-icon {
opacity: 0.2;
display: none;
pointer-events: all;
}
.preset-field h4 .modified-icon:hover {
opacity: 0.5;
}
.preset-field.modified h4 .modified-icon {
display: inline-block;
}
.preset-field h4[for*="input-"] {
border: 1px solid #cfcfcf;
padding: 5px 10px;