select with images
parent
2e588c063e
commit
4dd6f6ed8c
|
@ -3676,7 +3676,7 @@ img {
|
||||||
background-color: #ededed;
|
background-color: #ededed;
|
||||||
}
|
}
|
||||||
|
|
||||||
.shx-custom-enhanced-dropdown-dropbtn {
|
.shx-custom-enhanced-dropdown-button {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 4px 14px 4px 24px;
|
padding: 4px 14px 4px 24px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
@ -3686,7 +3686,7 @@ img {
|
||||||
color: rgb(var(--color-foreground));
|
color: rgb(var(--color-foreground));
|
||||||
}
|
}
|
||||||
|
|
||||||
.shx-custom-enhanced-dropdown-dropbtn:focus {
|
.shx-custom-enhanced-dropdown-button:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -119,7 +119,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<button class="shx-custom-enhanced-dropdown-dropbtn" id="shx-custom-enhanced-dropdown-variant-select-button">
|
<button class="shx-custom-enhanced-dropdown-button" id="shx-custom-enhanced-dropdown-variant-select-button">
|
||||||
<div style="display: flex; justify-content: space-between; align-items: center; pointer-events: none">
|
<div style="display: flex; justify-content: space-between; align-items: center; pointer-events: none">
|
||||||
<span id="shx-custom-enhanced-dropdown-variant-select-selected-value">{{ option.selected_value }}</span>
|
<span id="shx-custom-enhanced-dropdown-variant-select-selected-value">{{ option.selected_value }}</span>
|
||||||
|
|
||||||
|
|
|
@ -621,7 +621,7 @@
|
||||||
function SHX_IFC_genDropdownSelect(inputID, labelText, inputName, inputVal, options, section_id) {
|
function SHX_IFC_genDropdownSelect(inputID, labelText, inputName, inputVal, options, section_id) {
|
||||||
let html = `
|
let html = `
|
||||||
<label class="form__label custom shx-ifc-form_label" for="${inputID}-label">${labelText}</label>
|
<label class="form__label custom shx-ifc-form_label" for="${inputID}-label">${labelText}</label>
|
||||||
<div class="field custom">
|
<div class="field custom${isInputShxFont && ' shx-custom-enhanced-dropdown-hide-dummy-select'}">
|
||||||
<select id="${inputID}" form="product-form-${section_id}" name="properties[${inputName}]" class="field__input shx-custom-enhanced-dropdown-font-hide-dummy-select" style="height: 40px" onchange="document.querySelector('shx-input-forms').renderView(500)">
|
<select id="${inputID}" form="product-form-${section_id}" name="properties[${inputName}]" class="field__input shx-custom-enhanced-dropdown-font-hide-dummy-select" style="height: 40px" onchange="document.querySelector('shx-input-forms').renderView(500)">
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
@ -631,7 +631,7 @@
|
||||||
if (isInputShxFont) {
|
if (isInputShxFont) {
|
||||||
customDropdownHtml += `
|
customDropdownHtml += `
|
||||||
<div class="shx-custom-enhanced-dropdown field custom">
|
<div class="shx-custom-enhanced-dropdown field custom">
|
||||||
<button class="shx-custom-enhanced-dropdown-dropbtn" onclick="toggleCustomEnhancedDropdownFont()">
|
<button class="shx-custom-enhanced-dropdown-button" onclick="toggleCustomEnhancedDropdownFont()">
|
||||||
<div style="display: flex; justify-content: space-between; align-items: center; pointer-events: none">
|
<div style="display: flex; justify-content: space-between; align-items: center; pointer-events: none">
|
||||||
<span id="shx-custom-enhanced-dropdown-font-select-selected-value">lade...</span>
|
<span id="shx-custom-enhanced-dropdown-font-select-selected-value">lade...</span>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue