74 lines
1.1 KiB
CSS
74 lines
1.1 KiB
CSS
/* Burger Menu Styles */
|
|
.burger-menu {
|
|
position: fixed;
|
|
top: 1rem;
|
|
left: 1rem;
|
|
cursor: pointer;
|
|
z-index: 1000;
|
|
background: white;
|
|
padding: 0.5rem;
|
|
border-radius: 4px;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.burger-menu div {
|
|
width: 25px;
|
|
height: 3px;
|
|
background-color: #333;
|
|
margin: 5px 0;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.menu-backdrop {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100vh;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: none;
|
|
z-index: 998;
|
|
}
|
|
|
|
.menu-backdrop.open {
|
|
display: block;
|
|
}
|
|
|
|
.menu-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: -250px;
|
|
width: 250px;
|
|
height: 100vh;
|
|
background: white;
|
|
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
|
|
transition: left 0.3s;
|
|
z-index: 999;
|
|
padding: 4rem 1rem 1rem 1rem;
|
|
}
|
|
|
|
.menu-overlay.open {
|
|
left: 0;
|
|
}
|
|
|
|
.menu-item {
|
|
padding: 1rem;
|
|
border-bottom: 1px solid #eee;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.menu-item:hover {
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.menu-item.admin {
|
|
color: #667eea;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.menu-item.logout {
|
|
color: #dc3545;
|
|
font-weight: 600;
|
|
}
|