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

110 lines
2.3 KiB
SCSS
Raw Normal View History

2025-06-04 23:21:18 -05:00
@import 'colors';
@import 'mixins';
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 24px;
height: 64px;
background-color: $primary-color;
color: white;
@include box-shadow(2);
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;
@include box-shadow(3);
min-width: 200px;
overflow: hidden;
z-index: 101;
.profile-info {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 16px;
border-bottom: 1px solid $divider-color;
color: $text-primary;
mat-icon {
color: $text-secondary;
}
}
button {
width: 100%;
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
color: $text-primary;
border: none;
cursor: pointer;
mat-icon {
color: $text-secondary;
}
}
}
}
}
@media (max-width: 768px) {
.navbar {
padding: 0 12px;
.app-title {
display: none;
}
.navbar-menu {
gap: 12px;
}
}
}