Files
front-AT/app/Components/BarNavigation/BarNavigation.css
T

184 lines
2.7 KiB
CSS
Raw Normal View History

2025-09-02 19:50:17 -04:00
.barNavigation {
2025-09-21 00:07:55 -06:00
text-align: center;
2025-09-24 14:05:51 -06:00
background-color: #003e79;
2025-09-21 00:07:55 -06:00
padding: 0 20px;
display: flex;
width: 100%;
top: 0;
min-height: 40px;
2025-09-02 19:50:17 -04:00
}
.barNavigation ul {
2025-09-21 00:07:55 -06:00
display: flex;
justify-content: space-around;
width: 100%;
2025-09-24 14:05:51 -06:00
gap: 10px;
2025-09-02 19:50:17 -04:00
}
.barNavigation li {
2025-09-21 00:07:55 -06:00
transition: all 0.3s ease;
cursor: pointer;
color: white;
width: 100%;
transition: background-color 0.3s ease;
2025-09-22 14:41:22 -04:00
font-size: 1.5rem;
2025-09-02 19:50:17 -04:00
}
.barNavigation li:hover {
2025-09-24 14:05:51 -06:00
background-color: #bd8c01;
2025-09-02 19:50:17 -04:00
}
.barNavigation ul.active {
2025-09-21 00:07:55 -06:00
display: flex;
width: 100%;
2025-09-02 19:50:17 -04:00
}
.menuToggle {
2025-09-21 00:07:55 -06:00
display: none;
flex-direction: column;
align-items: center;
gap: 4px;
cursor: pointer;
padding: 10px;
margin-right: 10px;
2025-09-02 19:50:17 -04:00
}
.menuToggle div {
2025-09-21 00:07:55 -06:00
width: 25px;
height: 3px;
background-color: white;
border-radius: 4px;
2025-09-02 19:50:17 -04:00
}
.subMenu {
2025-09-21 00:07:55 -06:00
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
position: relative;
z-index: 1;
border-radius: 4px 4px 0 0;
2025-09-02 19:50:17 -04:00
}
.subMenu ul {
2025-09-24 17:51:54 -06:00
opacity: 0;
max-height: 0;
2025-09-21 00:07:55 -06:00
position: absolute;
flex-direction: column;
top: 100%;
width: 100%;
2025-09-24 14:05:51 -06:00
background-color: #003e79;
2025-09-24 17:51:54 -06:00
transition: color 0.3s ease;
transition: opacity 0.4s ease, max-height 0.4s ease;
}
.subMenu ul a {
display: none;
2025-09-02 19:50:17 -04:00
}
.subMenu.open ul {
2025-09-21 00:07:55 -06:00
display: flex;
color: rgba(0, 61, 121, 1);
2025-09-02 19:50:17 -04:00
}
.subMenu ul:hover {
2025-09-21 00:07:55 -06:00
color: #5b8cc9;
2025-09-02 19:50:17 -04:00
}
.subMenu:hover ul {
2025-09-24 17:51:54 -06:00
opacity: 1;
max-height: 500px;
}
.subMenu:hover ul a {
2025-09-21 00:07:55 -06:00
display: flex;
2025-09-02 19:50:17 -04:00
}
.subMenu li {
2025-09-21 00:07:55 -06:00
padding: 10px 0;
2025-09-02 19:50:17 -04:00
}
2025-09-04 11:40:33 -04:00
.subMenu span {
2025-09-21 00:07:55 -06:00
display: flex;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
color: rgb(255, 255, 255);
font-size: 2rem;
2025-09-04 11:40:33 -04:00
}
.containerLinks {
2025-09-21 00:07:55 -06:00
padding: 0 !important;
border-radius: 0 0 4px 4px;
2025-09-02 19:50:17 -04:00
}
.links {
2025-09-21 00:07:55 -06:00
display: flex;
justify-content: center;
align-items: center;
color: white;
width: 100%;
height: 100%;
font-size: 1.5rem;
2025-09-08 13:35:46 -04:00
}
2025-09-21 00:07:55 -06:00
thead,
tbody {
font-size: 1.25rem;
2025-09-02 19:50:17 -04:00
}
@media (max-width: 800px) {
2025-09-21 00:07:55 -06:00
.menuToggle {
display: flex;
position: relative;
align-items: end;
transition: transform 0.3s ease;
}
.menuToggle.center {
align-items: center;
margin: 0;
}
.barNavigation {
font-size: 15px;
display: block;
}
.barNavigation ul {
position: absolute;
2025-09-24 16:22:31 -06:00
background-color: #003e79;
2025-09-21 00:07:55 -06:00
flex-direction: column;
padding: 10px 0;
align-items: center;
display: none;
z-index: 1;
height: auto;
}
.barNavigation {
padding: 0;
}
.barNavigation li:hover {
background-color: #d59f0f;
color: white;
border-radius: 0;
border: none;
}
.subMenu ul {
2025-09-24 16:22:31 -06:00
width: 100%;
2025-09-21 00:07:55 -06:00
border-radius: 4px;
position: relative;
2025-09-24 16:22:31 -06:00
background-color: rgb(1, 92, 184);
2025-09-21 00:07:55 -06:00
}
2025-09-02 19:50:17 -04:00
2025-09-21 00:07:55 -06:00
thead,
tbody {
font-size: 1rem;
}
}