84 lines
1.4 KiB
CSS
84 lines
1.4 KiB
CSS
/* Burger Menu Styles */
|
|
.burger-menu {
|
|
position: fixed;
|
|
top: 1rem;
|
|
left: 1rem;
|
|
cursor: pointer;
|
|
z-index: 1000;
|
|
background: var(--bg-secondary, #ffffff);
|
|
padding: 0.5rem;
|
|
border-radius: 4px;
|
|
box-shadow: var(--shadow-md, 0 2px 10px rgba(0, 0, 0, 0.1));
|
|
transition:
|
|
background 0.3s,
|
|
box-shadow 0.3s;
|
|
}
|
|
|
|
.burger-menu div {
|
|
width: 25px;
|
|
height: 3px;
|
|
background-color: var(--text-primary, #333333);
|
|
margin: 5px 0;
|
|
transition: background-color 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: -100%;
|
|
width: 250px;
|
|
height: 100vh;
|
|
background: var(--bg-secondary, #ffffff);
|
|
box-shadow: var(--shadow-md, 2px 0 10px rgba(0, 0, 0, 0.1));
|
|
transition:
|
|
left 0.3s,
|
|
background 0.3s;
|
|
z-index: 999;
|
|
padding: 4rem 1rem 1rem 1rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.menu-overlay.open {
|
|
left: 0;
|
|
}
|
|
|
|
.menu-item {
|
|
padding: 1rem;
|
|
border-bottom: 1px solid var(--border-color, #eeeeee);
|
|
cursor: pointer;
|
|
transition:
|
|
background 0.2s,
|
|
color 0.3s,
|
|
border-color 0.3s;
|
|
color: var(--text-primary, #333333);
|
|
}
|
|
|
|
.menu-item:hover {
|
|
background: var(--bg-tertiary, #f5f5f5);
|
|
}
|
|
|
|
.menu-item.admin {
|
|
color: #667eea;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.menu-item.logout {
|
|
color: #dc3545;
|
|
font-weight: 600;
|
|
}
|