Add admin menu drawer and poll cloning, drop participant screen tools
CI / Deploy / PHP 8.5 (push) Successful in 1m51s
CI / Deploy / PHP 8.4 (push) Successful in 1m51s
CI / Deploy / test (push) Successful in 2s
CI / Deploy / deploy (push) Skipped

- Remove fullscreen and wake lock buttons from the participant view.
- Turn the admin sidebar into a drawer below 900px, opened from a header
  menu button next to the theme switch (progressive enhancement).
- Add "Umfrage kopieren": clone a poll with all slides, options and images
  but without responses, with its own join code and admin link.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-20 10:57:33 +01:00
1 parent 0f91377de3
commit bd57f23be6
15 files changed
+374 -138

No files matched your search

+26
View File
@@ -140,6 +140,32 @@ h3 { font-size: 1.05rem; margin-top: 1.6em; }
.grid--sidebar { grid-template-columns: 1fr; }
}
/* Sidebar as menu drawer (JS adds .sidebar--drawer; without JS the sidebar stays below the slides). */
.menu-toggle { display: none; }
.sidebar__bar { display: none; }
.drawer-backdrop { display: none; }
@media (max-width: 900px) {
.menu-toggle:not([hidden]) { display: inline-flex; }
.sidebar--drawer {
position: fixed; top: 0; right: 0; bottom: 0; z-index: 40;
width: min(92vw, 400px); padding: 0 16px 24px; overflow-y: auto; overscroll-behavior: contain;
background: var(--bg); box-shadow: -8px 0 32px rgba(20, 22, 50, .25);
visibility: hidden; transform: translateX(100%);
transition: transform .2s ease, visibility 0s linear .2s;
}
.drawer-open .sidebar--drawer { visibility: visible; transform: none; transition: transform .2s ease; }
.sidebar--drawer .sidebar__bar {
position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between;
margin: 0 -16px 16px; padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--border);
}
.sidebar--drawer .sidebar__close { position: static; }
.drawer-open .drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 39; background: rgba(20, 22, 50, .45); }
.drawer-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
.sidebar--drawer { transition: none; }
}
/* ---------------------------------------------------------------- components */
.card {
background: var(--surface);