Visitor sign in kiosk: multi-site, badge printing, WWCC expiry warnings, admin accounts with 2FA

This commit is contained in:
2026-09-02 16:07:52 +10:00
parent c21123885d
commit 74792b2764
11 changed files with 469 additions and 11 deletions
+49
View File
@@ -351,3 +351,52 @@ tr.row-bad td { background: #fdf0f2; }
/* The confirmation for a destructive action should not look like a Save. */
#modal.destructive { border-top-color: var(--alert); }
#modal.destructive .primary { border-color: var(--alert); background: var(--alert); }
/* ----------------------------------------------------- branding editor */
.banner-frame {
/* A checkerboard, so a transparent PNG reads as transparent rather than white. */
background-color: #fff;
background-image:
linear-gradient(45deg, #e3e8ed 25%, transparent 25%, transparent 75%, #e3e8ed 75%),
linear-gradient(45deg, #e3e8ed 25%, transparent 25%, transparent 75%, #e3e8ed 75%);
background-size: 14px 14px;
background-position: 0 0, 7px 7px;
border: 1px solid var(--rule);
border-radius: 3px;
padding: 10px;
margin-bottom: 12px;
min-height: 76px;
display: grid;
place-items: center;
}
.banner-frame img { max-width: 100%; max-height: 90px; display: block; }
.banner-empty { margin: 0; color: var(--muted); font-size: 13px; }
.colour-row { display: flex; gap: 8px; align-items: center; }
.colour-row input[type="color"] {
width: 42px;
height: 40px;
padding: 2px;
border: 1px solid var(--rule);
border-radius: 3px;
background: none;
cursor: pointer;
}
.colour-row input[type="text"] {
flex: 1 1 auto;
min-width: 0;
font-family: ui-monospace, Menlo, Consolas, monospace;
font-size: 13px;
}
.modal-row-3 { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.swatch {
display: inline-block;
width: 14px;
height: 14px;
border-radius: 2px;
border: 1px solid var(--rule);
vertical-align: -2px;
margin-right: 2px;
}