Save
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -289,9 +289,9 @@ body#product .product-minimal-quantity {
|
||||
margin-left: 22px;
|
||||
}
|
||||
|
||||
body#product .product-variants {
|
||||
margin-top: 40px;
|
||||
}
|
||||
// body#product .product-variants {
|
||||
// margin-top: 40px;
|
||||
// }
|
||||
|
||||
body:not(#index) #top_column {
|
||||
display: none;
|
||||
@@ -712,9 +712,6 @@ h6 a {
|
||||
}
|
||||
|
||||
#button-mirror-reflection {
|
||||
margin-top: 20px;
|
||||
display: inline-block;
|
||||
float: left;
|
||||
// margin-left: 30px;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
@@ -3598,6 +3595,44 @@ body#product {
|
||||
padding: 17px 0;
|
||||
border-bottom: 1px solid #8c8c8c;
|
||||
|
||||
&.product-box-acc {
|
||||
&.active {
|
||||
.product-box--head {
|
||||
&::after {
|
||||
height: 1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.product-box--head {
|
||||
cursor: pointer;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
transform: translateY(-50%);
|
||||
width: 23px;
|
||||
height: 1px;
|
||||
background: #3c3c3c;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 11px;
|
||||
transform: translateY(-50%);
|
||||
width: 1px;
|
||||
height: 23px;
|
||||
background: #3c3c3c;
|
||||
border-radius: 3px;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.block-title {
|
||||
font-family: 'Inter';
|
||||
font-weight: 700;
|
||||
@@ -3609,31 +3644,9 @@ body#product {
|
||||
|
||||
.product-box--head {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
transform: translateY(-50%);
|
||||
width: 23px;
|
||||
height: 1px;
|
||||
background: #3c3c3c;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 11px;
|
||||
transform: translateY(-50%);
|
||||
width: 1px;
|
||||
height: 23px;
|
||||
background: #3c3c3c;
|
||||
border-radius: 3px;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
}
|
||||
.product-box--data {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3923,7 +3936,7 @@ body#product .product-size-data .product-size-data--new {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
justify-content: flex-start;
|
||||
gap: 16px;
|
||||
padding: 12px 0;
|
||||
|
||||
@@ -3952,37 +3965,6 @@ body#product .product-size-data .product-size-data--new {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
#button-mirror-reflection {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
cursor: pointer;
|
||||
padding: 6px 12px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px;
|
||||
transition:
|
||||
border-color 0.15s,
|
||||
background 0.15s;
|
||||
|
||||
&:hover {
|
||||
border-color: #7d6e4f;
|
||||
background: rgba(125, 110, 79, 0.05);
|
||||
}
|
||||
|
||||
.product-bar-icon img {
|
||||
width: 24px;
|
||||
height: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.button-mirror-reflection-label {
|
||||
margin: 0;
|
||||
font-family: Inter, sans-serif;
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
@@ -4042,5 +4024,68 @@ body#product {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.product-variants {
|
||||
width: 100%;
|
||||
background: transparent !important;
|
||||
|
||||
.product-variants-item {
|
||||
&.variant-item-id-4 {
|
||||
margin-top: 25px;
|
||||
ul#group_4 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.control-label {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.wariant_kolorystyczny {
|
||||
width: 100%;
|
||||
max-width: 130px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.variant-action-btn {
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
|
||||
cursor: pointer;
|
||||
padding: 6px 12px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px;
|
||||
transition: border-color 0.15s, background 0.15s;
|
||||
|
||||
&:hover {
|
||||
border-color: #7d6e4f;
|
||||
background: rgba(125, 110, 79, 0.05);
|
||||
}
|
||||
|
||||
.product-bar-icon {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
margin: 0 !important;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
}
|
||||
.product-bar-box {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
|
||||
p {
|
||||
width: max-content;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1326,4 +1326,13 @@ if (!window.__p02p04Bound) {
|
||||
$(document).on('updatedProduct', function() {
|
||||
setTimeout(window.__p02p04RecalcPrice, 50);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// product custom accordion for variants
|
||||
$(function() {
|
||||
$('body').on('click', '.product-box.product-box-acc .product-box--head', function() {
|
||||
$(this).parent().toggleClass('active');
|
||||
$(this).parent().find('.product-box--data').slideToggle();
|
||||
});
|
||||
})
|
||||
Reference in New Issue
Block a user