Compare commits

..

No commits in common. "80935615ddb0cf032095d686412636bd1b73b1fa" and "d5c6cad09658992a4c75ceea51a2efe58f5b7cd1" have entirely different histories.

2 changed files with 3 additions and 32 deletions

View File

@ -1,7 +1,7 @@
<!-- Sidebar -->
<div class="sidebar" id="sidebar">
<div class="sidebar p-3" id="sidebar">
<!-- <h5>Sidebar</h5> -->
<ul class="navbar-nav flex-column">
<ul class="navbar-nav flex-column pb-5">
% for item in menu:
% if any(role in item['roles'] for role in user_roles):
<li class="nav-item">

View File

@ -20,39 +20,10 @@ body {
overflow-y: auto; /* Make sidebar scrollable */
}
.sidebar::-webkit-scrollbar {
width: 6px;
}
.sidebar::-webkit-scrollbar-track {
background: #bbb;
border-radius: 3px;
margin-top: 5px;
margin-bottom: 30px;
}
.sidebar::-webkit-scrollbar-thumb {
background: #ddd;
border-radius: 3px;
margin: 12px 0;
}
.sidebar .navbar-nav {
padding-bottom: 80px;
}
.sidebar .navbar-nav .nav-item .active {
font-weight: bold;
}
.sidebar .navbar-nav .nav-item :hover {
background-color: rgba(0, 0, 0, 0.2); /* Darkens on hover */
}
.sidebar .navbar-nav .nav-item .nav-link {
padding-left: 20px;
}
.sidebar.minimized {
transform: translateX(-100%);
}
@ -93,7 +64,7 @@ body {
left: 20px;
background-color: #343a40;
color: white;
border: 1px solid #fff;
border: none;
width: 100px;
height: 40px;
display: flex;