oggui/ogWebconsole/src/app/layout/header/header.component.css

144 lines
2.4 KiB
CSS

mat-toolbar {
/*height: 7vh;*/
min-height: 65px;
min-width: 375px;
background: rgba(226, 232, 240, 0.8);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
color: black;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: flex-start;
gap: 16px;
padding: 0 16px;
}
/* Estilos específicos para el botón del sidebar */
.navbar-icon {
color: #3f51b5;
font-size: 24px;
width: 24px;
height: 24px;
}
/* Asegurar que el botón del sidebar sea visible */
mat-toolbar button[mat-icon-button] {
display: flex;
align-items: center;
justify-content: center;
min-width: 48px;
height: 48px;
border-radius: 50%;
transition: all 0.3s ease;
color: #3f51b5;
background-color: transparent;
border: none;
cursor: pointer;
margin-right: 8px;
}
mat-toolbar button[mat-icon-button]:hover {
background-color: rgba(63, 81, 181, 0.1);
transform: scale(1.05);
box-shadow: 0 2px 8px rgba(63, 81, 181, 0.2);
}
.navbar-actions-row {
display: flex;
justify-content: end;
align-items: center;
flex-grow: 1;
gap: 8px;
}
.navbar-buttons-row {
display: flex;
gap: 1rem;
}
.navbar-title {
cursor: pointer;
}
.logout-button {
background-color: #f00e0e;
color: white;
padding: 8px 18px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: transform 0.3s ease;
font-family: Roboto, "Helvetica Neue", sans-serif;
}
.logout-button:hover:not(:disabled) {
background-color: #f00e0edc;
}
.logout-button:disabled {
background-color: #ced0df;
cursor: not-allowed;
}
.hide-on-small {
display: none;
}
.trace-button {
color: #3f51b5;
}
@media (min-width: 1500px) {
.hide-on-small {
display: inline;
}
}
@media (max-width: 576px) {
.navbar-actions-row {
display: none;
}
mat-toolbar {
display: flex;
justify-content: space-between;
}
.isSmallScreenButtons {
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
}
.trace-button .mat-icon {
margin-right: 0px !important;
}
.smallScreenMenubutton {
margin-right: 2vh;
}
}
.menu-toggle-right {
position: absolute;
right: 16px;
top: 50%;
transform: translateY(-50%);
z-index: 1100;
}
@media (max-width: 576px) {
.menu-toggle-right {
right: 8px;
}
}