#302 add name field for uploads
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user