Rebrand
This commit is contained in:
1 parent
18ca2c32ca
commit
040d59a0e6
96 files changed
+1872
-862
No files matched your search
+167
-89
@@ -2,33 +2,34 @@
|
||||
@use "../abstracts/mixin" as *;
|
||||
|
||||
.menu_container {
|
||||
background-color: $primary;
|
||||
@media (min-width: 767px) {
|
||||
height: 75px;
|
||||
background-image: linear-gradient(to right, #0102b0, #4090e3);
|
||||
height: auto;
|
||||
}
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
background-color: $gold;
|
||||
> div {
|
||||
height: 30px;
|
||||
background: white;
|
||||
height: auto;
|
||||
background: transparent;
|
||||
flex-grow: 1;
|
||||
border: 1px solid white;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
.menu {
|
||||
@include reset-list;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
margin: 0px -1px;
|
||||
width: 1170px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
> li {
|
||||
float: left;
|
||||
margin: 0px -1px;
|
||||
float: none;
|
||||
margin: 0;
|
||||
|
||||
&.has_submenu {
|
||||
position: relative;
|
||||
@@ -40,64 +41,17 @@
|
||||
|
||||
a {
|
||||
display: block;
|
||||
font-family: Nunito, serif;
|
||||
color: $text-color;
|
||||
font-weight: $nav-text-weight;
|
||||
font-size: $nav-text-size;
|
||||
font-family: var(--font-base);
|
||||
color: $primary;
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
text-align: center;
|
||||
padding: 5px 20px 5px 40px;
|
||||
padding: 14px 20px;
|
||||
text-decoration: none;
|
||||
background: white;
|
||||
text-transform: uppercase
|
||||
}
|
||||
|
||||
&.selected a, &:hover a, &.hover a {
|
||||
color: white;
|
||||
background: transparent;
|
||||
position: relative;
|
||||
|
||||
&:before {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 33px;
|
||||
height: 25px;
|
||||
-webkit-mask-image: URL("/images/menu-corner-1.svg");
|
||||
mask-image: URL("/images/menu-corner-1.svg");
|
||||
background-color: white;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 12px;
|
||||
height: 15px;
|
||||
-webkit-mask-image: URL("/images/menu-corner-2.svg");
|
||||
mask-image: URL("/images/menu-corner-2.svg");
|
||||
background-color: white;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: -1px;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-left: 10px;
|
||||
|
||||
&:after {
|
||||
content: '\a0';
|
||||
z-index: -1;
|
||||
background: white;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin-left: -10px;
|
||||
}
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .02em;
|
||||
border-bottom: 3px solid transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -127,6 +81,8 @@
|
||||
&.search {
|
||||
border: none;
|
||||
line-height: 1;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
/*&:nth-child(2) {
|
||||
@@ -135,11 +91,11 @@
|
||||
|
||||
a {
|
||||
float: left;
|
||||
font-family: Nunito, serif;
|
||||
font-family: var(--font-base);
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
text-align: right;
|
||||
color: $text-inverted-color;
|
||||
color: $primary;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
display: flex;
|
||||
@@ -173,7 +129,7 @@
|
||||
}
|
||||
|
||||
.search_form {
|
||||
float: left;
|
||||
float: right;
|
||||
overflow: hidden;
|
||||
height: 34px;
|
||||
margin-right: 10px;
|
||||
@@ -183,7 +139,7 @@
|
||||
border-radius: 3px;
|
||||
background-color: $element-bg;
|
||||
height: 26px;
|
||||
font-family: Montserrat, serif;
|
||||
font-family: var(--font-base);
|
||||
font-size: 16px;
|
||||
line-height: 1.25;
|
||||
color: $text-color;
|
||||
@@ -195,6 +151,7 @@
|
||||
}
|
||||
.search_button {
|
||||
margin-top: 6px;
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -202,7 +159,7 @@
|
||||
.menu_mobile_container {
|
||||
height: 46px;
|
||||
padding: 12px 0;
|
||||
background-color: #10229c;
|
||||
background-color: var(--brand-primary);
|
||||
.mobile_menu_button a {
|
||||
display: block;
|
||||
width: 20px;
|
||||
@@ -221,7 +178,7 @@
|
||||
}
|
||||
}
|
||||
.right_menu_container {
|
||||
background-color: #10229c;
|
||||
background-color: var(--brand-primary);
|
||||
margin-left: 12px;
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
@@ -271,7 +228,7 @@
|
||||
@include reset-list;
|
||||
a {
|
||||
display: block;
|
||||
font-family: Nunito, serif;
|
||||
font-family: var(--font-base);
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
color: $text-color;
|
||||
@@ -407,7 +364,7 @@
|
||||
padding: 4px;
|
||||
a {
|
||||
font-size: 30px;
|
||||
color: #1d2bb2;
|
||||
color: var(--brand-primary);
|
||||
padding: 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
@@ -432,31 +389,152 @@
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
.grey_background {
|
||||
nav {
|
||||
> div {
|
||||
background: $container-bg;
|
||||
border-color: $container-bg;
|
||||
|
||||
.top_menu_container {
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 18px 0 14px;
|
||||
|
||||
.brand_logo {
|
||||
display: block;
|
||||
img {
|
||||
display: block;
|
||||
height: 66px;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.menu {
|
||||
> li {
|
||||
ul.right_menu {
|
||||
float: none;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
|
||||
li {
|
||||
float: none;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
padding: 6px 16px;
|
||||
border: none;
|
||||
border-radius: 999px;
|
||||
background-color: $gold;
|
||||
line-height: 1.4;
|
||||
|
||||
&.search {
|
||||
background: transparent;
|
||||
padding: 6px 4px;
|
||||
a { color: $text-inverted-color; }
|
||||
}
|
||||
&.collapsed {
|
||||
padding: 6px 12px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
background: $container-bg;
|
||||
}
|
||||
color: $primary;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
letter-spacing: .02em;
|
||||
align-items: center;
|
||||
|
||||
&.selected a, &:hover a, &.hover a {
|
||||
&:before, &:after {
|
||||
background-color: $container-bg;
|
||||
&.with_svg_icon {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
&:after {
|
||||
background: $container-bg;
|
||||
svg {
|
||||
display: none;
|
||||
}
|
||||
span {
|
||||
height: auto;
|
||||
}
|
||||
i {
|
||||
top: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.menu_mobile_container {
|
||||
height: 56px;
|
||||
padding: 0 12px;
|
||||
align-items: center;
|
||||
.logo_mobile {
|
||||
height: 34px;
|
||||
img { height: 100%; width: auto; }
|
||||
}
|
||||
ul.right_menu li a {
|
||||
color: $text-inverted-color;
|
||||
}
|
||||
}
|
||||
.mobile_menu_container nav {
|
||||
background: $surface;
|
||||
}
|
||||
.brand_logo_part2 {
|
||||
fill: $gold;
|
||||
color: $gold;
|
||||
}
|
||||
|
||||
// Vaste tabbalk onderaan (alleen mobiel, zichtbaar < 768px via .d-md-none)
|
||||
.mobile_tabbar {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
background-color: var(--brand-dark);
|
||||
padding-bottom: env(safe-area-inset-bottom, 0);
|
||||
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25);
|
||||
|
||||
a {
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 12px 4px 10px;
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
font-family: var(--font-base);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
|
||||
i {
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
&.active {
|
||||
color: $gold;
|
||||
font-weight: 800;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
width: 44px;
|
||||
height: 3px;
|
||||
transform: translateX(-50%);
|
||||
background-color: $gold;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
.site_container {
|
||||
padding-bottom: 64px;
|
||||
}
|
||||
}
|
||||
.mobile_menu_container ul.right_menu li a {
|
||||
line-height: 20px;
|
||||
}
|
||||
Reference in new issue
Block a user