From bc5e80c954bef68ba6dbed18f92e22ce759e18e8 Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Tue, 26 May 2026 12:21:52 +0200 Subject: [PATCH] fix: add missing mobile bottom sheet styles for Tools menu --- apps/web/src/styles.css | 81 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) diff --git a/apps/web/src/styles.css b/apps/web/src/styles.css index 7b9cd5d..73a0ad4 100644 --- a/apps/web/src/styles.css +++ b/apps/web/src/styles.css @@ -3646,6 +3646,87 @@ a.nav-item, padding: 0 4px; } +/* Mobile Bottom Sheet */ +.mobile-bottom-sheet-overlay { + position: fixed; + inset: 0; + background: rgba(0, 0, 0, 0.5); + z-index: 200; + display: flex; + align-items: flex-end; + justify-content: center; +} + +.mobile-bottom-sheet { + background: var(--panel); + border-radius: 16px 16px 0 0; + width: 100%; + max-width: 600px; + max-height: 70vh; + display: flex; + flex-direction: column; + animation: slide-up 0.2s ease-out; +} + +@keyframes slide-up { + from { + transform: translateY(100%); + } + to { + transform: translateY(0); + } +} + +.mobile-bottom-sheet-header { + display: flex; + flex-direction: column; + align-items: center; + padding: 12px 16px 8px; + border-bottom: 1px solid var(--border); +} + +.mobile-bottom-sheet-handle { + width: 36px; + height: 4px; + background: var(--border); + border-radius: 2px; + margin-bottom: 8px; +} + +.mobile-bottom-sheet-title { + font-size: 16px; + font-weight: 600; + margin: 0; +} + +.mobile-bottom-sheet-content { + padding: 8px 0; + overflow-y: auto; +} + +.mobile-bottom-sheet-item { + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; + padding: 16px; + background: none; + border: none; + color: var(--text); + font-size: 16px; + text-align: left; + cursor: pointer; + min-height: 44px; +} + +.mobile-bottom-sheet-item:active { + background: var(--hover); +} + +.mobile-bottom-sheet-item.active { + color: var(--brand); +} + /* Mobile Page Header */ .mobile-page-header { display: flex;