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:
32
.vscode/ftp-kr.sync.cache.json
vendored
32
.vscode/ftp-kr.sync.cache.json
vendored
@@ -1129,7 +1129,7 @@
|
||||
},
|
||||
".htaccess": {
|
||||
"type": "-",
|
||||
"size": 3669,
|
||||
"size": 3670,
|
||||
"lmtime": 0,
|
||||
"modified": true
|
||||
},
|
||||
@@ -1169,6 +1169,12 @@
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
".htaccess.2025-07-14-1752488965": {
|
||||
"type": "-",
|
||||
"size": 3669,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"image_log.json": {
|
||||
"type": "-",
|
||||
"size": 128703,
|
||||
@@ -1833,6 +1839,18 @@
|
||||
"modified": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"views": {
|
||||
"templates": {
|
||||
"hook": {
|
||||
"displayBlockProduct.tpl": {
|
||||
"type": "-",
|
||||
"size": 4313,
|
||||
"lmtime": 1753306733725,
|
||||
"modified": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"blockwishlist": {
|
||||
@@ -4524,20 +4542,20 @@
|
||||
},
|
||||
"custom.css": {
|
||||
"type": "-",
|
||||
"size": 81771,
|
||||
"lmtime": 1749162986138,
|
||||
"size": 81661,
|
||||
"lmtime": 1753305719295,
|
||||
"modified": false
|
||||
},
|
||||
"custom.css.map": {
|
||||
"type": "-",
|
||||
"size": 22919,
|
||||
"lmtime": 1749162986139,
|
||||
"size": 200186,
|
||||
"lmtime": 1753305719295,
|
||||
"modified": false
|
||||
},
|
||||
"custom.scss": {
|
||||
"type": "-",
|
||||
"size": 71347,
|
||||
"lmtime": 1749162986151,
|
||||
"size": 88351,
|
||||
"lmtime": 1753305718584,
|
||||
"modified": false
|
||||
},
|
||||
"dce0916af972e3040aa191f74b17dd46.woff2": {
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -708,6 +708,7 @@ body#product {
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
|
||||
&.active {
|
||||
.form-control-select-standard-handler {
|
||||
|
||||
@@ -38,10 +38,10 @@ jQuery(document).ready(function ($) {
|
||||
});
|
||||
|
||||
|
||||
$(document).on('click', '.form-control-select-standard-handler', function () {
|
||||
$(this).parent().toggleClass('active');
|
||||
$(this).parent().parent().parent().toggleClass('active');
|
||||
$(this).parent().siblings('.form-control-select-custom').slideToggle();
|
||||
$(document).on('click', '.control-label-nav', function () {
|
||||
$(this).toggleClass('active');
|
||||
$(this).parent().parent().toggleClass('active');
|
||||
$(this).siblings('.form-control-select-custom').slideToggle();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user