#307 Add ipp.upload.notice for a customisable notice on the upload page

This commit is contained in:
Alan Grainger
2026-10-19 14:25:55 +13:00
parent c739e931ea
commit 8bf1d753aa
9 changed files with 47 additions and 18 deletions
+10 -10
View File
@@ -71,6 +71,15 @@ html.dark .upload-placeholder:focus-visible {
opacity: 0.7;
}
/* The owner's notice, from ipp.upload.notice */
.upload-notice {
margin: -8px 0 0;
font-size: 14px;
font-weight: 300;
text-align: center;
opacity: 0.7;
}
/* Nothing to drop on a touch screen */
@media (hover: none) {
.upload-drop-hint {
@@ -97,21 +106,12 @@ html.dark .upload-placeholder:focus-visible {
font-weight: 500;
}
#upload-counts,
#upload-note {
#upload-counts {
margin: 0;
font-size: 12px;
opacity: 0.8;
}
#upload-note {
margin-top: 4px;
}
#upload-note[hidden] {
display: none;
}
.upload-count-success { color: var(--color-success); }
.upload-count-danger { color: var(--color-danger); }
.upload-count-warning { color: var(--color-warning); }