This commit is contained in:
Roman Pyrih
2024-11-21 15:57:25 +01:00
parent d6060a1695
commit 92c7691d79
13 changed files with 7663 additions and 7040 deletions

View File

@@ -5,6 +5,8 @@ $cGoldDark: #d3ba67;
$cBgAccent: #eff6f7;
$cBone: #f6f6f6;
$fInter: 'Inter', sans-serif;
body > main {
overflow-x: hidden;
}
@@ -21,6 +23,25 @@ body {
h3 {
color: #232323;
}
&#index {
footer#footer {
section.footer-box-newsletter {
display: none !important;
}
}
}
&#category {
section#wrapper {
section#main {
margin-bottom: 100px;
#product-list-header {
display: none;
}
}
}
}
}
#footer {
@@ -151,15 +172,17 @@ a {
}
ul.product-flags {
li.product-flag {
&.new {
transform: translateX(0);
}
transform: translateX(calc(-100% - 30px));
&.discount {
transform: translateX(-100%);
}
}
// li.product-flag {
// &.new {
// transform: translateX(0);
// }
// &.discount {
// transform: translateX(-100%);
// }
// }
}
}
}
@@ -169,99 +192,155 @@ a {
border: 1px solid #eff6f7;
.thumbnail-top {
background: #ffffff;
a {
img {
}
}
.highlighted-informations {
}
.product-add-to-basket {
display: flex;
align-items: center;
justify-content: center;
.add-to-cart {
font-size: 14px;
font-weight: 300;
padding: 6px 10px 4px;
border-radius: 10px;
font-family: $fInter;
font-size: 12px;
font-weight: 700;
padding: 8px 16px;
display: flex;
align-items: center;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
background: #462d26;
border-radius: 1px;
i {
font-size: 15px;
margin-bottom: 2px;
}
span {
line-height: 1;
margin-bottom: 1px;
font-size: 14px;
font-weight: 700;
}
}
}
}
.product-description {
margin-top: 14px;
&::after {
display: none !important;
}
.product-title {
margin-bottom: 14px;
line-height: 1;
a {
color: $cBlack;
color: #462d26;
font-family: $fInter;
font-size: 14px;
font-weight: 400;
line-height: 1.2;
}
}
.product-price-and-shipping {
.regular-price {
font-size: 13px;
color: #a9a8a8;
font-weight: 400;
margin-right: 5px;
font-size: 14px;
font-family: $fInter;
color: rgb(70, 45, 38, 0.34);
font-weight: 700;
}
.price {
color: $cBlack;
font-size: 15px;
font-weight: 600;
color: #462d26;
font-family: $fInter;
font-size: 14px;
font-weight: 700;
}
.discount-product {
}
&.product-price-discount {
display: flex;
flex-direction: row;
column-gap: 10px;
.price {
order: 1;
color: #c40000;
}
.regular-price {
order: 2;
}
}
}
}
ul.product-flags {
position: absolute;
top: 24px;
left: 24px;
z-index: 2;
transition: all 250ms ease-in-out;
row-gap: 8px;
li.product-flag {
font-size: 11px;
font-weight: 400;
padding: 3px 8px;
min-width: fit-content;
min-height: auto;
transition: all 250ms ease-in-out;
margin-top: 0;
// &:first-child {
// margin-top: 0;
// }
font-family: $fInter;
font-size: 12px;
font-weight: 700;
&.new {
background: $cGold;
margin-top: 0;
position: absolute;
top: 0;
left: 0;
transform: translateX(-100%);
border-bottom-right-radius: 10px;
background: #462d26;
padding: 4px 8px;
}
&.discount {
background: #e30613;
border-bottom-right-radius: 10px;
display: flex;
flex-direction: row;
column-gap: 8px;
background-color: transparent;
padding: 0;
span {
font-family: $fInter;
font-size: 12px;
font-weight: 700;
padding: 4px 8px;
background: #c40000;
}
// background: #e30613;
// border-bottom-right-radius: 10px;
}
&.out_of_stock {
position: absolute;
top: 0;
right: 0;
background: #111516;
border-bottom-left-radius: 10px;
background: #462d26;
// position: absolute;
// top: 0;
// right: 0;
// background: #111516;
// border-bottom-left-radius: 10px;
}
}
}
@@ -269,9 +348,14 @@ a {
.wishlist-button-add {
opacity: 0;
visibility: hidden;
box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.1);
// box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.1);
box-shadow: none;
transition: all 250ms ease-in-out;
transform: translateY(calc(-100% - 1rem));
i {
color: #462d26;
}
}
}
}
@@ -619,9 +703,9 @@ body#checkout {
}
}
footer#footer {
background-color: #111516 !important;
}
// footer#footer {
// background-color: #111516 !important;
// }
.category-tiles-list {
display: grid;
@@ -781,17 +865,17 @@ body#category {
}
}
#subcategories {
.subcategories-list {
li {
.subcategory-image {
a {
border-radius: 10px;
}
}
}
}
}
// #subcategories {
// .subcategories-list {
// li {
// .subcategory-image {
// a {
// border-radius: 10px;
// }
// }
// }
// }
// }
}
}
@@ -847,12 +931,19 @@ body#category {
.elementor-nav-menu {
> ul {
justify-content: space-between;
align-items: center;
width: 100%;
&::after {
display: none;
}
}
.menu-item-separator {
display: block;
width: 1px;
height: 14px;
background: #110e0c1a;
}
}
}
@@ -877,7 +968,7 @@ body#category {
margin-bottom: 18px;
line-height: 1.1;
font-weight: 500;
font-family: 'Inter', sans-serif;
font-family: $fInter;
span {
color: #e79332;
@@ -1044,7 +1135,7 @@ body#category {
}
}
.home-box-services {
.footer-box-services {
position: relative;
&::before {
@@ -1063,7 +1154,7 @@ body#category {
}
}
.home-box-other-info {
.footer-box-other-info {
> .elementor-container {
> .elementor-row {
column-gap: 80px;
@@ -1082,3 +1173,188 @@ body#category {
}
}
}
article {
&.product-miniature {
&.product-card {
.product-description {
.product-title {
a {
}
}
}
}
}
}
nav.pagination {
.page-list {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
background: transparent;
.pagination-item {
&.prev {
a {
background: transparent;
transition: all 250ms ease-in-out;
img {
transition: all 250ms ease-in-out;
}
&:hover {
background: #ffa629;
img {
filter: brightness(0) invert(1);
}
}
}
}
&.next {
a {
background: transparent;
transition: all 250ms ease-in-out;
img {
transition: all 250ms ease-in-out;
transform: scale(-1);
}
&:hover {
background: #ffa629;
img {
filter: brightness(0) invert(1);
}
}
}
}
&.current {
a {
color: #ffffff;
background: #ffa629;
}
}
.spacer {
display: flex;
align-items: center;
justify-content: center;
padding: 5px 11px;
height: 33px;
width: 33px;
color: #9f928c;
font-size: 14px;
font-weight: 500;
font-family: $fInter;
}
a {
display: flex;
align-items: center;
justify-content: center;
color: #9f928c;
font-family: $fInter;
font-size: 14px;
font-weight: 500;
letter-spacing: -0.5px;
padding: 5px 11px;
height: 33px;
min-width: 33px;
background: #ece9e2;
border-radius: 1px;
transition: all 250ms ease-in-out;
&:hover {
color: #fff;
background: #ffa629;
}
}
}
}
}
body#category {
section#main {
#subcategories {
padding: 0;
margin: 0;
background: transparent;
.subcategory-heading {
display: none;
}
.subcategories-list {
display: flex;
flex-direction: row;
gap: 16px;
flex-wrap: wrap;
li {
.subcategory-item {
display: flex;
flex-direction: row;
column-gap: 16px;
align-items: center;
background: #ece9e2;
border-radius: 50px;
padding: 8px 24px 8px 10px;
.subcategory-image {
width: 43px;
height: 43px;
padding: 0;
background: #ffffff;
border-radius: 100%;
img {
width: 100%;
height: 100%;
object-fit: contain;
border-radius: 100%;
}
}
.subcategory-name {
color: #462d26;
font-size: 16px;
font-weight: 600;
font-family: $fInter;
margin: 0;
}
}
}
}
}
}
}
nav.breadcrumb {
margin-bottom: 1.563rem;
ol {
display: flex;
flex-direction: row;
column-gap: 16px;
align-items: center;
li {
span {
color: #462d26;
font-size: 14px;
font-weight: 500;
font-family: $fInter;
}
&.separator {
img {
width: 5px;
height: 9px;
}
}
}
}
}