Merge pull request 'Update slide list and edit slide form without page reloads' (#57) from feature/hide-slides into main
CI / Deploy / test (push) Successful in 58s
CI / Deploy / deploy (push) Successful in 6s

Reviewed-on: #57
This commit was merged in pull request #57.
This commit is contained in:
gnilebein committed 2026-11-11 20:29:04 +01:00
commit 0294744281
9 files changed
+403 -32

No files matched your search

+14
View File
@@ -740,3 +740,17 @@ body.present {
.theme-switch { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text); font: inherit; font-size: .9rem; cursor: pointer; }
.theme-switch:hover { border-color: var(--primary); }
.theme-switch__icon { font-size: 1.3em; line-height: 1; }
/* Slide form in a dialog (admin dashboard) */
.modal {
width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; overflow: auto;
border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text);
box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.modal::backdrop { background: rgba(10, 12, 30, .55); }
.modal .card--form { max-width: none; margin: 0; border: 0; box-shadow: none; background: transparent; }
.modal__close { position: sticky; top: 8px; float: right; margin: 8px 8px 0 0; z-index: 1; }
.modal .message { margin: 16px 16px 0; cursor: default; }
body:has(dialog[open]) { overflow: hidden; }
.slide-item__actions form { display: contents; }
.slide-item__actions button:disabled, .admin-head__actions button:disabled { opacity: .6; cursor: progress; }