Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
hesrun committed Mar 1, 2023
1 parent aa6a086 commit 9534354
Show file tree
Hide file tree
Showing 66 changed files with 860 additions and 11,178 deletions.
Binary file modified GellatoNew/GellatoNew.rar
Binary file not shown.
220 changes: 213 additions & 7 deletions GellatoNew/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,6 @@ h1, h2, h3, h4, h5 {
color: #fff;
padding: 30px 50px 30px 54px;
background: #7d65ab;
white-space: nowrap;
border-radius: 3px;
z-index: 1;
padding-right: 50px;
Expand All @@ -464,6 +463,7 @@ h1, h2, h3, h4, h5 {
.catalog-nav__sub-2 {
left: calc(100% + 50px);
background: #56437a;
width: 350px;
}
.catalog-nav__sub-2:before {
content: "";
Expand All @@ -489,6 +489,209 @@ h1, h2, h3, h4, h5 {
background: rgba(0, 0, 0, 0.5);
}

/* --------------------------------- header-mobile--------------------------------- */
.header-mobile {
display: none;
position: relative;
z-index: 2;
height: 140px;
}
.header-mobile.white {
margin-bottom: 30px;
}
.header-mobile.white .header-mobile__logo {
background-image: url(../img/logo/logo-violet.png);
}
.header-mobile.white .header-mobile__burger-big {
color: #7d65ab;
}
.header-mobile__top {
padding: 15px 30px;
display: flex;
justify-content: space-between;
align-items: center;
}
.header-mobile__logo {
display: block;
height: 50px;
width: 100px;
background-image: url(../img/logo/logo-white.png);
background-size: contain;
background-position: center;
}
.header-mobile__burger-big {
color: #fff;
font-size: 24px;
}
.header-mobile__language {
position: relative;
z-index: 3;
}
.header-mobile__lang-current {
font-size: 22px;
padding: 5px;
}
.header-mobile__lang-current .fi {
border-radius: 5px;
}
.header-mobile__lang-list {
display: none;
padding: 3px;
position: absolute;
top: 110%;
text-align: center;
background: #fff;
border-radius: 5px;
}
.header-mobile__lang-list a {
font-size: 22px;
padding: 3px;
display: block;
}
.header-mobile__lang-list .fi {
border-radius: 5px;
}
.header-mobile__bottom {
position: relative;
background: #7d65ab;
border-radius: 8px;
padding: 6px 30px;
display: flex;
justify-content: space-between;
}
.header-mobile__bottom.sticky {
position: fixed;
top: 15px;
right: 15px;
left: 15px;
}
.header-mobile__bottom.active:after {
content: "";
display: block;
position: fixed;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.2);
pointer-events: none;
}
.header-mobile__menu-open {
padding: 10px 0px;
border-radius: 20px;
color: #fff;
display: flex;
align-items: center;
gap: 10px;
font-size: 18px;
position: relative;
z-index: 2;
transition: all 0.3s;
}
.header-mobile__menu-open.active {
padding-left: 34px;
padding-right: 34px;
gap: 15px;
background: #7d65ab;
}
.header-mobile__tools {
display: flex;
align-items: center;
gap: 15px;
}
.header-mobile__tools a {
font-size: 18px;
text-decoration: none;
color: white;
}
.header-mobile__nav {
display: none;
position: absolute;
top: 35px;
background: #fdfdfd;
left: 0px;
right: 0px;
border-radius: 0 0 8px 8px;
list-style: none;
padding: 30px 0 60px;
z-index: 1;
}
.header-mobile__nav:before {
content: "";
border-radius: 8px 8px 0 0;
display: block;
left: 0px;
height: 28px;
width: 100%;
background-image: url("../img/other/menu-line-mobile.png");
background-repeat: no-repeat;
background-position: -50px;
position: absolute;
top: -28px;
}
.header-mobile__nav-link {
display: block;
padding: 15px 45px;
color: black;
text-decoration: none;
}
.header-mobile__sub-1-list {
display: none;
padding: 30px 0;
list-style: none;
border-radius: 8px;
position: absolute;
top: 30px;
min-height: calc(100% - 40px);
left: 5px;
right: 5px;
background: #7d65ab;
}
.header-mobile__sub-1-list a {
color: #fff;
}
.header-mobile__sub-1-link {
display: block;
padding: 15px 45px;
text-decoration: none;
}
.header-mobile__close-sub {
padding: 15px 45px;
margin-bottom: 15px;
color: white;
position: relative;
}
.header-mobile__close-sub:after {
content: "";
display: block;
position: absolute;
bottom: 0px;
left: 45px;
right: 45px;
height: 1px;
background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
}
.header-mobile__sub-2-list {
display: none;
padding: 30px 0;
list-style: none;
border-radius: 8px;
position: absolute;
top: 30px;
min-height: calc(100% - 40px);
left: 5px;
right: 5px;
background: #56437a;
}
.header-mobile__sub-2-list a {
color: #fff;
}
.header-mobile__sub-2-link {
display: block;
padding: 15px 45px;
text-decoration: none;
}

/* --------------------------------- banner --------------------------------- */
.main-banner {
margin-top: -219px;
Expand Down Expand Up @@ -2124,9 +2327,12 @@ footer {
.main-header {
display: none;
}
.header-mobile {
display: block;
}
/* --------------------------------- banner --------------------------------- */
.main-banner {
margin-top: 0px;
margin-top: -140px;
}
.main-banner .swiper-slide {
height: 50vh;
Expand All @@ -2136,16 +2342,16 @@ footer {
padding: 0 15px;
}
.land-new-items .swiper-next,
.land-new-items .swiper-prev {
.land-new-items .swiper-prev {
right: -30px;
background: none;
}
.land-new-items .swiper-next.first,
.land-new-items .swiper-prev.first {
.land-new-items .swiper-prev.first {
top: 100px;
}
.land-new-items .swiper-next.second,
.land-new-items .swiper-prev.second {
.land-new-items .swiper-prev.second {
top: 100px;
}
.land-new-items .swiper-prev {
Expand Down Expand Up @@ -2305,11 +2511,11 @@ footer {
}
/* -------------------------------- new items ------------------------------- */
.land-new-items .swiper-next.first,
.land-new-items .swiper-prev.first {
.land-new-items .swiper-prev.first {
top: 70px;
}
.land-new-items .swiper-next.second,
.land-new-items .swiper-prev.second {
.land-new-items .swiper-prev.second {
top: 70px;
}
.land-new-items .swiper-prev {
Expand Down
2 changes: 1 addition & 1 deletion GellatoNew/css/main.css.map

Large diffs are not rendered by default.

Binary file added GellatoNew/img/ivons/burger-big.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added GellatoNew/img/ivons/burger-small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added GellatoNew/img/other/menu-line-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9534354

Please sign in to comment.