mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 16:49:40 +02:00
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:
+12
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user