Merge branch 'main' of http://91.189.216.43:3000/jacek.pyziak/drmaterac.pl
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
@@ -33,7 +33,7 @@ body {
|
||||
color: #010101;
|
||||
}
|
||||
|
||||
.leo-megamenu .navbar-nav>li>a {
|
||||
.leo-megamenu .navbar-nav > li > a {
|
||||
padding: 0;
|
||||
font-size: 15px;
|
||||
font-weight: 400;
|
||||
@@ -155,7 +155,10 @@ body {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#leo_search_block_top .block_content .leoproductsearch-result input[type='text'] {
|
||||
#leo_search_block_top
|
||||
.block_content
|
||||
.leoproductsearch-result
|
||||
input[type='text'] {
|
||||
padding: 0 5px;
|
||||
text-align: left;
|
||||
height: 30px;
|
||||
@@ -164,19 +167,28 @@ body {
|
||||
color: #010101;
|
||||
}
|
||||
|
||||
#leo_search_block_top .block_content .leoproductsearch-result input[type='text']::-webkit-input-placeholder {
|
||||
#leo_search_block_top
|
||||
.block_content
|
||||
.leoproductsearch-result
|
||||
input[type='text']::-webkit-input-placeholder {
|
||||
color: #010101;
|
||||
font-size: 14px;
|
||||
line-height: 21px;
|
||||
}
|
||||
|
||||
#leo_search_block_top .block_content .leoproductsearch-result input[type='text']:-ms-input-placeholder {
|
||||
#leo_search_block_top
|
||||
.block_content
|
||||
.leoproductsearch-result
|
||||
input[type='text']:-ms-input-placeholder {
|
||||
color: #010101;
|
||||
font-size: 14px;
|
||||
line-height: 21px;
|
||||
}
|
||||
|
||||
#leo_search_block_top .block_content .leoproductsearch-result input[type='text']::placeholder {
|
||||
#leo_search_block_top
|
||||
.block_content
|
||||
.leoproductsearch-result
|
||||
input[type='text']::placeholder {
|
||||
color: #010101;
|
||||
font-size: 14px;
|
||||
line-height: 21px;
|
||||
@@ -256,7 +268,7 @@ body {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.nav.megamenu.horizontal>li>a {
|
||||
.nav.megamenu.horizontal > li > a {
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
|
||||
@@ -313,9 +325,9 @@ body {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.leo-megamenu .navbar-nav>li.active>a,
|
||||
.leo-megamenu .navbar-nav>li:hover>a,
|
||||
.leo-megamenu .navbar-nav>li:focus>a {
|
||||
.leo-megamenu .navbar-nav > li.active > a,
|
||||
.leo-megamenu .navbar-nav > li:hover > a,
|
||||
.leo-megamenu .navbar-nav > li:focus > a {
|
||||
color: #34d6ad;
|
||||
}
|
||||
|
||||
@@ -368,7 +380,8 @@ body {
|
||||
margin-right: 25px;
|
||||
}
|
||||
|
||||
.my_content_container {}
|
||||
.my_content_container {
|
||||
}
|
||||
|
||||
.my_box_container p {
|
||||
color: #010101;
|
||||
@@ -563,16 +576,16 @@ body {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.navbar-nav>li>a:hover {
|
||||
.navbar-nav > li > a:hover {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.box-ptabs .nav-tabs .nav-item a:hover,
|
||||
.box-cate .widget-category_image a:hover,
|
||||
.thumbnail-container .product-title a:hover,
|
||||
.leo-megamenu .navbar-nav>li>a:hover,
|
||||
.leo-megamenu .navbar-nav>li>a:focus,
|
||||
.leo-megamenu .navbar-nav>li>a:active {
|
||||
.leo-megamenu .navbar-nav > li > a:hover,
|
||||
.leo-megamenu .navbar-nav > li > a:focus,
|
||||
.leo-megamenu .navbar-nav > li > a:active {
|
||||
color: #34d6ad !important;
|
||||
}
|
||||
|
||||
@@ -841,7 +854,7 @@ article.product-miniature:hover {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.latest-blogs .blog-meta>span {
|
||||
.latest-blogs .blog-meta > span {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
margin: 0;
|
||||
@@ -943,7 +956,7 @@ article.product-miniature:hover {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.row.footer_inside_row>div {
|
||||
.row.footer_inside_row > div {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@@ -1024,7 +1037,7 @@ article.product-miniature:hover {
|
||||
transform: scale(0.9);
|
||||
}
|
||||
|
||||
.my_footer_content>a {
|
||||
.my_footer_content > a {
|
||||
display: block;
|
||||
margin-bottom: 3px;
|
||||
line-height: 20px;
|
||||
@@ -1088,7 +1101,8 @@ article.product-miniature:hover {
|
||||
padding-right: 158px;
|
||||
}
|
||||
|
||||
#cta_row .content_cta {}
|
||||
#cta_row .content_cta {
|
||||
}
|
||||
|
||||
#cta_row h3 {
|
||||
color: #ffffff;
|
||||
@@ -1100,7 +1114,6 @@ article.product-miniature:hover {
|
||||
}
|
||||
|
||||
@-webkit-keyframes bounceIn {
|
||||
|
||||
from,
|
||||
20%,
|
||||
40%,
|
||||
@@ -1146,7 +1159,6 @@ article.product-miniature:hover {
|
||||
}
|
||||
|
||||
@keyframes bounceIn {
|
||||
|
||||
from,
|
||||
20%,
|
||||
40%,
|
||||
@@ -1218,7 +1230,8 @@ article.product-miniature:hover {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#cta_row .links_cta a {}
|
||||
#cta_row .links_cta a {
|
||||
}
|
||||
|
||||
#cta_row .links_cta p {
|
||||
animation: none;
|
||||
@@ -1308,7 +1321,7 @@ article.product-miniature:hover {
|
||||
margin-bottom: 80px !important;
|
||||
}
|
||||
|
||||
.box-ekomi-widget {
|
||||
.box-ekomi {
|
||||
margin-top: 50px;
|
||||
margin-bottom: 70px !important;
|
||||
}
|
||||
@@ -1368,34 +1381,34 @@ article.product-miniature:hover {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.products-selection .display>div a {
|
||||
.products-selection .display > div a {
|
||||
height: 33px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.products-selection .display>div a[title='Grid'] {
|
||||
.products-selection .display > div a[title='Grid'] {
|
||||
width: 36px;
|
||||
}
|
||||
|
||||
.products-selection .display>div a[title='List'] {
|
||||
.products-selection .display > div a[title='List'] {
|
||||
width: 43px;
|
||||
}
|
||||
|
||||
.products-selection .display>div {
|
||||
.products-selection .display > div {
|
||||
margin-right: 13px;
|
||||
}
|
||||
|
||||
.products-selection .display>div#list {
|
||||
.products-selection .display > div#list {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.products-selection .display>div a img {
|
||||
.products-selection .display > div a img {
|
||||
transition: filter 0.2s ease-in;
|
||||
}
|
||||
|
||||
.products-selection .display>div a:hover img {
|
||||
.products-selection .display > div a:hover img {
|
||||
filter: grayscale(1);
|
||||
}
|
||||
|
||||
@@ -1630,7 +1643,7 @@ button[aria-expanded='true'] .chevron_sort_container img {
|
||||
transition: opacity 0.2s ease-in;
|
||||
}
|
||||
|
||||
.PM_ASForm input:checked+label::before {
|
||||
.PM_ASForm input:checked + label::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@@ -1795,12 +1808,16 @@ html[lang='pl'] .ApColumn .block.day_hit::after {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.product-detail.product-thumbs-bottom .product-thumb-images .slick-arrow.slick-prev {
|
||||
.product-detail.product-thumbs-bottom
|
||||
.product-thumb-images
|
||||
.slick-arrow.slick-prev {
|
||||
left: 0;
|
||||
border-radius: 5px 0 0 5px;
|
||||
}
|
||||
|
||||
.product-detail.product-thumbs-bottom .product-thumb-images .slick-arrow.slick-next {
|
||||
.product-detail.product-thumbs-bottom
|
||||
.product-thumb-images
|
||||
.slick-arrow.slick-next {
|
||||
right: 0;
|
||||
border-radius: 0 5px 5px 0;
|
||||
}
|
||||
@@ -1811,8 +1828,8 @@ html[lang='pl'] .ApColumn .block.day_hit::after {
|
||||
}
|
||||
}
|
||||
|
||||
.slick-list:hover+.slick-arrows .slick-next,
|
||||
.slick-list:hover+.slick-arrows .slick-prev,
|
||||
.slick-list:hover + .slick-arrows .slick-next,
|
||||
.slick-list:hover + .slick-arrows .slick-prev,
|
||||
.slick-arrows .slick-next.slick-disabled:hover,
|
||||
.slick-arrows .slick-prev.slick-disabled:hover {
|
||||
background-color: rgba(52, 214, 173, 0.5);
|
||||
@@ -1831,16 +1848,16 @@ html[lang='pl'] .ApColumn .block.day_hit::after {
|
||||
margin-bottom: 44px;
|
||||
}
|
||||
|
||||
.product-detail>.row {
|
||||
.product-detail > .row {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.product-detail>.row>div[class^='col-'] {
|
||||
.product-detail > .row > div[class^='col-'] {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
.product-detail>.row>div.col-form_id-form_9367402777406408 {
|
||||
.product-detail > .row > div.col-form_id-form_9367402777406408 {
|
||||
width: calc(50% + 58px);
|
||||
}
|
||||
|
||||
@@ -2011,14 +2028,14 @@ div.star.star_hover:before {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.product-variants>.product-variants-item {
|
||||
.product-variants > .product-variants-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin: 0 0 8px;
|
||||
}
|
||||
|
||||
.product-variants>.product-variants-item select {
|
||||
.product-variants > .product-variants-item select {
|
||||
min-height: 34px;
|
||||
max-width: 419px;
|
||||
}
|
||||
@@ -2027,7 +2044,7 @@ select.form-control:not([size]):not([multiple]) {
|
||||
height: calc(2.5rem - 6px);
|
||||
}
|
||||
|
||||
.product-detail>.row>div.col-form_id-form_15874367062488778 {
|
||||
.product-detail > .row > div.col-form_id-form_15874367062488778 {
|
||||
padding-left: 15px;
|
||||
width: calc(50% - 58px);
|
||||
}
|
||||
@@ -2041,7 +2058,7 @@ select.form-control:not([size]):not([multiple]) {
|
||||
}
|
||||
|
||||
.product-quantity #quantity_wanted,
|
||||
.product-variants>.product-variants-item select {
|
||||
.product-variants > .product-variants-item select {
|
||||
background-color: #f0f0f0;
|
||||
// width: 419px;
|
||||
width: 100%;
|
||||
@@ -2160,7 +2177,7 @@ select.form-control:not([size]):not([multiple]) {
|
||||
}
|
||||
}
|
||||
|
||||
.raty_boxes_container>div {
|
||||
.raty_boxes_container > div {
|
||||
border-radius: 4px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -2180,7 +2197,7 @@ select.form-control:not([size]):not([multiple]) {
|
||||
}
|
||||
}
|
||||
|
||||
.raty_boxes_container>div.santander {
|
||||
.raty_boxes_container > div.santander {
|
||||
border: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -2199,7 +2216,7 @@ select.form-control:not([size]):not([multiple]) {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.botton_product_container>div {
|
||||
.botton_product_container > div {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@@ -2266,13 +2283,13 @@ a:hover,
|
||||
margin: 0 0 40px;
|
||||
}
|
||||
|
||||
.product-features>dl.data-sheet {
|
||||
.product-features > dl.data-sheet {
|
||||
margin-bottom: 0;
|
||||
// border-bottom: 1px solid #33d5ad;
|
||||
}
|
||||
|
||||
.product-features>dl.data-sheet dd.value,
|
||||
.product-features>dl.data-sheet dt.name {
|
||||
.product-features > dl.data-sheet dd.value,
|
||||
.product-features > dl.data-sheet dt.name {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
@@ -2287,12 +2304,12 @@ a:hover,
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.product-features>dl.data-sheet dd.value,
|
||||
.product-features>dl.data-sheet dd.value:nth-of-type(even) {
|
||||
.product-features > dl.data-sheet dd.value,
|
||||
.product-features > dl.data-sheet dd.value:nth-of-type(even) {
|
||||
background-color: #f5fafe;
|
||||
}
|
||||
|
||||
.product-features>dl.data-sheet dt.name:nth-of-type(even) {
|
||||
.product-features > dl.data-sheet dt.name:nth-of-type(even) {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
@@ -2370,7 +2387,7 @@ a:hover,
|
||||
background-color: #34d6ad;
|
||||
}
|
||||
|
||||
.custom-radio input[type='radio']:checked+span {
|
||||
.custom-radio input[type='radio']:checked + span {
|
||||
background-color: #34d6ad;
|
||||
}
|
||||
|
||||
@@ -2417,7 +2434,7 @@ body#checkout [data-action='show-password'],
|
||||
body#checkout [data-action='show-password']:hover,
|
||||
.btn-primary:active,
|
||||
.btn-primary.active,
|
||||
.open>.btn-primary.dropdown-toggle,
|
||||
.open > .btn-primary.dropdown-toggle,
|
||||
.btn-primary:focus,
|
||||
.btn-primary.focus,
|
||||
#authentication [data-action='show-password']:hover {
|
||||
@@ -2536,7 +2553,8 @@ body#checkout #order-summary-content .order-confirmation-table {
|
||||
min-height: 470px;
|
||||
}
|
||||
|
||||
#cms .content-wrapper h2 {}
|
||||
#cms .content-wrapper h2 {
|
||||
}
|
||||
|
||||
#cms #content-wrapper p,
|
||||
#cms #content-wrapper li {
|
||||
@@ -2633,7 +2651,7 @@ body#checkout #order-summary-content .order-confirmation-table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.mini-navbar .nav.megamenu.horizontal>li>a {
|
||||
.mini-navbar .nav.megamenu.horizontal > li > a {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
@@ -2831,7 +2849,7 @@ body#checkout #order-summary-content .order-confirmation-table {
|
||||
}
|
||||
|
||||
#blog-category .panel.panel-default,
|
||||
.latest-blogs .blog-meta>span.icon-calendar,
|
||||
.latest-blogs .blog-meta > span.icon-calendar,
|
||||
#module-leoblog-blog .social-share,
|
||||
.blog-description h1,
|
||||
#module-leoblog-category .panel.panel-defaul,
|
||||
@@ -2870,9 +2888,9 @@ body#checkout #order-summary-content .order-confirmation-table {
|
||||
.btn-primary.active:hover,
|
||||
.btn-primary.active:focus,
|
||||
.btn-primary.active.focus,
|
||||
.open>.btn-primary.dropdown-toggle:hover,
|
||||
.open>.btn-primary.dropdown-toggle:focus,
|
||||
.open>.btn-primary.dropdown-toggle.focus {
|
||||
.open > .btn-primary.dropdown-toggle:hover,
|
||||
.open > .btn-primary.dropdown-toggle:focus,
|
||||
.open > .btn-primary.dropdown-toggle.focus {
|
||||
background-color: #24b28c;
|
||||
}
|
||||
|
||||
@@ -3162,7 +3180,7 @@ body#checkout .condition-label label a {
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
#checkout .modal-content ol+p {
|
||||
#checkout .modal-content ol + p {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
@@ -3347,11 +3365,21 @@ body#checkout .modal-content li {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
#cms #content-wrapper .sinlge_row_salon .contett_wrapper .bottom_wrapper p:last-child {
|
||||
#cms
|
||||
#content-wrapper
|
||||
.sinlge_row_salon
|
||||
.contett_wrapper
|
||||
.bottom_wrapper
|
||||
p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#cms #content-wrapper .sinlge_row_salon .contett_wrapper .bottom_wrapper p.label {
|
||||
#cms
|
||||
#content-wrapper
|
||||
.sinlge_row_salon
|
||||
.contett_wrapper
|
||||
.bottom_wrapper
|
||||
p.label {
|
||||
color: #b8b3ae;
|
||||
text-align: left;
|
||||
font-weight: 400;
|
||||
@@ -3434,11 +3462,11 @@ body#checkout .modal-content li {
|
||||
}
|
||||
|
||||
.product-quantity #quantity_wanted,
|
||||
.product-variants>.product-variants-item select {
|
||||
.product-variants > .product-variants-item select {
|
||||
width: 272px;
|
||||
}
|
||||
|
||||
.leo-megamenu .navbar-nav>li>a {
|
||||
.leo-megamenu .navbar-nav > li > a {
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
}
|
||||
@@ -3619,7 +3647,7 @@ body#checkout .modal-content li {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.product-variants>.product-variants-item,
|
||||
.product-variants > .product-variants-item,
|
||||
.product-add-to-cart .product-quantity .qty {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
@@ -3746,8 +3774,8 @@ body#checkout .modal-content li {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.product-detail>.row>div.col-form_id-form_9367402777406408,
|
||||
.product-detail>.row>div.col-form_id-form_15874367062488778 {
|
||||
.product-detail > .row > div.col-form_id-form_9367402777406408,
|
||||
.product-detail > .row > div.col-form_id-form_15874367062488778 {
|
||||
width: 100%;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
@@ -3783,7 +3811,7 @@ body#checkout .modal-content li {
|
||||
display: initial;
|
||||
}
|
||||
|
||||
.raty_boxes_container>div img {
|
||||
.raty_boxes_container > div img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@@ -3901,7 +3929,10 @@ body#checkout .modal-content li {
|
||||
}
|
||||
|
||||
#category .thumbnail-container .product-meta a,
|
||||
#module-pm_advancedsearch4-searchresults .thumbnail-container .product-meta a {
|
||||
#module-pm_advancedsearch4-searchresults
|
||||
.thumbnail-container
|
||||
.product-meta
|
||||
a {
|
||||
font-size: 14px;
|
||||
line-height: 26px;
|
||||
}
|
||||
@@ -3977,7 +4008,10 @@ body#checkout .modal-content li {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
#leo_search_block_top .block_content .leoproductsearch-result input[type='text'] {
|
||||
#leo_search_block_top
|
||||
.block_content
|
||||
.leoproductsearch-result
|
||||
input[type='text'] {
|
||||
text-align: left;
|
||||
height: 50px;
|
||||
}
|
||||
@@ -4323,7 +4357,7 @@ body#checkout .modal-content li {
|
||||
}
|
||||
|
||||
.product-quantity #quantity_wanted,
|
||||
.product-variants>.product-variants-item select {
|
||||
.product-variants > .product-variants-item select {
|
||||
max-width: 190px;
|
||||
}
|
||||
}
|
||||
@@ -4443,7 +4477,7 @@ body#checkout .modal-content li {
|
||||
}
|
||||
|
||||
#smartsupp-widget-container {
|
||||
>div {
|
||||
> div {
|
||||
z-index: 9999 !important;
|
||||
}
|
||||
}
|
||||
@@ -4531,7 +4565,7 @@ body#cms.cms-id-23 {
|
||||
margin-top: 10px;
|
||||
|
||||
button {
|
||||
background: #FFF !important;
|
||||
background: #fff !important;
|
||||
color: #34d6ad !important;
|
||||
border: 1px solid #34d6ad !important;
|
||||
}
|
||||
@@ -4678,10 +4712,10 @@ body#cms.cms-id-23 {
|
||||
}
|
||||
|
||||
.popup-body-top {
|
||||
>p {
|
||||
> p {
|
||||
color: #34d6ad;
|
||||
|
||||
>a {
|
||||
> a {
|
||||
color: #34d6ad;
|
||||
text-decoration: underline;
|
||||
}
|
||||
@@ -4898,7 +4932,8 @@ body#cms.cms-id-23 {
|
||||
transform: translateY(-50%);
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background: url('/img/cms/franczyza/el_check.svg') no-repeat center center;
|
||||
background: url('/img/cms/franczyza/el_check.svg') no-repeat
|
||||
center center;
|
||||
background-size: cover;
|
||||
}
|
||||
}
|
||||
@@ -5172,7 +5207,8 @@ body#cms.cms-id-23 {
|
||||
}
|
||||
}
|
||||
|
||||
.box-3 {}
|
||||
.box-3 {
|
||||
}
|
||||
|
||||
.box-4 {
|
||||
margin-top: 75px;
|
||||
@@ -5191,7 +5227,7 @@ body#cms.cms-id-23 {
|
||||
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1),
|
||||
0px 0px 2px 0px rgba(0, 0, 0, 0.2);
|
||||
|
||||
>li {
|
||||
> li {
|
||||
&:not(:last-child) {
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
@@ -5505,16 +5541,18 @@ body#cms.cms-id-23 {
|
||||
}
|
||||
}
|
||||
|
||||
.owl-prev {}
|
||||
.owl-prev {
|
||||
}
|
||||
|
||||
.owl-next {}
|
||||
.owl-next {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
>div[class^='htmlboxpro'] {
|
||||
> div[class^='htmlboxpro'] {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-left: 15px;
|
||||
@@ -5596,11 +5634,11 @@ body {
|
||||
padding: 25px 0;
|
||||
}
|
||||
|
||||
.tabs-content>div {
|
||||
.tabs-content > div {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.tabs-content>div.active {
|
||||
.tabs-content > div.active {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@@ -5644,8 +5682,7 @@ body {
|
||||
|
||||
.leo-top-menu {
|
||||
ul.navbar-nav.megamenu {
|
||||
>li.nav-item {
|
||||
|
||||
> li.nav-item {
|
||||
// &.dropdown {
|
||||
&:nth-last-child(2) {
|
||||
.dropdown-menu.level1 {
|
||||
@@ -5667,7 +5704,6 @@ body {
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
||||
.register-inputs-form,
|
||||
.js-address-form {
|
||||
.form-group.row {
|
||||
@@ -5684,7 +5720,7 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
.card>.checkout {
|
||||
.card > .checkout {
|
||||
.btn.btn-primary {
|
||||
text-wrap: auto;
|
||||
}
|
||||
@@ -5740,7 +5776,7 @@ body {
|
||||
display: none;
|
||||
}
|
||||
|
||||
>.nav-item {
|
||||
> .nav-item {
|
||||
flex-basis: calc(25% - (5px - (5px / 4)));
|
||||
text-align: center;
|
||||
margin-bottom: -1px;
|
||||
@@ -5755,7 +5791,7 @@ body {
|
||||
@media (max-width: 1200px) {
|
||||
padding: 5px;
|
||||
|
||||
>.nav-item {
|
||||
> .nav-item {
|
||||
flex-basis: calc(50% - (5px / 2));
|
||||
border-radius: 5px !important;
|
||||
|
||||
@@ -5766,7 +5802,7 @@ body {
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
>.nav-item {
|
||||
> .nav-item {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
}
|
||||
@@ -5796,11 +5832,11 @@ main#page {
|
||||
|
||||
body:not(#index) {
|
||||
.footer-center {
|
||||
>.container {
|
||||
>.inner {
|
||||
> .container {
|
||||
> .inner {
|
||||
.ApRow:first-child {
|
||||
>.col-xl-8 {
|
||||
width: 100% !important
|
||||
> .col-xl-8 {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5810,8 +5846,11 @@ body:not(#index) {
|
||||
|
||||
body#index {
|
||||
.box-ekomi-widget {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
max-height: 200px;
|
||||
overflow: hidden;
|
||||
|
||||
.title_block {
|
||||
width: 100%;
|
||||
@@ -5826,3 +5865,42 @@ body#index {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.preloader {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
background: #fff;
|
||||
z-index: 9999;
|
||||
|
||||
.spinner {
|
||||
// border: 4px solid #f3f3f3;
|
||||
// border-top: 4px solid #34d6ad;
|
||||
// border-radius: 50%;
|
||||
// width: 40px;
|
||||
// height: 40px;
|
||||
// animation: spin 1s linear infinite;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
.preloader-text {
|
||||
color: #000;
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
}
|
||||
|
||||
// @keyframes spin {
|
||||
// 0% {
|
||||
// transform: rotate(0deg);
|
||||
// }
|
||||
// 100% {
|
||||
// transform: rotate(360deg);
|
||||
// }
|
||||
// }
|
||||
|
||||
@@ -1100,100 +1100,49 @@ prestashop.on('updateCart', function (event) {
|
||||
// })
|
||||
// })
|
||||
|
||||
// document.addEventListener('DOMContentLoaded', function () {
|
||||
// // Działa na /zamówienie lub /order
|
||||
// var onOrder = document.body && (document.body.id === 'checkout' || /\/zam/i.test(location.pathname) || /\/order/i.test(location.pathname));
|
||||
// if (!onOrder) return;
|
||||
$(document).ready(function () {
|
||||
var $widget = $('.box-ekomi-widget')
|
||||
|
||||
// var STORAGE_KEY = 'redirectToDeliveryOnce';
|
||||
$widget.css('position', 'relative').prepend(`
|
||||
<div class="preloader">
|
||||
<div class="spinner owl-carousel owl-loading"></div>
|
||||
<div class="preloader-text">Ładowanie recenzji, prosimy o chwilę cierpliwości…</div>
|
||||
</div>
|
||||
`)
|
||||
|
||||
// function cleanOrderUrl() {
|
||||
// return location.origin + location.pathname; // bez query i bez hash
|
||||
// }
|
||||
function watchSlickTrack() {
|
||||
var $slickTrack = $widget.find('.slick-track')
|
||||
|
||||
// function openDeliveryStepInPlace() {
|
||||
// var step = document.querySelector('#checkout-delivery-step');
|
||||
// if (!step) return false;
|
||||
if ($slickTrack.length) {
|
||||
var observer = new MutationObserver(function (mutationsList) {
|
||||
mutationsList.forEach(function (mutation) {
|
||||
if (
|
||||
mutation.type === 'attributes' &&
|
||||
mutation.attributeName === 'style'
|
||||
) {
|
||||
var transform = $slickTrack.css('transform')
|
||||
if (transform && transform !== 'none') {
|
||||
setTimeout(function () {
|
||||
$widget.find('.preloader').fadeOut(500)
|
||||
observer.disconnect()
|
||||
}, 500)
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
// // zamknij inne kroki
|
||||
// document.querySelectorAll('.checkout-step').forEach(function(s){
|
||||
// s.classList.remove('-current');
|
||||
// s.setAttribute('aria-expanded','false');
|
||||
// var col = s.querySelector('.collapse');
|
||||
// if (col) col.classList.remove('show');
|
||||
// });
|
||||
observer.observe($slickTrack[0], {
|
||||
attributes: true,
|
||||
attributeFilter: ['style'],
|
||||
})
|
||||
} else {
|
||||
setTimeout(watchSlickTrack, 200)
|
||||
}
|
||||
}
|
||||
|
||||
// // pokaż krok 3
|
||||
// step.classList.add('-current');
|
||||
// step.setAttribute('aria-expanded','true');
|
||||
// var col3 = step.querySelector('.collapse');
|
||||
// if (col3) col3.classList.add('show');
|
||||
watchSlickTrack()
|
||||
|
||||
// var headerBtn = document.querySelector('[data-target="#checkout-delivery-step"], [href="#checkout-delivery-step"]');
|
||||
// if (headerBtn) headerBtn.setAttribute('aria-expanded','true');
|
||||
|
||||
// try { step.scrollIntoView({behavior:'smooth', block:'start'}); } catch(e){}
|
||||
// return true;
|
||||
// }
|
||||
|
||||
// // --- 1) Jeśli poprzednio dodaliśmy/wyczyściliśmy kupon, to po RELOAD otwórz krok 3 i wyczyść flagę
|
||||
// if (sessionStorage.getItem(STORAGE_KEY) === '1') {
|
||||
// sessionStorage.removeItem(STORAGE_KEY);
|
||||
// // ustaw hash tylko informacyjnie; nie będzie on użyty do „pchania” użytkownika
|
||||
// if (location.hash !== '#checkout-delivery-step') {
|
||||
// history.replaceState(null, '', cleanOrderUrl() + '#checkout-delivery-step');
|
||||
// }
|
||||
// // DOM w checkout często doskakuje dynamicznie — podejdźmy z kilkoma próbami
|
||||
// var tries = 0;
|
||||
// var iv = setInterval(function () {
|
||||
// if (openDeliveryStepInPlace() || ++tries > 30) clearInterval(iv);
|
||||
// }, 100);
|
||||
// }
|
||||
|
||||
// // --- 2) Jednorazowe oznaczenie intencji i RELOAD po akcji kuponu
|
||||
// function markAndReload() {
|
||||
// // Jeśli już zaznaczone, nie rób nic (eliminuje podwójny reload)
|
||||
// if (sessionStorage.getItem(STORAGE_KEY) === '1') return;
|
||||
// sessionStorage.setItem(STORAGE_KEY, '1');
|
||||
// // twardy reload na czysty URL (bez ?updatedTransaction i bez hash)
|
||||
// window.location.href = cleanOrderUrl();
|
||||
// }
|
||||
|
||||
// // 2a) Eventy PS (różne motywy wysyłają różne nazwy)
|
||||
// function onPsCartEvent(evt) {
|
||||
// var la = evt && evt.reason && evt.reason.linkAction ? String(evt.reason.linkAction) : '';
|
||||
// if (la === 'add-voucher' || la === 'remove-voucher') {
|
||||
// markAndReload();
|
||||
// }
|
||||
// }
|
||||
// if (window.prestashop && typeof prestashop.on === 'function') {
|
||||
// prestashop.on('updateCart', onPsCartEvent);
|
||||
// prestashop.on('updatedCart', onPsCartEvent);
|
||||
// }
|
||||
|
||||
// // 2b) Fallback: klik w przycisk dodawania/ usuwania kuponu (różne motywy)
|
||||
// document.addEventListener('click', function (e) {
|
||||
// var addBtn = e.target && e.target.closest('[data-link-action="add-voucher"], button[name="actionAddVoucher"], .js-add-voucher, #promo-code button, .cart-rule-add button');
|
||||
// var removeBtn = e.target && e.target.closest('[data-link-action="remove-voucher"], .js-remove-voucher, .cart-rule-remove button');
|
||||
// if (addBtn || removeBtn) {
|
||||
// // odrocz minimalnie, by nie zrywać natychmiast ajaxa/submitu (niektóre motywy i tak zrobią swój reload)
|
||||
// setTimeout(markAndReload, 50);
|
||||
// }
|
||||
// }, true);
|
||||
|
||||
// // 2c) Fallback: submit formularza kuponu (Enter w input)
|
||||
// document.addEventListener('submit', function (e) {
|
||||
// var form = e.target;
|
||||
// if (!form) return;
|
||||
// var isVoucherForm =
|
||||
// (form.action && (form.action.indexOf('/cart') !== -1 || form.action.indexOf('/order') !== -1)) &&
|
||||
// (form.querySelector('input[name="discount_name"], input[name="voucher_name"]') ||
|
||||
// form.querySelector('[data-link-action="add-voucher"]'));
|
||||
// if (isVoucherForm) {
|
||||
// setTimeout(markAndReload, 50);
|
||||
// }
|
||||
// }, true);
|
||||
|
||||
// // --- 3) ZERO wymuszania cofania przy normalnym przejściu do kroku 4.
|
||||
// // Celowo NIE ma tu hashchange ani ciągłego „pilnowania” kroku — po otwarciu kroku 3 flaga jest kasowana.
|
||||
// });
|
||||
setTimeout(function () {
|
||||
$widget.find('.preloader').fadeOut(500)
|
||||
}, 10000)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user