Scratchpads V1

This commit is contained in:
2026-01-09 09:26:39 +01:00
parent 16a07701ee
commit 0948f50d76
15 changed files with 718 additions and 27 deletions

View File

@@ -96,6 +96,54 @@ div.luxtools-gallery .luxtools-gallery-caption {
pointer-events: none;
}
/* Scratchpad */
div.luxtools-scratchpad {
position: relative;
}
div.luxtools-scratchpad .luxtools-scratchpad-bar {
display: flex;
justify-content: flex-end;
margin-bottom: 0.2em;
}
div.luxtools-scratchpad a.luxtools-scratchpad-edit {
text-decoration: none;
opacity: 0.7;
padding: 0 0.2em;
}
div.luxtools-scratchpad a.luxtools-scratchpad-edit:hover,
div.luxtools-scratchpad a.luxtools-scratchpad-edit:focus {
opacity: 1;
}
div.luxtools-scratchpad .luxtools-scratchpad-editor {
margin-top: 0.4em;
}
div.luxtools-scratchpad textarea.luxtools-scratchpad-text {
width: 100%;
box-sizing: border-box;
min-height: 8em;
}
div.luxtools-scratchpad .luxtools-scratchpad-actions {
display: flex;
align-items: center;
gap: 0.4em;
margin-top: 0.35em;
}
div.luxtools-scratchpad .luxtools-scratchpad-status {
opacity: 0.8;
font-size: 90%;
}
div.luxtools-scratchpad .luxtools-scratchpad-error {
opacity: 0.8;
font-style: italic;
}
/* Disable background scrolling while the lightbox is open. */
html.luxtools-noscroll,
html.luxtools-noscroll body {