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

173 lines
2.9 KiB
CSS
Raw Normal View History

2025-09-02 19:50:17 -04:00
.barNavigation {
text-align: center;
background-color: rgb(1, 92, 184);
padding: 0 20px;
2025-09-08 13:35:46 -04:00
display: flex;
2025-09-12 18:12:38 -06:00
width: 100%;
top: 0;
min-height: 40px;
2025-09-02 19:50:17 -04:00
}
.barNavigation ul {
display: flex;
justify-content: space-around;
width: 100%;
}
.barNavigation li {
transition: all 0.3s ease;
cursor: pointer;
color: white;
font-weight: bold;
2025-09-05 14:17:26 -04:00
width: 100%;
2025-09-08 15:06:01 -04:00
transition: background-color 0.3s ease;
2025-09-02 19:50:17 -04:00
}
.barNavigation li:hover {
2025-09-05 18:24:12 -04:00
background-color: #d59f0f;
2025-09-02 19:50:17 -04:00
}
.barNavigation ul.active {
display: flex;
width: 100%;
}
.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: white;
border-radius: 4px;
}
.subMenu {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
gap: 10px;
position: relative;
z-index: 1;
border-radius: 4px 4px 0 0;
padding: 5px 0;
2025-09-02 19:50:17 -04:00
}
.subMenu ul {
display: none;
position: absolute;
flex-direction: column;
top: 100%;
width: 100%;
background-color: rgba(0, 61, 121, 1);
2025-09-08 15:06:01 -04:00
transition: color 0.3s ease, opacity 0.3s ease;
2025-09-02 19:50:17 -04:00
}
.subMenu.open ul {
display: flex;
color: rgba(0, 61, 121, 1);
}
.subMenu ul:hover {
color: #5b8cc9;
}
.subMenu:hover ul {
display: flex;
}
.subMenu li {
padding: 10px 0;
}
2025-09-04 11:40:33 -04:00
.subMenu span {
display: flex;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
color: rgb(255, 255, 255);
2025-09-08 13:35:46 -04:00
font-size: 1.5rem;
2025-09-04 11:40:33 -04:00
}
.containerLinks {
2025-09-02 19:50:17 -04:00
padding: 0 !important;
border-radius: 0 0 4px 4px;
2025-09-02 19:50:17 -04:00
}
.links {
display: flex;
justify-content: center;
align-items: center;
2025-09-02 19:50:17 -04:00
color: white;
width: 100%;
height: 100%;
2025-09-08 13:35:46 -04:00
font-size: 1.5rem;
}
thead,tbody{
font-size: 1.25rem;
2025-09-02 19:50:17 -04:00
}
@media (max-width: 800px) {
.menuToggle {
display: flex;
position: relative;
align-items: end;
transition: transform 0.3s ease;
}
.menuToggle.center {
align-items: center;
2025-09-08 13:35:46 -04:00
margin: 0;
2025-09-02 19:50:17 -04:00
}
.barNavigation {
font-size: 15px;
2025-09-08 13:35:46 -04:00
display: block;
2025-09-02 19:50:17 -04:00
}
.barNavigation ul {
position: absolute;
background-color: rgb(1, 92, 184);
flex-direction: column;
padding: 10px 0;
align-items: center;
display: none;
z-index: 1;
height: auto;
}
.barNavigation {
padding: 0;
}
.barNavigation li:hover {
2025-09-08 13:35:46 -04:00
background-color: #d59f0f;
2025-09-02 19:50:17 -04:00
color: white;
border-radius: 0;
border: none;
}
.subMenu ul {
width: 90%;
border-radius: 4px;
position: relative;
background-color: rgba(0, 61, 121, 1);
}
2025-09-08 13:35:46 -04:00
thead,tbody{
font-size: 1rem;
}
2025-09-02 19:50:17 -04:00
}