mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 09:04:02 +02:00
Switch from uiModal to uiConfirm, adjust styles
A few things going on in this commit: - uiConfirm already has an OK button, so I'm trying to use that instead of uiModal. - The confirm OK button cancels, which is maybe a problem. I might change it. - Dispatch a change event instead of trying to call a function back in uiBackground - Remove some of the custom css, since we already have some shared button css - add utilNoAuto to textarea (this just prevents autocomplete and other annoying behaviors especially in Safari)
This commit is contained in:
+14
-20
@@ -3875,6 +3875,19 @@ svg.mouseclick use.right {
|
||||
}
|
||||
|
||||
|
||||
/* Settings Modals
|
||||
------------------------------------------------------- */
|
||||
.settings-custom-background .instructions {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.settings-custom-background textarea {
|
||||
height: 60px;
|
||||
}
|
||||
.settings-custom-background .buttons .button.col3 {
|
||||
float: none; /* undo float left */
|
||||
}
|
||||
|
||||
|
||||
/* Save Mode
|
||||
------------------------------------------------------- */
|
||||
.mode-save a.user-info {
|
||||
@@ -4603,23 +4616,4 @@ li.hide + li.version .badge .tooltip .tooltip-arrow {
|
||||
color: #7092ff;
|
||||
}
|
||||
|
||||
.button-ok {
|
||||
background-color: #6f92ff; /* Green */
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 15px 15px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
|
||||
}
|
||||
.button-ok:focus {
|
||||
background-color: #c1d0ff;
|
||||
}
|
||||
.button-cancel {
|
||||
background-color: #cccccc; /* Green */
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 15px 15px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user