feat(ui/rbac): ordenar navegacion segun estandares de la industria y personalizar dashboards por rol (Admin, Bedelia, Docente, Alumno)
This commit is contained in:
@@ -206,4 +206,99 @@
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
|
||||
border-color: var(--bs-primary) !important;
|
||||
}
|
||||
|
||||
/* Role Badges & Pills */
|
||||
.badge-admin {
|
||||
background: linear-gradient(135deg, #7C3AED 0%, #B43E8E 100%) !important;
|
||||
color: #FFFFFF !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
.badge-bedelia {
|
||||
background: linear-gradient(135deg, #D97706 0%, #B45309 100%) !important;
|
||||
color: #FFFFFF !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
.badge-docente {
|
||||
background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
|
||||
color: #FFFFFF !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
.badge-alumno {
|
||||
background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
|
||||
color: #FFFFFF !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
.role-pill {
|
||||
font-size: 0.72rem;
|
||||
font-weight: 600;
|
||||
padding: 0.22rem 0.55rem;
|
||||
border-radius: 9999px;
|
||||
letter-spacing: 0.3px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
/* Role Dashboard Hero & Cards */
|
||||
.dashboard-role-banner {
|
||||
border-radius: 1rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background: linear-gradient(135deg, rgba(180, 62, 142, 0.08) 0%, rgba(104, 44, 173, 0.12) 100%);
|
||||
border: 1px solid rgba(180, 62, 142, 0.18);
|
||||
padding: 1.5rem 1.75rem;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .dashboard-role-banner {
|
||||
background: linear-gradient(135deg, rgba(180, 62, 142, 0.15) 0%, rgba(42, 27, 61, 0.5) 100%);
|
||||
border-color: rgba(180, 62, 142, 0.25);
|
||||
}
|
||||
|
||||
.role-view-selector .btn {
|
||||
font-size: 0.78rem;
|
||||
font-weight: 600;
|
||||
padding: 0.3rem 0.75rem;
|
||||
border-radius: 9999px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.role-view-selector .btn.active {
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
|
||||
}
|
||||
|
||||
.action-menu-card {
|
||||
border-radius: 0.85rem;
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
|
||||
border: 1px solid rgba(0, 0, 0, 0.08);
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.action-menu-card:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.08) !important;
|
||||
border-color: var(--brand-primary) !important;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .action-menu-card {
|
||||
border-color: rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .action-menu-card:hover {
|
||||
border-color: var(--brand-primary-tint) !important;
|
||||
box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.4) !important;
|
||||
}
|
||||
|
||||
.quick-icon-circle {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 12px;
|
||||
}
|
||||
Reference in New Issue
Block a user