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:
Bryan Housel
2018-08-11 11:38:05 -04:00
parent 40c0c7d2f5
commit 8af6d65e33
5 changed files with 69 additions and 76 deletions
+14 -20
View File
@@ -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;
}