#302 add name field for uploads

This commit is contained in:
Alan Grainger
2026-10-19 15:43:29 +13:00
parent b1e053426f
commit a620d0b3ae
19 changed files with 257 additions and 24 deletions
+27
View File
@@ -71,6 +71,33 @@ html.dark .upload-placeholder:focus-visible {
opacity: 0.7;
}
/* The optional name field, when ipp.upload.askName is on */
.upload-name {
display: flex;
flex-direction: column;
gap: 6px;
font-size: 14px;
}
.upload-name-label {
font-weight: 500;
}
.upload-name input {
font: inherit;
font-size: 16px;
padding: 10px 12px;
border: 1px solid color-mix(in srgb, var(--color-fg) 20%, transparent);
border-radius: 8px;
background: var(--color-subtle);
color: var(--color-fg);
}
.upload-name input:focus-visible {
outline: 2px solid var(--color-primary);
outline-offset: 1px;
}
/* The owner's notice, from ipp.upload.notice */
.upload-notice {
margin: -8px 0 0;