shx-3d-render
parent
0efe02b049
commit
57b2ec49e6
|
@ -46,7 +46,7 @@
|
|||
background-color: #514642;
|
||||
}
|
||||
|
||||
.shx-ifc-colorselect {
|
||||
.shx-ifc-colorselect, .shx-ifc-watchselect {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
@ -62,7 +62,18 @@
|
|||
position: relative;
|
||||
}
|
||||
|
||||
.shx-ifc-colorselect label::after {
|
||||
.shx-ifc-watchselect label {
|
||||
cursor: pointer;
|
||||
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
margin: 8px;
|
||||
border-radius: 50%;
|
||||
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.shx-ifc-colorselect label::after, .shx-ifc-watchselect label::after {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
|
@ -81,7 +92,7 @@
|
|||
border: 1px solid #111;
|
||||
}
|
||||
|
||||
.shx-ifc-colorselect input[type="radio"] {
|
||||
.shx-ifc-colorselect input[type="radio"], .shx-ifc-watchselect input[type="radio"]{
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
position: absolute;
|
||||
|
@ -124,7 +135,7 @@
|
|||
transform: scale(1.8);
|
||||
transform-origin: center; /* Ensure scaling is centered */
|
||||
opacity: 0.35;
|
||||
}
|
||||
}
|
||||
|
||||
.invisibleInput {
|
||||
position: absolute;
|
||||
|
@ -415,7 +426,7 @@
|
|||
|
||||
let html = `
|
||||
<label class="form__label custom shx-ifc-form_label" for="${inputID}-label">${labelText}: <span class="shx-ifc-form_label_selected shx-ifc-form_label_selected_${inputID}">${options[inputVal].name}</span></label>
|
||||
<div id="${inputID}" class="shx-ifc-colorselect">
|
||||
<div id="${inputID}" class="shx-ifc-watchselect">
|
||||
`;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue