Remove promo, add featured on main page
All checks were successful
Build and Push Docker Image / build (push) Successful in 54s
All checks were successful
Build and Push Docker Image / build (push) Successful in 54s
This commit is contained in:
@@ -281,20 +281,6 @@
|
||||
color: var(--mid);
|
||||
}
|
||||
|
||||
.promo-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 178px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.promo-row button {
|
||||
border: 0;
|
||||
background: var(--blue-gray);
|
||||
color: var(--white);
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.checkout-summary {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
@@ -440,15 +426,10 @@
|
||||
.checkout-options--three,
|
||||
.checkout-grid,
|
||||
.checkout-grid--contacts,
|
||||
.promo-row,
|
||||
.order-success__summary {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.promo-row button {
|
||||
height: 38px;
|
||||
}
|
||||
|
||||
.checkout-submit,
|
||||
.order-success__link,
|
||||
.cart-empty a {
|
||||
|
||||
@@ -500,14 +500,172 @@
|
||||
}
|
||||
|
||||
.product {
|
||||
padding: 20px;
|
||||
background: #d9d9d9;
|
||||
position: relative;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #ffffff;
|
||||
border: 1px solid rgba(54, 33, 62, 0.12);
|
||||
transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
|
||||
}
|
||||
|
||||
.product-actions .bi-heart {
|
||||
.product:hover {
|
||||
border-color: rgba(54, 33, 62, 0.28);
|
||||
box-shadow: 0 18px 36px rgba(54, 33, 62, 0.1);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.product-media {
|
||||
min-height: 0;
|
||||
flex: 1 1 auto;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
background: rgba(99, 118, 141, 0.1);
|
||||
}
|
||||
|
||||
.product-media img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.product-placeholder {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 130px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #63768d;
|
||||
font-size: 18px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.product-actions {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
top: 18px;
|
||||
left: 18px;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.product-actions form {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
.product-actions button,
|
||||
.product-actions a {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
box-sizing: border-box;
|
||||
padding: 2px;
|
||||
transform: translateY(2px);
|
||||
border: 1px solid rgba(54, 33, 62, 0.18);
|
||||
background: rgba(255, 255, 255, 0.88);
|
||||
color: #36213e;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
|
||||
}
|
||||
|
||||
.product-actions button:hover,
|
||||
.product-actions a:hover,
|
||||
.product-actions .is-active {
|
||||
border-color: #63768d;
|
||||
background: #63768d;
|
||||
color: #ffffff;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.product-actions svg {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.product-info {
|
||||
flex: 0 0 auto;
|
||||
padding: 18px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.product-category {
|
||||
display: block;
|
||||
color: #63768d;
|
||||
font-size: 15px;
|
||||
line-height: 1.2;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.product-name {
|
||||
min-height: 52px;
|
||||
margin-top: 8px;
|
||||
display: -webkit-box;
|
||||
overflow: hidden;
|
||||
color: #36213e;
|
||||
font-weight: 400;
|
||||
font-size: 22px;
|
||||
line-height: 1.18;
|
||||
text-decoration: none;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.product-name:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.product-meta {
|
||||
margin-top: 14px;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.product-price-block {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.product-price {
|
||||
color: #36213e;
|
||||
font-weight: 700;
|
||||
font-size: 21px;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.product-price--discount {
|
||||
color: #c54c5d;
|
||||
}
|
||||
|
||||
.product-price-original {
|
||||
color: #8a8a9a;
|
||||
font-size: 15px;
|
||||
line-height: 1.15;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.product-availability {
|
||||
flex: 0 0 auto;
|
||||
color: #4f7d4f;
|
||||
font-size: 15px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.products-empty {
|
||||
grid-column: 1 / -1;
|
||||
color: #554971;
|
||||
font-size: 18px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.product-1 {
|
||||
|
||||
Reference in New Issue
Block a user