This commit is contained in:
2025-10-16 23:23:56 +02:00
26 changed files with 4186 additions and 4258 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -33,7 +33,7 @@ body {
color: #010101; color: #010101;
} }
.leo-megamenu .navbar-nav > li > a { .leo-megamenu .navbar-nav>li>a {
padding: 0; padding: 0;
font-size: 15px; font-size: 15px;
font-weight: 400; font-weight: 400;
@@ -155,10 +155,7 @@ body {
border-radius: 0; border-radius: 0;
} }
#leo_search_block_top #leo_search_block_top .block_content .leoproductsearch-result input[type='text'] {
.block_content
.leoproductsearch-result
input[type='text'] {
padding: 0 5px; padding: 0 5px;
text-align: left; text-align: left;
height: 30px; height: 30px;
@@ -167,28 +164,19 @@ body {
color: #010101; color: #010101;
} }
#leo_search_block_top #leo_search_block_top .block_content .leoproductsearch-result input[type='text']::-webkit-input-placeholder {
.block_content
.leoproductsearch-result
input[type='text']::-webkit-input-placeholder {
color: #010101; color: #010101;
font-size: 14px; font-size: 14px;
line-height: 21px; line-height: 21px;
} }
#leo_search_block_top #leo_search_block_top .block_content .leoproductsearch-result input[type='text']:-ms-input-placeholder {
.block_content
.leoproductsearch-result
input[type='text']:-ms-input-placeholder {
color: #010101; color: #010101;
font-size: 14px; font-size: 14px;
line-height: 21px; line-height: 21px;
} }
#leo_search_block_top #leo_search_block_top .block_content .leoproductsearch-result input[type='text']::placeholder {
.block_content
.leoproductsearch-result
input[type='text']::placeholder {
color: #010101; color: #010101;
font-size: 14px; font-size: 14px;
line-height: 21px; line-height: 21px;
@@ -268,7 +256,7 @@ body {
margin-bottom: 0px; margin-bottom: 0px;
} }
.nav.megamenu.horizontal > li > a { .nav.megamenu.horizontal>li>a {
padding-bottom: 24px; padding-bottom: 24px;
} }
@@ -325,9 +313,9 @@ body {
color: #fff !important; color: #fff !important;
} }
.leo-megamenu .navbar-nav > li.active > a, .leo-megamenu .navbar-nav>li.active>a,
.leo-megamenu .navbar-nav > li:hover > a, .leo-megamenu .navbar-nav>li:hover>a,
.leo-megamenu .navbar-nav > li:focus > a { .leo-megamenu .navbar-nav>li:focus>a {
color: #34d6ad; color: #34d6ad;
} }
@@ -380,8 +368,7 @@ body {
margin-right: 25px; margin-right: 25px;
} }
.my_content_container { .my_content_container {}
}
.my_box_container p { .my_box_container p {
color: #010101; color: #010101;
@@ -576,16 +563,16 @@ body {
justify-content: center; justify-content: center;
} }
.navbar-nav > li > a:hover { .navbar-nav>li>a:hover {
font-weight: 700; font-weight: 700;
} }
.box-ptabs .nav-tabs .nav-item a:hover, .box-ptabs .nav-tabs .nav-item a:hover,
.box-cate .widget-category_image a:hover, .box-cate .widget-category_image a:hover,
.thumbnail-container .product-title a:hover, .thumbnail-container .product-title a:hover,
.leo-megamenu .navbar-nav > li > a:hover, .leo-megamenu .navbar-nav>li>a:hover,
.leo-megamenu .navbar-nav > li > a:focus, .leo-megamenu .navbar-nav>li>a:focus,
.leo-megamenu .navbar-nav > li > a:active { .leo-megamenu .navbar-nav>li>a:active {
color: #34d6ad !important; color: #34d6ad !important;
} }
@@ -854,7 +841,7 @@ article.product-miniature:hover {
padding: 20px; padding: 20px;
} }
.latest-blogs .blog-meta > span { .latest-blogs .blog-meta>span {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
margin: 0; margin: 0;
@@ -956,7 +943,7 @@ article.product-miniature:hover {
margin: 0; margin: 0;
} }
.row.footer_inside_row > div { .row.footer_inside_row>div {
padding: 0; padding: 0;
} }
@@ -1037,7 +1024,7 @@ article.product-miniature:hover {
transform: scale(0.9); transform: scale(0.9);
} }
.my_footer_content > a { .my_footer_content>a {
display: block; display: block;
margin-bottom: 3px; margin-bottom: 3px;
line-height: 20px; line-height: 20px;
@@ -1101,8 +1088,7 @@ article.product-miniature:hover {
padding-right: 158px; padding-right: 158px;
} }
#cta_row .content_cta { #cta_row .content_cta {}
}
#cta_row h3 { #cta_row h3 {
color: #ffffff; color: #ffffff;
@@ -1114,6 +1100,7 @@ article.product-miniature:hover {
} }
@-webkit-keyframes bounceIn { @-webkit-keyframes bounceIn {
from, from,
20%, 20%,
40%, 40%,
@@ -1159,6 +1146,7 @@ article.product-miniature:hover {
} }
@keyframes bounceIn { @keyframes bounceIn {
from, from,
20%, 20%,
40%, 40%,
@@ -1230,8 +1218,7 @@ article.product-miniature:hover {
align-items: center; align-items: center;
} }
#cta_row .links_cta a { #cta_row .links_cta a {}
}
#cta_row .links_cta p { #cta_row .links_cta p {
animation: none; animation: none;
@@ -1381,34 +1368,34 @@ article.product-miniature:hover {
display: none; display: none;
} }
.products-selection .display > div a { .products-selection .display>div a {
height: 33px; height: 33px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.products-selection .display > div a[title='Grid'] { .products-selection .display>div a[title='Grid'] {
width: 36px; width: 36px;
} }
.products-selection .display > div a[title='List'] { .products-selection .display>div a[title='List'] {
width: 43px; width: 43px;
} }
.products-selection .display > div { .products-selection .display>div {
margin-right: 13px; margin-right: 13px;
} }
.products-selection .display > div#list { .products-selection .display>div#list {
margin-right: 0; margin-right: 0;
} }
.products-selection .display > div a img { .products-selection .display>div a img {
transition: filter 0.2s ease-in; transition: filter 0.2s ease-in;
} }
.products-selection .display > div a:hover img { .products-selection .display>div a:hover img {
filter: grayscale(1); filter: grayscale(1);
} }
@@ -1643,7 +1630,7 @@ button[aria-expanded='true'] .chevron_sort_container img {
transition: opacity 0.2s ease-in; transition: opacity 0.2s ease-in;
} }
.PM_ASForm input:checked + label::before { .PM_ASForm input:checked+label::before {
opacity: 1; opacity: 1;
} }
@@ -1808,16 +1795,12 @@ html[lang='pl'] .ApColumn .block.day_hit::after {
padding-right: 0; padding-right: 0;
} }
.product-detail.product-thumbs-bottom .product-detail.product-thumbs-bottom .product-thumb-images .slick-arrow.slick-prev {
.product-thumb-images
.slick-arrow.slick-prev {
left: 0; left: 0;
border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px;
} }
.product-detail.product-thumbs-bottom .product-detail.product-thumbs-bottom .product-thumb-images .slick-arrow.slick-next {
.product-thumb-images
.slick-arrow.slick-next {
right: 0; right: 0;
border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0;
} }
@@ -1828,8 +1811,8 @@ html[lang='pl'] .ApColumn .block.day_hit::after {
} }
} }
.slick-list:hover + .slick-arrows .slick-next, .slick-list:hover+.slick-arrows .slick-next,
.slick-list:hover + .slick-arrows .slick-prev, .slick-list:hover+.slick-arrows .slick-prev,
.slick-arrows .slick-next.slick-disabled:hover, .slick-arrows .slick-next.slick-disabled:hover,
.slick-arrows .slick-prev.slick-disabled:hover { .slick-arrows .slick-prev.slick-disabled:hover {
background-color: rgba(52, 214, 173, 0.5); background-color: rgba(52, 214, 173, 0.5);
@@ -1848,16 +1831,16 @@ html[lang='pl'] .ApColumn .block.day_hit::after {
margin-bottom: 44px; margin-bottom: 44px;
} }
.product-detail > .row { .product-detail>.row {
margin: 0; margin: 0;
} }
.product-detail > .row > div[class^='col-'] { .product-detail>.row>div[class^='col-'] {
padding-left: 15px; padding-left: 15px;
padding-right: 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); width: calc(50% + 58px);
} }
@@ -2028,14 +2011,14 @@ div.star.star_hover:before {
margin-left: 0; margin-left: 0;
} }
.product-variants > .product-variants-item { .product-variants>.product-variants-item {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
margin: 0 0 8px; margin: 0 0 8px;
} }
.product-variants > .product-variants-item select { .product-variants>.product-variants-item select {
min-height: 34px; min-height: 34px;
max-width: 419px; max-width: 419px;
} }
@@ -2044,7 +2027,7 @@ select.form-control:not([size]):not([multiple]) {
height: calc(2.5rem - 6px); 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; padding-left: 15px;
width: calc(50% - 58px); width: calc(50% - 58px);
} }
@@ -2058,7 +2041,7 @@ select.form-control:not([size]):not([multiple]) {
} }
.product-quantity #quantity_wanted, .product-quantity #quantity_wanted,
.product-variants > .product-variants-item select { .product-variants>.product-variants-item select {
background-color: #f0f0f0; background-color: #f0f0f0;
// width: 419px; // width: 419px;
width: 100%; width: 100%;
@@ -2177,7 +2160,7 @@ select.form-control:not([size]):not([multiple]) {
} }
} }
.raty_boxes_container > div { .raty_boxes_container>div {
border-radius: 4px; border-radius: 4px;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -2197,7 +2180,7 @@ select.form-control:not([size]):not([multiple]) {
} }
} }
.raty_boxes_container > div.santander { .raty_boxes_container>div.santander {
border: none; border: none;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -2216,7 +2199,7 @@ select.form-control:not([size]):not([multiple]) {
margin: 0; margin: 0;
} }
.botton_product_container > div { .botton_product_container>div {
display: flex; display: flex;
} }
@@ -2283,13 +2266,13 @@ a:hover,
margin: 0 0 40px; margin: 0 0 40px;
} }
.product-features > dl.data-sheet { .product-features>dl.data-sheet {
margin-bottom: 0; margin-bottom: 0;
// border-bottom: 1px solid #33d5ad; // border-bottom: 1px solid #33d5ad;
} }
.product-features > dl.data-sheet dd.value, .product-features>dl.data-sheet dd.value,
.product-features > dl.data-sheet dt.name { .product-features>dl.data-sheet dt.name {
padding: 0; padding: 0;
margin: 0; margin: 0;
font-size: 12px; font-size: 12px;
@@ -2304,12 +2287,12 @@ a:hover,
align-items: center; align-items: center;
} }
.product-features > dl.data-sheet dd.value, .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:nth-of-type(even) {
background-color: #f5fafe; 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; background-color: #fff;
} }
@@ -2319,7 +2302,6 @@ a:hover,
} }
#description h2 { #description h2 {
color: #010101;
font-size: 20px; font-size: 20px;
line-height: 30px; line-height: 30px;
margin-bottom: 13px; margin-bottom: 13px;
@@ -2387,7 +2369,7 @@ a:hover,
background-color: #34d6ad; background-color: #34d6ad;
} }
.custom-radio input[type='radio']:checked + span { .custom-radio input[type='radio']:checked+span {
background-color: #34d6ad; background-color: #34d6ad;
} }
@@ -2434,7 +2416,7 @@ body#checkout [data-action='show-password'],
body#checkout [data-action='show-password']:hover, body#checkout [data-action='show-password']:hover,
.btn-primary:active, .btn-primary:active,
.btn-primary.active, .btn-primary.active,
.open > .btn-primary.dropdown-toggle, .open>.btn-primary.dropdown-toggle,
.btn-primary:focus, .btn-primary:focus,
.btn-primary.focus, .btn-primary.focus,
#authentication [data-action='show-password']:hover { #authentication [data-action='show-password']:hover {
@@ -2553,8 +2535,7 @@ body#checkout #order-summary-content .order-confirmation-table {
min-height: 470px; min-height: 470px;
} }
#cms .content-wrapper h2 { #cms .content-wrapper h2 {}
}
#cms #content-wrapper p, #cms #content-wrapper p,
#cms #content-wrapper li { #cms #content-wrapper li {
@@ -2651,7 +2632,7 @@ body#checkout #order-summary-content .order-confirmation-table {
margin-bottom: 0; margin-bottom: 0;
} }
.mini-navbar .nav.megamenu.horizontal > li > a { .mini-navbar .nav.megamenu.horizontal>li>a {
padding-bottom: 10px; padding-bottom: 10px;
} }
@@ -2849,7 +2830,7 @@ body#checkout #order-summary-content .order-confirmation-table {
} }
#blog-category .panel.panel-default, #blog-category .panel.panel-default,
.latest-blogs .blog-meta > span.icon-calendar, .latest-blogs .blog-meta>span.icon-calendar,
#module-leoblog-blog .social-share, #module-leoblog-blog .social-share,
.blog-description h1, .blog-description h1,
#module-leoblog-category .panel.panel-defaul, #module-leoblog-category .panel.panel-defaul,
@@ -2888,9 +2869,9 @@ body#checkout #order-summary-content .order-confirmation-table {
.btn-primary.active:hover, .btn-primary.active:hover,
.btn-primary.active:focus, .btn-primary.active:focus,
.btn-primary.active.focus, .btn-primary.active.focus,
.open > .btn-primary.dropdown-toggle:hover, .open>.btn-primary.dropdown-toggle:hover,
.open > .btn-primary.dropdown-toggle:focus, .open>.btn-primary.dropdown-toggle:focus,
.open > .btn-primary.dropdown-toggle.focus { .open>.btn-primary.dropdown-toggle.focus {
background-color: #24b28c; background-color: #24b28c;
} }
@@ -3180,7 +3161,7 @@ body#checkout .condition-label label a {
padding-left: 30px; padding-left: 30px;
} }
#checkout .modal-content ol + p { #checkout .modal-content ol+p {
margin-top: 20px; margin-top: 20px;
} }
@@ -3365,21 +3346,11 @@ body#checkout .modal-content li {
font-weight: 500; font-weight: 500;
} }
#cms #cms #content-wrapper .sinlge_row_salon .contett_wrapper .bottom_wrapper p:last-child {
#content-wrapper
.sinlge_row_salon
.contett_wrapper
.bottom_wrapper
p:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
#cms #cms #content-wrapper .sinlge_row_salon .contett_wrapper .bottom_wrapper p.label {
#content-wrapper
.sinlge_row_salon
.contett_wrapper
.bottom_wrapper
p.label {
color: #b8b3ae; color: #b8b3ae;
text-align: left; text-align: left;
font-weight: 400; font-weight: 400;
@@ -3462,11 +3433,11 @@ body#checkout .modal-content li {
} }
.product-quantity #quantity_wanted, .product-quantity #quantity_wanted,
.product-variants > .product-variants-item select { .product-variants>.product-variants-item select {
width: 272px; width: 272px;
} }
.leo-megamenu .navbar-nav > li > a { .leo-megamenu .navbar-nav>li>a {
font-size: 12px; font-size: 12px;
line-height: 20px; line-height: 20px;
} }
@@ -3647,7 +3618,7 @@ body#checkout .modal-content li {
margin-top: 12px; margin-top: 12px;
} }
.product-variants > .product-variants-item, .product-variants>.product-variants-item,
.product-add-to-cart .product-quantity .qty { .product-add-to-cart .product-quantity .qty {
justify-content: flex-start; justify-content: flex-start;
} }
@@ -3774,8 +3745,8 @@ body#checkout .modal-content li {
margin-bottom: 40px; margin-bottom: 40px;
} }
.product-detail > .row > div.col-form_id-form_9367402777406408, .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_15874367062488778 {
width: 100%; width: 100%;
margin-bottom: 20px; margin-bottom: 20px;
} }
@@ -3811,7 +3782,7 @@ body#checkout .modal-content li {
display: initial; display: initial;
} }
.raty_boxes_container > div img { .raty_boxes_container>div img {
width: 100%; width: 100%;
} }
@@ -3929,10 +3900,7 @@ body#checkout .modal-content li {
} }
#category .thumbnail-container .product-meta a, #category .thumbnail-container .product-meta a,
#module-pm_advancedsearch4-searchresults #module-pm_advancedsearch4-searchresults .thumbnail-container .product-meta a {
.thumbnail-container
.product-meta
a {
font-size: 14px; font-size: 14px;
line-height: 26px; line-height: 26px;
} }
@@ -4008,10 +3976,7 @@ body#checkout .modal-content li {
right: 0; right: 0;
} }
#leo_search_block_top #leo_search_block_top .block_content .leoproductsearch-result input[type='text'] {
.block_content
.leoproductsearch-result
input[type='text'] {
text-align: left; text-align: left;
height: 50px; height: 50px;
} }
@@ -4357,7 +4322,7 @@ body#checkout .modal-content li {
} }
.product-quantity #quantity_wanted, .product-quantity #quantity_wanted,
.product-variants > .product-variants-item select { .product-variants>.product-variants-item select {
max-width: 190px; max-width: 190px;
} }
} }
@@ -4477,7 +4442,7 @@ body#checkout .modal-content li {
} }
#smartsupp-widget-container { #smartsupp-widget-container {
> div { >div {
z-index: 9999 !important; z-index: 9999 !important;
} }
} }
@@ -4712,10 +4677,10 @@ body#cms.cms-id-23 {
} }
.popup-body-top { .popup-body-top {
> p { >p {
color: #34d6ad; color: #34d6ad;
> a { >a {
color: #34d6ad; color: #34d6ad;
text-decoration: underline; text-decoration: underline;
} }
@@ -4932,8 +4897,7 @@ body#cms.cms-id-23 {
transform: translateY(-50%); transform: translateY(-50%);
width: 20px; width: 20px;
height: 20px; height: 20px;
background: url('/img/cms/franczyza/el_check.svg') no-repeat background: url('/img/cms/franczyza/el_check.svg') no-repeat center center;
center center;
background-size: cover; background-size: cover;
} }
} }
@@ -5207,8 +5171,7 @@ body#cms.cms-id-23 {
} }
} }
.box-3 { .box-3 {}
}
.box-4 { .box-4 {
margin-top: 75px; margin-top: 75px;
@@ -5227,7 +5190,7 @@ body#cms.cms-id-23 {
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1), box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1),
0px 0px 2px 0px rgba(0, 0, 0, 0.2); 0px 0px 2px 0px rgba(0, 0, 0, 0.2);
> li { >li {
&:not(:last-child) { &:not(:last-child) {
border-bottom: 1px solid rgba(0, 0, 0, 0.12); border-bottom: 1px solid rgba(0, 0, 0, 0.12);
} }
@@ -5541,18 +5504,16 @@ body#cms.cms-id-23 {
} }
} }
.owl-prev { .owl-prev {}
}
.owl-next { .owl-next {}
}
} }
} }
} }
} }
body { body {
> div[class^='htmlboxpro'] { >div[class^='htmlboxpro'] {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
padding-left: 15px; padding-left: 15px;
@@ -5634,11 +5595,11 @@ body {
padding: 25px 0; padding: 25px 0;
} }
.tabs-content > div { .tabs-content>div {
display: none; display: none;
} }
.tabs-content > div.active { .tabs-content>div.active {
display: block; display: block;
} }
} }
@@ -5682,7 +5643,8 @@ body {
.leo-top-menu { .leo-top-menu {
ul.navbar-nav.megamenu { ul.navbar-nav.megamenu {
> li.nav-item { >li.nav-item {
// &.dropdown { // &.dropdown {
&:nth-last-child(2) { &:nth-last-child(2) {
.dropdown-menu.level1 { .dropdown-menu.level1 {
@@ -5704,6 +5666,7 @@ body {
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.register-inputs-form, .register-inputs-form,
.js-address-form { .js-address-form {
.form-group.row { .form-group.row {
@@ -5720,7 +5683,7 @@ body {
} }
} }
.card > .checkout { .card>.checkout {
.btn.btn-primary { .btn.btn-primary {
text-wrap: auto; text-wrap: auto;
} }
@@ -5776,7 +5739,7 @@ body {
display: none; display: none;
} }
> .nav-item { >.nav-item {
flex-basis: calc(25% - (5px - (5px / 4))); flex-basis: calc(25% - (5px - (5px / 4)));
text-align: center; text-align: center;
margin-bottom: -1px; margin-bottom: -1px;
@@ -5791,7 +5754,7 @@ body {
@media (max-width: 1200px) { @media (max-width: 1200px) {
padding: 5px; padding: 5px;
> .nav-item { >.nav-item {
flex-basis: calc(50% - (5px / 2)); flex-basis: calc(50% - (5px / 2));
border-radius: 5px !important; border-radius: 5px !important;
@@ -5802,7 +5765,7 @@ body {
} }
@media (max-width: 767px) { @media (max-width: 767px) {
> .nav-item { >.nav-item {
flex-basis: 100%; flex-basis: 100%;
} }
} }
@@ -5832,10 +5795,10 @@ main#page {
body:not(#index) { body:not(#index) {
.footer-center { .footer-center {
> .container { >.container {
> .inner { >.inner {
.ApRow:first-child { .ApRow:first-child {
> .col-xl-8 { >.col-xl-8 {
width: 100% !important; width: 100% !important;
} }
} }
@@ -5886,7 +5849,7 @@ body:not(#index) {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
> div { >div {
width: 100%; width: 100%;
} }
} }
@@ -5910,6 +5873,7 @@ body:not(#index) {
.spinner { .spinner {
margin-bottom: 40px; margin-bottom: 40px;
} }
.preloader-text { .preloader-text {
color: #000; color: #000;
font-size: 17px; font-size: 17px;
@@ -5917,3 +5881,18 @@ body:not(#index) {
font-family: 'Poppins', sans-serif; font-family: 'Poppins', sans-serif;
} }
} }
body:not(#index) {
.footer-center {
>.container {
>.inner {
.ApRow:first-child {
>.col-xl-8 {
width: 100% !important
}
}
}
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 505 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

View File

@@ -1179,4 +1179,51 @@ $(document).ready(function () {
localStorage.removeItem('selectedSize') localStorage.removeItem('selectedSize')
} }
}) });
// WERSJA BEZ jQuery
(() => {
const isVisible = (el) => {
if (!el) return false;
const s = getComputedStyle(el);
if (s.display === 'none' || s.visibility === 'hidden' || s.opacity === '0') return false;
const r = el.getBoundingClientRect();
return !!(r.width || r.height || el.getClientRects().length);
};
const findRadios = () => {
const container = document.querySelector('#checkout-payment-step .payment-options, .payment-options');
if (!container) return [];
return [...container.querySelectorAll('input[name="payment-option"][type="radio"]')]
.filter(r => !r.disabled && isVisible(r.closest('.payment-option') || r));
};
const selectSingle = () => {
const radios = findRadios();
if (radios.length === 1 && !radios[0].checked) {
const r = radios[0];
const label = document.querySelector(`label[for="${r.id}"]`);
label ? label.click() : (r.checked = true, r.dispatchEvent(new Event('change', {bubbles:true})));
}
};
// start
selectSingle();
// obserwator zmian sekcji płatności
const target = document.querySelector('#checkout-payment-step') || document.body;
const observer = new MutationObserver((muts) => {
if (muts.some(m =>
(m.target?.closest?.('.payment-options')) ||
[...m.addedNodes].some(n => n.nodeType === 1 && (n.matches?.('.payment-options') || n.querySelector?.('.payment-options')))
)) {
clearTimeout(observer._t);
observer._t = setTimeout(selectSingle, 60);
}
});
observer.observe(target, { childList: true, subtree: true, attributes: true, attributeFilter: ['class','style'] });
// lekki fallback
let tries = 0;
const iv = setInterval(() => { selectSingle(); if (++tries > 20) clearInterval(iv); }, 500);
})();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 505 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB