сделал pc меню
This commit is contained in:
@@ -124,6 +124,87 @@
|
||||
background-image: url(/assets/img/icon/arrow-bottom.svg);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center right;
|
||||
|
||||
display: block;
|
||||
}
|
||||
.header-menu-list-next__block{
|
||||
position: relative;
|
||||
}
|
||||
.header-menu-list-next__content{
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
left: 0;
|
||||
|
||||
width: 300px;
|
||||
|
||||
padding: 14px 0;
|
||||
|
||||
background-color: var(--background-grey);
|
||||
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
|
||||
transition: all .3s;
|
||||
}
|
||||
.header-menu-list-next__content.active{
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.header-menu-list-next-content__item{
|
||||
display: block;
|
||||
|
||||
padding: 14px 24px;
|
||||
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
text-transform: uppercase;
|
||||
color: var(--text-white);
|
||||
|
||||
transition: all .3s;
|
||||
}
|
||||
.header-menu-list-next-content__item:hover{
|
||||
padding-right: 23px;
|
||||
|
||||
border-right: 1px solid var(--text-white);
|
||||
background-color: var(--background-grey-hover);
|
||||
}
|
||||
.header-menu-list-next-content__item.active{
|
||||
padding-right: 23px;
|
||||
|
||||
border-right: 1px solid var(--text-white);
|
||||
background-color: var(--background-grey-hover);
|
||||
}
|
||||
.header-menu-list-next__content-next{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 300px;
|
||||
|
||||
display: block;
|
||||
|
||||
min-height: 100%;
|
||||
width: 300px;
|
||||
|
||||
padding: 12px;
|
||||
background-color: var(--background-grey-hover);
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: all .6s;
|
||||
}
|
||||
.header-menu-list-next__content-next.active{
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.header-menu-list-next-content-next__item{
|
||||
padding: 12px;
|
||||
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
text-transform: uppercase;
|
||||
color: var(--text-white);
|
||||
}
|
||||
.header-menu__search{
|
||||
display: flex;
|
||||
@@ -291,7 +372,12 @@
|
||||
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.header-menu-list-next__content {
|
||||
top: 72px;
|
||||
}
|
||||
.header-menu-search__block {
|
||||
top: 78px;
|
||||
}
|
||||
/* header */
|
||||
.header__wrapper{
|
||||
flex-wrap: wrap;
|
||||
|
||||
Reference in New Issue
Block a user