Enhance product selection UI

- Added cursor pointer style to the product selection area for better user experience.
- Updated click event handler to toggle active state on the new '.control-label-nav' class, improving the interaction for selecting products.
This commit is contained in:
2025-07-27 20:30:00 +02:00
parent 5c39b234ae
commit c23f3229a4
5 changed files with 32 additions and 13 deletions

View File

@@ -1129,7 +1129,7 @@
}, },
".htaccess": { ".htaccess": {
"type": "-", "type": "-",
"size": 3669, "size": 3670,
"lmtime": 0, "lmtime": 0,
"modified": true "modified": true
}, },
@@ -1169,6 +1169,12 @@
"lmtime": 0, "lmtime": 0,
"modified": false "modified": false
}, },
".htaccess.2025-07-14-1752488965": {
"type": "-",
"size": 3669,
"lmtime": 0,
"modified": false
},
"image_log.json": { "image_log.json": {
"type": "-", "type": "-",
"size": 128703, "size": 128703,
@@ -1833,6 +1839,18 @@
"modified": false "modified": false
} }
} }
},
"views": {
"templates": {
"hook": {
"displayBlockProduct.tpl": {
"type": "-",
"size": 4313,
"lmtime": 1753306733725,
"modified": false
}
}
}
} }
}, },
"blockwishlist": { "blockwishlist": {
@@ -4524,20 +4542,20 @@
}, },
"custom.css": { "custom.css": {
"type": "-", "type": "-",
"size": 81771, "size": 81661,
"lmtime": 1749162986138, "lmtime": 1753305719295,
"modified": false "modified": false
}, },
"custom.css.map": { "custom.css.map": {
"type": "-", "type": "-",
"size": 22919, "size": 200186,
"lmtime": 1749162986139, "lmtime": 1753305719295,
"modified": false "modified": false
}, },
"custom.scss": { "custom.scss": {
"type": "-", "type": "-",
"size": 71347, "size": 88351,
"lmtime": 1749162986151, "lmtime": 1753305718584,
"modified": false "modified": false
}, },
"dce0916af972e3040aa191f74b17dd46.woff2": { "dce0916af972e3040aa191f74b17dd46.woff2": {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -708,6 +708,7 @@ body#product {
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
cursor: pointer;
&.active { &.active {
.form-control-select-standard-handler { .form-control-select-standard-handler {

View File

@@ -38,10 +38,10 @@ jQuery(document).ready(function ($) {
}); });
$(document).on('click', '.form-control-select-standard-handler', function () { $(document).on('click', '.control-label-nav', function () {
$(this).parent().toggleClass('active'); $(this).toggleClass('active');
$(this).parent().parent().parent().toggleClass('active'); $(this).parent().parent().toggleClass('active');
$(this).parent().siblings('.form-control-select-custom').slideToggle(); $(this).siblings('.form-control-select-custom').slideToggle();
}); });
}); });