style: sidebar con lenguaje inventario (gradiente navy, glass, acento)

This commit is contained in:
Nurfog committed 2026-09-16 14:55:10 -03:00
1 parent 7009d8756d
commit eaa96fbc24
1 file changed
+62 -21
+62 -21
View File
@@ -62,11 +62,13 @@ body {
color: #fff !important; color: #fff !important;
} }
/* Sidebar */ /* Sidebar (lenguaje inventario: gradiente navy→azul, glass, acento celeste) */
.sidebar { .sidebar {
width: var(--sidebar-width); width: var(--sidebar-width);
min-height: 100vh; min-height: 100vh;
background: linear-gradient(180deg, #00285d 0%, #001a3d 100%); background:
radial-gradient(220px 220px at 110% -40px, rgba(1, 95, 201, 0.35), transparent 70%),
linear-gradient(180deg, #16243d 0%, #0b1c36 60%, #0a2c5e 100%);
color: #fff; color: #fff;
position: fixed; position: fixed;
top: 0; top: 0;
@@ -75,46 +77,81 @@ body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
transition: transform 0.3s ease; transition: transform 0.3s ease;
box-shadow: 0.5rem 0 1.25rem rgba(22, 36, 61, 0.13);
} }
.sidebar .nav-link { .sidebar .nav-link {
color: rgba(255, 255, 255, 0.7); color: rgba(255, 255, 255, 0.72);
padding: 0.75rem 1.25rem; padding: 0.6rem 1rem;
border-radius: var(--radius-sm); border-radius: 12px;
margin: 0.125rem 0.75rem; margin: 0.15rem 0.75rem;
display: flex; display: flex;
align-items: center; align-items: center;
gap: 0.75rem; gap: 0.7rem;
font-size: 0.9rem; font-size: 0.9rem;
transition: all 0.2s ease; transition: all 0.2s ease;
text-decoration: none; text-decoration: none;
border: 1px solid transparent;
} }
.sidebar .nav-link:hover { .sidebar .nav-link:hover {
color: #fff; color: #fff;
background-color: rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.08);
transform: translateX(2px);
} }
.sidebar .nav-link.active { .sidebar .nav-link.active {
color: #fff; color: #fff;
background-color: rgba(255, 255, 255, 0.15); background-color: rgba(255, 255, 255, 0.14);
font-weight: 500; border-color: rgba(255, 255, 255, 0.16);
box-shadow: inset 3px 0 0 #9ed0ff;
font-weight: 600;
} }
.sidebar .nav-link i { .sidebar .nav-link i {
font-size: 1.1rem; display: inline-flex;
width: 24px; align-items: center;
text-align: center; justify-content: center;
flex: 0 0 32px;
width: 32px;
height: 32px;
font-size: 1.05rem;
border-radius: 9px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.12);
}
.sidebar .nav-link.active i {
color: #9ed0ff;
background: rgba(255, 255, 255, 0.16);
}
.sidebar nav .text-uppercase {
color: rgba(158, 208, 255, 0.75) !important;
font-weight: 700;
} }
.sidebar-brand { .sidebar-brand {
padding: 1.5rem 1.25rem; padding: 1.25rem 1.25rem 1.1rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.12);
display: flex; display: flex;
align-items: center; align-items: center;
gap: 0.75rem; gap: 0.75rem;
} }
.sidebar-brand > i {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 44px;
width: 44px;
height: 44px;
font-size: 1.45rem !important;
border-radius: 12px;
background: rgba(255, 255, 255, 0.14);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.sidebar-brand h5 { .sidebar-brand h5 {
margin: 0; margin: 0;
font-weight: 700; font-weight: 700;
@@ -123,23 +160,27 @@ body {
} }
.sidebar-user { .sidebar-user {
padding: 1.25rem; padding: 0.9rem;
border-top: 1px solid rgba(255, 255, 255, 0.1); margin: auto 0.75rem 0.75rem;
margin-top: auto; border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 12px;
background: rgba(255, 255, 255, 0.07);
display: flex; display: flex;
align-items: center; align-items: center;
gap: 0.75rem; gap: 0.75rem;
} }
.sidebar-user .avatar { .sidebar-user .avatar {
flex: 0 0 40px;
width: 40px; width: 40px;
height: 40px; height: 40px;
border-radius: 50%; border-radius: 12px;
background: rgba(255, 255, 255, 0.2); background: linear-gradient(135deg, #16243d, #015fc9);
border: 1px solid rgba(255, 255, 255, 0.25);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-weight: 600; font-weight: 700;
font-size: 0.9rem; font-size: 0.9rem;
} }