add custom css and add admin button to menu when user is admin

This commit is contained in:
2025-09-05 23:49:04 +02:00
parent 42e439aba5
commit 2fadc37ffe
5 changed files with 34 additions and 31 deletions

View File

@@ -0,0 +1,11 @@
.fi-sidebar-item a[href="/admin"] {
background-color: #16a34a; /* Green for admin button */
color: #fff;
padding: 0.5rem 1rem;
border-radius: 0.25rem;
transition: all 0.3s ease;
}
.fi-sidebar-item a[href="/admin"]:hover {
background-color: #15803d;
box-shadow: 0 0 10px rgba(22, 163, 74, 0.5);
}