carnet-portal-app/src/app/common/secured-header/secured-header.component.scss

109 lines
2.3 KiB
SCSS
Raw Normal View History

@use 'colors' as colors;
2025-06-04 23:21:18 -05:00
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 24px;
height: 64px;
background-color: colors.$primary-color;
2025-06-04 23:21:18 -05:00
color: white;
box-shadow: var(--mat-sys-level2);
2025-06-04 23:21:18 -05:00
position: relative;
z-index: 100; // Higher than footer's z-index
.navbar-brand {
display: flex;
align-items: center;
gap: 16px;
.logo {
height: 40px;
width: auto;
}
.app-title {
font-size: 20px;
font-weight: 500;
}
}
.navbar-menu {
display: flex;
align-items: center;
gap: 24px;
.nav-link {
cursor: pointer;
padding: 8px 12px;
border-radius: 4px;
transition: background-color 0.3s ease;
&:hover {
background-color: rgba(255, 255, 255, 0.1);
}
}
}
.profile-container {
position: relative;
.profile-button {
color: white;
}
.profile-menu {
position: absolute;
right: 0;
top: 48px;
background-color: white;
border-radius: 4px;
box-shadow: var(--mat-sys-level3);
2025-06-04 23:21:18 -05:00
min-width: 200px;
overflow: hidden;
z-index: 101;
.profile-info {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 16px;
border-bottom: 1px solid colors.$divider-color;
color: colors.$text-primary;
2025-06-04 23:21:18 -05:00
mat-icon {
color: colors.$text-secondary;
2025-06-04 23:21:18 -05:00
}
}
button {
width: 100%;
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
color: colors.$text-primary;
2025-06-04 23:21:18 -05:00
border: none;
cursor: pointer;
mat-icon {
color: colors.$text-secondary;
2025-06-04 23:21:18 -05:00
}
}
}
}
}
@media (max-width: 768px) {
.navbar {
padding: 0 12px;
.app-title {
display: none;
}
.navbar-menu {
gap: 12px;
}
}
}