223 lines
4.0 KiB
SCSS
223 lines
4.0 KiB
SCSS
@import 'variables';
|
|
@import '_mixins';
|
|
|
|
header#header {
|
|
.header-data {
|
|
// position: relative;
|
|
height: 54px;
|
|
}
|
|
#header-nav {
|
|
nav#header-mine-menu {
|
|
.submenu {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: calc(100% - 25px);
|
|
background: $cWhite;
|
|
border-bottom: 1px solid #dcdcdc;
|
|
box-shadow: 0 1.5px 4px 0 rgba(0, 0, 0, 0.05);
|
|
padding-top: 25px;
|
|
padding-bottom: 25px;
|
|
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
|
|
.container {
|
|
position: relative;
|
|
}
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
|
|
&:not(.container) {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
&.lvl-1 {
|
|
display: flex;
|
|
flex-direction: row;
|
|
column-gap: 40px;
|
|
|
|
> li {
|
|
height: 54px;
|
|
align-content: center;
|
|
|
|
&:hover {
|
|
> .submenu {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
}
|
|
> a {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
column-gap: 5px;
|
|
|
|
span {
|
|
color: $cTxtBlack;
|
|
font-size: 15px;
|
|
font-family: $font3;
|
|
font-weight: 700;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
line-height: 1;
|
|
margin-bottom: -4px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.lvl-2 {
|
|
width: 150px;
|
|
|
|
> li {
|
|
&:not(:last-child) {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
&:hover {
|
|
> a {
|
|
span {
|
|
text-shadow: 0px 0.3px 0px $cTxtBlack,
|
|
0px -0.3px 0px $cTxtBlack, 0.3px 0px 0px $cTxtBlack,
|
|
-0.3px 0px 0px $cTxtBlack, -0.3px -0.3px 0px $cTxtBlack,
|
|
0.3px 0.3px 0px $cTxtBlack, 0.3px -0.3px 0px $cTxtBlack,
|
|
-0.3px 0.3px 0px $cTxtBlack, -0.3px 0.3px 0px $cTxtBlack;
|
|
|
|
&::before {
|
|
width: 100%;
|
|
visibility: visible;
|
|
}
|
|
}
|
|
|
|
img {
|
|
width: 11px;
|
|
}
|
|
}
|
|
|
|
.lvl-3 {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
}
|
|
|
|
> a {
|
|
position: relative;
|
|
width: 100%;
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
column-gap: 5px;
|
|
text-decoration: none;
|
|
transition: all 250ms ease-in-out;
|
|
|
|
span {
|
|
display: inline-block;
|
|
position: relative;
|
|
color: $cTxtBlack;
|
|
font-size: 16px;
|
|
font-family: $font3;
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
transition: all 250ms ease-in-out;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -10px;
|
|
left: 0;
|
|
width: 0;
|
|
height: 3px;
|
|
background: $cTxtBlack;
|
|
visibility: hidden;
|
|
transition: all 250ms ease-in-out;
|
|
}
|
|
}
|
|
|
|
img {
|
|
transform: rotate(-90deg);
|
|
width: 0;
|
|
transition: all 250ms ease-in-out;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.lvl-3 {
|
|
position: absolute;
|
|
// left: calc(150px + 15px + 60px);
|
|
left: 150px;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
transition: all 250ms ease-in-out;
|
|
padding-left: 75px;
|
|
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
|
|
&.lvl-3-big {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
column-gap: 60px;
|
|
|
|
> li {
|
|
> a {
|
|
text-decoration: none;
|
|
|
|
span {
|
|
color: $cTxtBlack;
|
|
font-size: 16px;
|
|
font-family: $font3;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&:not(.lvl-3-big) {
|
|
> li {
|
|
&:not(:last-child) {
|
|
margin-bottom: 20px;
|
|
}
|
|
> a {
|
|
text-decoration: none;
|
|
|
|
span {
|
|
color: $cTxtBlack;
|
|
font-size: 20px;
|
|
font-family: $font3;
|
|
font-weight: 300;
|
|
line-height: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.lvl-4 {
|
|
margin-top: 20px;
|
|
> li {
|
|
&:not(:last-child) {
|
|
margin-bottom: 20px;
|
|
}
|
|
> a {
|
|
text-decoration: none;
|
|
span {
|
|
color: $cTxtBlack;
|
|
font-size: 20px;
|
|
font-family: $font3;
|
|
font-weight: 300;
|
|
line-height: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|