talos-access / frontend /src /styles /layout.css
Greg
Claude Opus 4.7 (1M context)
fix(ta-01): replace mobile topbar with floating hamburger button
d456a34
Raw History Blame Contribute Delete
1.26 kB
.app-layout {
@apply flex min-h-screen;
}
.mobile-menu-fab {
@apply fixed top-3 left-3 z-30 inline-flex items-center justify-center
w-10 h-10 rounded-full bg-gray-900 text-white shadow-lg
hover:bg-gray-800 transition-colors;
}
.sidebar {
@apply w-64 flex flex-col fixed inset-y-0 left-0 z-40 bg-gray-900 text-white
-translate-x-full md:translate-x-0 transition-transform duration-200;
}
.sidebar-open {
@apply translate-x-0;
}
.sidebar-header {
@apply flex items-start justify-between p-4 border-b border-gray-700 shrink-0;
}
.sidebar-header h2 {
@apply text-xl font-bold m-0;
}
.sidebar-role {
@apply text-[0.65rem] font-semibold uppercase text-gray-400 tracking-wider;
}
.sidebar-nav {
@apply flex-1 p-2 space-y-1 overflow-y-auto;
}
.sidebar-footer {
@apply border-t border-gray-700 p-2;
}
.nav-item {
@apply flex items-center gap-3 px-3 py-2 rounded-lg text-sm font-medium text-gray-300
no-underline transition-colors cursor-pointer border-none bg-transparent w-full text-left hover:bg-gray-800 hover:text-white;
}
.nav-item.active {
@apply bg-gray-800 text-white;
}
.main-content {
@apply flex-1 p-4 md:p-6 overflow-y-auto min-h-screen
pl-16 md:pl-6
ml-0 md:ml-64;
}