jl-frontend/css/navbar.css

252 lines
5.0 KiB
CSS
Raw Normal View History

2023-03-15 13:20:17 +00:00
/* Mobile View */
.navbar-background {
2023-04-04 15:14:16 +00:00
/*border-top: 3px solid #04B2D9;*/
2023-03-15 13:20:17 +00:00
position: fixed;
2023-03-25 17:12:51 +00:00
z-index: 1;
2023-03-15 13:20:17 +00:00
width: 100%;
display: flex;
flex-direction: row;
justify-content: end;
align-items: center;
align-items: stretch;
2023-04-04 15:14:16 +00:00
background-color: #02114A;
2023-03-15 13:20:17 +00:00
min-height: 74px;
2023-04-04 15:14:16 +00:00
border-radius: 0px 0px 16px 16px;
2023-03-15 13:20:17 +00:00
}
.navbar-container {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: stretch;
flex-grow: 1;
padding: 15px;
}
.navbar-hamburger {
font-size: 20pt;
color: white;
display: flex;
2023-04-04 15:14:16 +00:00
flex-direction: column;
2023-03-15 13:20:17 +00:00
justify-content: center;
2023-04-04 15:14:16 +00:00
align-items: flex-end;
padding: 0px;
gap: 4px;
2023-03-15 13:20:17 +00:00
margin-top: 5px;
2023-04-04 15:14:16 +00:00
2023-03-15 13:20:17 +00:00
max-height: 35px;
min-width: 30px;
padding: 15px;
}
2023-04-04 15:14:16 +00:00
.navbar-hamburger-bar-1 {
transition-duration: 0.4s;
width: 16px;
height: 3px;
background: #FFFFFF;
border-radius: 8888px;
}
.navbar-hamburger-bars {
transition-duration: 0.4s;
width: 27px;
height: 3px;
background: #FFFFFF;
border-radius: 8888px;
}
.navbar-hamburger-x-1 {
transition-duration: 0.2s;
position: absolute;
width: 27px;
height: 3px;
background: #FFFFFF;
border-radius: 8888px;
transform: rotate(-43.4deg);
}
.navbar-hamburger-x-2 {
transition-duration: 0.2s;
position: absolute;
width: 27px;
height: 3px;
background: #FFFFFF;
border-radius: 8888px;
transform: rotate(43.4deg);
}
2023-03-15 13:20:17 +00:00
.navbar-hamburger:hover {
background-color: #ffffff14;
font-size: 22pt;
font-weight: bold;
border-radius: 3px;
transition-duration: 0.3s;
cursor: pointer;
}
2023-03-25 17:12:51 +00:00
.navbar-closed {
2023-03-15 13:20:17 +00:00
display: flex;
flex-direction: column;
justify-content: flex-start;
margin-top: 10px;
display: none;
}
.navbar-open {
2023-04-04 15:14:16 +00:00
margin-top: 20px;
margin-right: -50px;
2023-03-15 13:20:17 +00:00
display: flex;
flex-direction: column;
justify-content: flex-start;
2023-04-04 15:14:16 +00:00
align-items: end;
2023-03-15 13:20:17 +00:00
}
.navbar-item {
color: white;
font-size: 12pt;
padding-top: 10px;
2023-04-04 15:14:16 +00:00
padding-left: 10px;
padding-right: 10px;
2023-03-15 13:20:17 +00:00
padding-bottom: 10px;
2023-04-04 15:14:16 +00:00
font-family: Space Grotesk;
}
.navbar-item-selected {
color: white;
font-size: 12pt;
padding-top: 10px;
padding-left: 10px;
padding-right: 10px;
padding-bottom: 10px;
font-family: Space Grotesk;
2023-03-15 13:20:17 +00:00
}
.navbar-item-selected:hover {
cursor: default;
}
2023-03-15 13:20:17 +00:00
.navbar-item:hover {
background-color: #ffffff14;
font-size: 13pt;
font-weight: bold;
border-radius: 3px;
transition-duration: 0.3s;
cursor: pointer;
}
.navbar-brand-container {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
gap: 10px;
max-width: 350px;
2023-03-15 13:20:17 +00:00
}
.navbar-brand-container:hover {
cursor: pointer;
}
.navbar-image {
2023-04-04 15:14:16 +00:00
width: 60px;
height: 50px;
object-fit: cover;
margin-top: -10px;
2023-03-15 13:20:17 +00:00
}
/* Desktop view */
2023-04-04 15:14:16 +00:00
@media only screen and (min-width: 750px) {
.navbar-background {
2023-04-04 15:29:34 +00:00
background-color: rgb(250, 248, 248);
2023-04-04 15:14:16 +00:00
border-radius: 0px;
border-bottom: solid 0.5px #d8d8d8;
min-height: 75px;
2023-04-04 15:14:16 +00:00
}
2023-03-15 13:20:17 +00:00
.navbar-container {
display: flex;
flex-direction: row;
2023-04-04 15:14:16 +00:00
justify-content: space-between;
align-items: center;
padding: 0px;
2023-03-15 13:20:17 +00:00
}
.navbar {
display: flex;
flex-direction: row;
justify-content: flex-end;
flex-grow: 1;
}
.navbar-closed {
display: flex;
flex-direction: row;
2023-04-04 15:14:16 +00:00
justify-content: center;
2023-03-15 13:20:17 +00:00
flex-grow: 1;
margin-top: 0px;
2023-04-04 15:14:16 +00:00
gap: 5%;
2023-03-15 13:20:17 +00:00
}
.navbar-open {
display: flex;
flex-direction: row;
justify-content: flex-end;
flex-grow: 1;
margin-top: 0px;
}
.navbar-image {
width: 60px;
height: 75px;
object-fit: cover;
margin-left: 20px;
}
2023-03-15 13:20:17 +00:00
.navbar-item {
2023-04-04 15:14:16 +00:00
color: #000000;
font-size: 12pt;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
padding-bottom: 10px;
font-family: Source Sans Pro;
font-weight: 200;
}
.navbar-item-selected {
color: #02114A;
2023-03-15 13:20:17 +00:00
font-size: 12pt;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
padding-bottom: 10px;
font-family: Source Sans Pro;
2023-04-04 15:14:16 +00:00
font-weight: bold;
2023-03-15 13:20:17 +00:00
}
.navbar-item:hover {
2023-04-04 15:14:16 +00:00
background-color: rgb(0, 0, 0, 0);
font-size: 12pt;
font-weight: normal;
border-radius: 0px;
transition-duration: 0.0s;
2023-03-15 13:20:17 +00:00
cursor: pointer;
}
2023-04-04 15:14:16 +00:00
.navbar-item-contact-us {
font-size: 14px;
font-family: Space Grotesk;
2023-03-15 13:20:17 +00:00
color: white;
2023-04-04 15:14:16 +00:00
background-color: #02114A;
display: flex;
flex-direction: column;
justify-content: center;
padding: 0px;
margin-top: 17px;
2023-04-04 15:14:16 +00:00
margin-right: 30px;
max-height: 40px;
min-width: 45px;
2023-04-04 15:14:16 +00:00
padding: 2px 10px;
border-radius: 5px;
cursor: pointer;
2023-03-15 13:20:17 +00:00
}
}