fix: add missing mobile bottom sheet styles for Tools menu

This commit is contained in:
Alex Blank
2026-05-26 12:21:52 +02:00
parent ab79080f0b
commit bc5e80c954
+81
View File
@@ -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;