From af75069e0011bb2d82f5afc883ebd56e4773a746 Mon Sep 17 00:00:00 2001 From: "prompt.ac/@jeffrey" Date: Sat, 10 Oct 2026 20:18:52 -0700 Subject: [PATCH] Menu Band Windows page: a Copy button on each code block --- system/public/menuband/windows.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/system/public/menuband/windows.html b/system/public/menuband/windows.html index 1535119ec3..b42828adb1 100644 --- a/system/public/menuband/windows.html +++ b/system/public/menuband/windows.html @@ -113,6 +113,17 @@ background: var(--panel-bg); border: 1px solid var(--panel-edge); border-radius: 4px; } pre code { background: none; border: 0; padding: 0; font-size: inherit; } + pre { position: relative; padding-right: 72px; } + .copy { + position: absolute; top: 6px; right: 6px; + font: 500 11px/1 "Lucida Grande", "Helvetica Neue", Helvetica, Arial, sans-serif; + padding: 5px 9px; border-radius: 4px; cursor: pointer; + color: #fff; background: var(--aqua-blue); border: 1px solid rgba(0,0,0,0.15); + box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset; + } + .copy:hover { filter: brightness(1.08); } + .copy.done { background: #28c840; } + pre code { user-select: all; } table { border-collapse: collapse; width: 100%; margin: 6px 0 14px; font-size: 13px; } th, td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid var(--panel-edge); } th { font-weight: 500; color: var(--ink-soft); } @@ -226,5 +237,22 @@ New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell ` © aesthetic.computer · 2026 · back to Menu Band + -- 2.51.2