Open the speaker view from a menu next to the present button
Replace the separate button by a split button: "Präsentieren" with a dropdown that holds the speaker view entry. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
66ed198f87
commit
b61bf34a1b
4 files changed
+62
-5
No files matched your search
@@ -177,6 +177,15 @@ h3 { font-size: 1.05rem; margin-top: 1.6em; }
|
||||
.button:disabled { opacity: .6; cursor: wait; }
|
||||
.button--primary { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
|
||||
.button--primary:hover { filter: brightness(1.08); }
|
||||
/* Split button: main action plus a menu with further views (Präsentieren ▾ → Referentenansicht). */
|
||||
.split { position: relative; display: inline-flex; }
|
||||
.split__main { border-top-right-radius: 0; border-bottom-right-radius: 0; }
|
||||
.split__toggle { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left-color: rgba(255, 255, 255, .35); padding-inline: 10px; }
|
||||
.split__menu { position: absolute; top: calc(100% + 4px); left: 0; z-index: 20; min-width: 260px; max-width: min(340px, 90vw); padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
|
||||
.split__menu[hidden] { display: none; }
|
||||
.split__item { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
|
||||
.split__item:hover, .split__item:focus-visible { background: var(--primary-soft); }
|
||||
.split__item small { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; }
|
||||
.button--danger { color: var(--danger); }
|
||||
.button--danger:hover { border-color: var(--danger); }
|
||||
.button--ghost { border-color: transparent; background: transparent; }
|
||||
|
||||
Reference in new issue
Block a user