Move screen tools to header as icon buttons
CI / Deploy / test (push) Successful in 1m2s
CI / Deploy / deploy (push) Skipped

Fullscreen and keep-awake sit next to the theme switch (layout block
headerTools), icon only with aria-label/title.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-11 22:52:06 +01:00
1 parent 1efa61f9bc
commit cae11c4f40
5 files changed
+34 -14

No files matched your search

+3 -2
View File
@@ -172,8 +172,7 @@ h3 { font-size: 1.05rem; margin-top: 1.6em; }
.button--danger:hover { border-color: var(--danger); }
.button--ghost { border-color: transparent; background: transparent; }
.button--small { padding: 6px 10px; font-size: .85rem; }
.screen-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 1em; }
.screen-tools .button[aria-pressed="true"] { border-color: var(--primary); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.button--block { width: 100%; padding: 14px; font-size: 1.05rem; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: .75rem; font-weight: 700; background: var(--surface-2); color: var(--muted); }
@@ -741,6 +740,8 @@ body.present {
/* ---------------------------------------------------------------- theme switch */
.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[aria-pressed="true"] { border-color: var(--primary); color: var(--primary); }
.theme-switch[hidden] { display: none; }
.theme-switch__icon { font-size: 1.3em; line-height: 1; }
/* Slide form in a dialog (admin dashboard) */