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

267 lines
4.0 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-10-29 14:28:50 -06:00
background-color: #ffffff;
2025-09-21 00:07:55 -06:00
display: flex;
width: 100%;
top: 0;
2025-10-29 14:28:50 -06:00
height: 45px;
max-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;
transition: width 0.5 ease-in-out;
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;
2026-01-13 18:51:56 -06:00
color: #585858;
2025-09-21 00:07:55 -06:00
width: 100%;
2026-01-19 13:08:36 -06:00
transition:
background-color 0.3s ease,
border 0.3s ease;
2026-02-27 18:11:03 -06:00
font-size: 1.4rem;
2025-09-02 19:50:17 -04:00
}
.barNavigation li:hover {
2025-12-08 18:02:33 -06:00
background-color: #f3f4f6;
color: black !important;
2026-01-13 18:51:56 -06:00
border-radius: 8px;
z-index: 2;
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;
2025-09-02 19:50:17 -04:00
}
.menuToggle div {
2025-09-21 00:07:55 -06:00
width: 25px;
height: 3px;
2025-12-08 18:02:33 -06:00
background-color: #000000;
2025-09-21 00:07:55 -06:00
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%;
2026-01-13 18:51:56 -06:00
min-width: 200px;
border: 1px solid #cfcfcf;
border-radius: 8px;
background-color: #ffffff;
2025-09-24 17:51:54 -06:00
transition: color 0.3s ease;
2026-01-19 13:08:36 -06:00
transition:
opacity 0.4s ease,
max-height 0.4s ease;
2025-09-24 17:51:54 -06:00
}
.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-12-08 18:02:33 -06:00
color: #101113;
2025-09-02 19:50:17 -04:00
}
2025-09-24 17:51:54 -06:00
.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 {
font-weight: bold;
2025-09-21 00:07:55 -06:00
display: flex;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
2026-01-13 18:51:56 -06:00
color: #545454;
2026-02-27 18:11:03 -06:00
font-size: 1.4rem;
2025-12-08 18:02:33 -06:00
padding: 1rem;
2026-04-21 17:37:22 -05:00
display: flex;
gap: 10px;
2025-10-29 14:28:50 -06:00
}
2026-02-27 18:11:03 -06:00
.subMenu:hover>span,
.subMenu>a:hover>span {
2025-10-29 14:28:50 -06:00
color: black;
2025-09-04 11:40:33 -04:00
}
2026-04-21 17:37:22 -05:00
.subMenu.active span {
color: black;
font-weight: bold;
}
.subMenu.active {
border-radius: 8px;
background-color: #f3f4f6;
}
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;
top: 20px;
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%;
2026-02-27 18:11:03 -06:00
font-size: 1.4rem;
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
}
2026-02-27 19:15:56 -06:00
@media(max-height:550px) {
.barNavigation {
max-height: 35px;
}
}
2026-01-19 13:08:36 -06:00
@media (min-width: 1001px) {
.subMenu:hover ul {
opacity: 1;
max-height: 500px;
}
}
2026-04-21 17:37:22 -05:00
@media (max-width: 1100px) {
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 {
2026-02-27 18:11:03 -06:00
font-size: 1.4rem;
2026-01-19 13:08:36 -06:00
justify-content: end;
2025-09-21 00:07:55 -06:00
}
.barNavigation ul {
position: absolute;
top: 76px;
left: 0;
2026-03-03 17:36:06 -06:00
top: 100%;
width: 100%;
2025-12-08 18:02:33 -06:00
background-color: #fff;
2025-09-21 00:07:55 -06:00
flex-direction: column;
align-items: center;
z-index: 10;
transform: translateY(-15px);
opacity: 0;
pointer-events: none;
2026-01-19 13:08:36 -06:00
transition:
transform 0.35s ease-in-out,
opacity 0.35s ease-in-out,
visibility 0.35s ease-in-out;
}
.barNavigation ul.active {
position: absolute;
left: 0;
display: flex;
width: 100%;
transform: translateY(0);
opacity: 1;
visibility: visible;
pointer-events: auto;
}
.containerLinks {
top: 20px;
2025-09-21 00:07:55 -06:00
}
.barNavigation {
padding: 0;
}
2026-01-19 13:08:36 -06:00
.barNavigation li {
color: white;
}
2025-09-21 00:07:55 -06:00
.barNavigation li:hover {
color: white;
border-radius: 0;
border: none;
}
.subMenu ul {
position: relative;
top: 0px;
width: 100%;
2025-09-24 16:22:31 -06:00
background-color: rgb(1, 92, 184);
max-height: 0;
opacity: 0;
overflow: hidden;
transform: translateY(-5px);
2026-01-19 13:08:36 -06:00
transition:
max-height 0.35s ease,
opacity 0.3s ease,
transform 0.3s ease;
}
.subMenu.open ul {
max-height: 500px;
opacity: 1;
transform: translateY(0);
}
2026-02-27 18:11:03 -06:00
.subMenu.open ul a {
2026-01-19 13:08:36 -06:00
display: flex;
2026-02-27 18:11:03 -06:00
pointer-events: auto;
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;
}
2026-02-27 18:11:03 -06:00
}