shx-3d-render
parent
559c4ef0dd
commit
b8c5895e90
|
@ -45,6 +45,20 @@
|
|||
|
||||
background-color: #514642;
|
||||
}
|
||||
|
||||
.shx-ifc-colorselect input[type="radio"] {
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
position: absolute;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.shx-ifc-colorselect label {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
@ -101,7 +115,7 @@
|
|||
let html = `
|
||||
<label class="form__label custom shx-ifc-form_label" for="${inputID}-label">${labelText}</label>
|
||||
<div class="field custom">
|
||||
<section id="${inputID}" form="product-form-${section_id}" name="properties[${inputName}]" class="field__input" style="height: 40px">
|
||||
<section id="${inputID}" form="product-form-${section_id}" name="properties[${inputName}]" class="field__input shx-ifc-colorselect" style="height: 40px">
|
||||
`;
|
||||
|
||||
for(let i = 0; i < options.length; i++) {
|
||||
|
|
Loading…
Reference in New Issue