ui: an outcome in the footer (Refresh, Test models, a save) is a solid pill in its colour, larger, and an error stays 8 seconds — a result in the window's corner was faint over a desktop showing through, told only by its colour
This commit is contained in:
@@ -566,6 +566,9 @@ body.window .foot { padding-left: 18px; }
|
||||
.status.ok { color: var(--green); }
|
||||
.status.err { color: var(--red); }
|
||||
.status.warn { color: var(--amber); }
|
||||
/* an outcome (Refresh, Test models…) stands out from the corner it is in:
|
||||
a solid pill in its colour, over a window the desktop shows through */
|
||||
.status.ok, .status.err, .status.warn { font-size: 12.5px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, currentColor 16%, var(--bg)); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 30%, transparent); }
|
||||
|
||||
/* ---- picker popover ------------------------------------------------------- */
|
||||
.pop {
|
||||
|
||||
@@ -131,7 +131,7 @@ function icon(name) {
|
||||
return e;
|
||||
}
|
||||
|
||||
function status(msg, kind = "", ms = 3500) {
|
||||
function status(msg, kind = "", ms = kind === "err" ? 8000 : 3500) {
|
||||
const s = $("#status");
|
||||
s.textContent = msg;
|
||||
s.title = msg;
|
||||
|
||||
Reference in New Issue
Block a user