2022-03-18 13:35:57 +01:00
|
|
|
.top-header {
|
|
|
|
font-size: 12px;
|
|
|
|
transition: transform .2s ease;
|
|
|
|
transform-origin: top;
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
|
|
&.hide {
|
|
|
|
transform: scaleY(0);
|
|
|
|
transform-origin: top;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation {
|
2023-06-09 20:35:28 +02:00
|
|
|
background: linear-gradient(to right, transparent 50%, var(--gcg-color-primary) 50%);
|
2022-03-18 13:35:57 +01:00
|
|
|
transition: .2s ease;
|
|
|
|
|
|
|
|
@include desktop {
|
2023-06-09 20:35:28 +02:00
|
|
|
background: var(--gcg-color-secondary);
|
2022-03-18 13:35:57 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-collapse{
|
|
|
|
@include desktop {
|
2023-06-09 20:35:28 +02:00
|
|
|
background: var(--gcg-color-secondary);
|
2022-03-18 13:35:57 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-nav {
|
|
|
|
padding-left: 50px;
|
2023-06-09 20:35:28 +02:00
|
|
|
background: var(--gcg-color-primary);
|
2022-03-18 13:35:57 +01:00
|
|
|
|
|
|
|
@include desktop {
|
|
|
|
padding-left: 0;
|
2023-06-09 20:35:28 +02:00
|
|
|
background: var(--gcg-color-secondary);
|
2022-03-18 13:35:57 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-bg {
|
2023-06-09 20:35:28 +02:00
|
|
|
background-color: var(--gcg-color-secondary);
|
2022-03-18 13:35:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-item {
|
|
|
|
.nav-link {
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
margin: 0 15px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
height: 6px;
|
|
|
|
width: 100%;
|
|
|
|
content: "";
|
2023-06-09 20:35:28 +02:00
|
|
|
background: white;
|
2022-03-18 13:35:57 +01:00
|
|
|
transform: scaleY(0);
|
|
|
|
transform-origin: top;
|
|
|
|
transition: transform .3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&.active {
|
|
|
|
&::before {
|
|
|
|
transform: scaleY(1);
|
|
|
|
transform-origin: bottom;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-dark .navbar-nav .nav-link {
|
2023-06-09 20:35:28 +02:00
|
|
|
color: white;
|
2022-03-18 13:35:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
link:focus,
|
|
|
|
.navbar-dark .navbar-nav .nav-link:hover {
|
2023-06-09 20:35:28 +02:00
|
|
|
color: white;
|
2022-03-18 13:35:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-dark .navbar-nav .active>.nav-link,
|
|
|
|
.navbar-dark .navbar-nav .nav-link.active,
|
|
|
|
.navbar-dark .navbar-nav .nav-link.show,
|
|
|
|
.navbar-dark .navbar-nav .show>.nav-link {
|
2023-06-09 20:35:28 +02:00
|
|
|
color: white;
|
2022-03-18 13:35:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-expand-lg .navbar-nav .nav-link {
|
|
|
|
padding: 40px 0px;
|
|
|
|
|
|
|
|
@include desktop {
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sticky {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 10;
|
2023-06-09 20:35:28 +02:00
|
|
|
background: white;
|
2022-03-18 13:35:57 +01:00
|
|
|
box-shadow: 0 2px 5px #0000000d;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar {
|
|
|
|
.dropdown {
|
|
|
|
&:hover {
|
|
|
|
.dropdown-menu {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-menu {
|
|
|
|
box-shadow: 0px 3px 9px 0px rgba(0, 0, 0, 0.12);
|
2023-06-09 20:35:28 +02:00
|
|
|
border-bottom: 5px solid var(--gcg-color-primary);
|
2022-03-18 13:35:57 +01:00
|
|
|
padding: 15px;
|
|
|
|
top: 96px;
|
|
|
|
border-radius: 0;
|
|
|
|
display: block;
|
|
|
|
visibility: hidden;
|
|
|
|
transition: .3s ease;
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(20px);
|
2023-06-09 20:35:28 +02:00
|
|
|
background: white;
|
2022-03-18 13:35:57 +01:00
|
|
|
|
|
|
|
@include desktop {
|
|
|
|
display: none;
|
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
|
|
|
transform: translateY(0);
|
|
|
|
transform-origin: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.show {
|
|
|
|
visibility: hidden;
|
|
|
|
|
|
|
|
@include desktop {
|
|
|
|
visibility: visible;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-item {
|
|
|
|
position: relative;
|
2023-06-09 20:35:28 +02:00
|
|
|
color: var(--gcg-color-secondary);
|
2022-03-18 13:35:57 +01:00
|
|
|
transition: .2s ease;
|
|
|
|
text-transform: capitalize;
|
2023-06-09 20:35:28 +02:00
|
|
|
font-family: var(--gcg-font-primary);
|
2022-03-18 13:35:57 +01:00
|
|
|
|
|
|
|
@include desktop {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2023-06-09 20:35:28 +02:00
|
|
|
color: var(--gcg-color-primary);
|
2022-03-18 13:35:57 +01:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|