187 lines
2.9 KiB
SCSS
187 lines
2.9 KiB
SCSS
.barNavigation {
|
|
text-align: center;
|
|
justify-content: end;
|
|
background-color: #ffffff;
|
|
display: flex;
|
|
width: 100%;
|
|
top: 0;
|
|
height: 45px;
|
|
max-height: 40px;
|
|
}
|
|
|
|
.barNavigation ul {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
width: 90%;
|
|
gap: 10px;
|
|
}
|
|
|
|
.barNavigation li {
|
|
transition: all 0.3s ease;
|
|
cursor: pointer;
|
|
width: auto;
|
|
transition: background-color 0.3s ease;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.menuToggle {
|
|
display: none;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
cursor: pointer;
|
|
padding: 10px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.menuToggle div {
|
|
width: 25px;
|
|
height: 3px;
|
|
background-color: black;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.subMenu {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
position: relative;
|
|
z-index: 1;
|
|
border-radius: 4px 4px 0 0;
|
|
}
|
|
|
|
.subMenu ul {
|
|
opacity: 0;
|
|
max-height: 0;
|
|
position: absolute;
|
|
flex-direction: column;
|
|
min-width: 200px;
|
|
max-width: 300px;
|
|
left: 0;
|
|
background-color: #003e79;
|
|
transition: opacity 0.4s ease, max-height 0.4s ease;
|
|
}
|
|
|
|
.subMenu ul a {
|
|
display: none;
|
|
}
|
|
|
|
.subMenu:hover ul {
|
|
opacity: 1;
|
|
max-height: 500px;
|
|
}
|
|
|
|
.subMenu:hover ul a {
|
|
display: flex;
|
|
}
|
|
|
|
.subMenu li {
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.subMenu span {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #383838;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.links {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
/* Estilo del botón de cierre de sesión */
|
|
.logout-button {
|
|
background-color: #ff4d4d;
|
|
color: white;
|
|
border: none;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
font-size: 2rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
max-width: 200px;
|
|
|
|
&:hover {
|
|
background-color: #e63939;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1000px) {
|
|
.menuToggle {
|
|
display: flex;
|
|
position: relative;
|
|
align-items: end;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.barNavigation {
|
|
font-size: 15px;
|
|
display: block;
|
|
padding: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.barNavigation ul {
|
|
position: absolute;
|
|
background-color: #f4f5f7;
|
|
flex-direction: column;
|
|
padding: 10px 0;
|
|
align-items: center;
|
|
display: none;
|
|
z-index: 1;
|
|
height: auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.barNavigation ul.active {
|
|
left: 0;
|
|
display: flex;
|
|
width: 100vw;
|
|
}
|
|
|
|
.barNavigation li:hover {
|
|
background-color: #d59f0f;
|
|
color: black;
|
|
border-radius: 0;
|
|
border: none;
|
|
}
|
|
|
|
.subMenu ul {
|
|
width: 100%;
|
|
border-radius: 4px;
|
|
position: relative;
|
|
background-color: rgb(1, 92, 184);
|
|
}
|
|
|
|
.logout-button {
|
|
margin-top: 10px;
|
|
font-size: 1.75rem;
|
|
padding: 6px 12px;
|
|
max-width: 180px;
|
|
}
|
|
|
|
thead,
|
|
tbody {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.subMenu a span {
|
|
color: black;
|
|
}
|
|
}
|