This commit is contained in:
Lizandro Guarnizo
2026-04-16 23:07:53 -05:00
parent aa12a87fbb
commit 0164c51c1a
10 changed files with 236 additions and 41 deletions
+88 -16
View File
@@ -57,19 +57,6 @@ body {
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}
.sidebar-header {
padding: 20px;
text-align: center;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
background: rgba(255, 255, 255, 0.05);
}
.sidebar-header h4 {
font-weight: 600;
margin: 0;
font-size: 1.2rem;
}
.sidebar-menu {
list-style: none;
padding: 0;
@@ -82,12 +69,13 @@ body {
.sidebar-menu .nav-link {
display: block;
padding: 15px 20px;
color: rgba(255, 255, 255, 0.8);
padding: 11px 20px;
color: rgba(255, 255, 255, 0.82);
text-decoration: none;
transition: all 0.3s ease;
transition: all 0.25s ease;
position: relative;
overflow: hidden;
font-size: 0.9rem;
}
.sidebar-menu .nav-link::before {
@@ -155,6 +143,90 @@ body {
background: #dc3545;
}
/* ── Sidebar cabecera mejorada ─────────────────────────────────── */
.sidebar-header {
padding: 18px 20px;
text-align: center;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
background: rgba(0, 0, 0, 0.2);
}
.sidebar-header h4 {
font-size: 1.05rem;
font-weight: 700;
letter-spacing: 0.02em;
margin: 0;
}
/* ── Sidebar etiquetas de categoría ────────────────────────────── */
.sidebar-menu li.sidebar-section {
border-bottom: none;
padding: 12px 18px 4px;
font-size: 0.67rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.13em;
color: rgba(255, 255, 255, 0.38);
margin-top: 4px;
pointer-events: none;
display: flex;
align-items: center;
gap: 5px;
position: relative;
}
.sidebar-menu li.sidebar-section::after {
content: '';
flex: 1;
height: 1px;
background: rgba(255, 255, 255, 0.1);
margin-left: 4px;
}
/* ── Sidebar usuario al pie ────────────────────────────────────── */
.sidebar-user {
padding: 12px 18px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
background: rgba(0, 0, 0, 0.18);
display: flex;
flex-direction: column;
gap: 2px;
}
.sidebar-user-name {
font-size: 0.85rem;
font-weight: 600;
color: rgba(255, 255, 255, 0.9);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sidebar-user-role {
font-size: 0.7rem;
color: rgba(255, 255, 255, 0.48);
text-transform: uppercase;
letter-spacing: 0.08em;
}
/* ── Sidebar scrollbar ─────────────────────────────────────────── */
.sidebar::-webkit-scrollbar {
width: 4px;
}
.sidebar::-webkit-scrollbar-track {
background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.18);
border-radius: 2px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.32);
}
/* Main Content */
.main-content {
margin-left: 280px;