92 lines
1.8 KiB
SCSS
Vendored
92 lines
1.8 KiB
SCSS
Vendored
@use "../abstracts/variables" as *;
|
|
|
|
.menu_container {
|
|
height: 75px;
|
|
margin-bottom: 20px;
|
|
background-image: linear-gradient(to right, #0102b0, #4090e3);
|
|
|
|
.menu {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
position: relative;
|
|
z-index: 0;
|
|
|
|
li {
|
|
float: left;
|
|
|
|
ul {
|
|
display: none;
|
|
}
|
|
|
|
a {
|
|
display: block;
|
|
font-family: Nunito, serif;
|
|
color: $nav-text-color;
|
|
font-weight: $nav-text-weight;
|
|
font-size: $nav-text-size;
|
|
text-align: center;
|
|
padding: 5px 20px 5px 40px;
|
|
text-decoration: none;
|
|
background: white;
|
|
}
|
|
|
|
&.selected a, &:hover a {
|
|
color: white;
|
|
background: transparent;
|
|
position: relative;
|
|
|
|
&:before {
|
|
content: '';
|
|
display: block;
|
|
width: 33px;
|
|
height: 25px;
|
|
background-image: URL('/images/menu-corner-1.svg');
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
&:after {
|
|
content: '';
|
|
display: block;
|
|
width: 10px;
|
|
height: 12px;
|
|
background-image: URL('/images/menu-corner-2.svg');
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: -1px;
|
|
z-index: 1;
|
|
}
|
|
}
|
|
|
|
&:first-child {
|
|
width: 135px;
|
|
display: block;
|
|
background: white;
|
|
height: 25px;
|
|
}
|
|
|
|
&:last-child {
|
|
margin-left: 10px;
|
|
|
|
&:after {
|
|
content: '\a0';
|
|
z-index: -1;
|
|
background: white;
|
|
position: absolute;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin-left: -10px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.top_menu_container {
|
|
height: 50px;
|
|
}
|