diff --git a/snippets/shx-3d-render-input.liquid b/snippets/shx-3d-render-input.liquid index c2a61f4..96076a5 100644 --- a/snippets/shx-3d-render-input.liquid +++ b/snippets/shx-3d-render-input.liquid @@ -46,6 +46,32 @@ background-color: #514642; } + .shx-ifc-colorselect { + display: flex; + flex-wrap: wrap; + + + } + + .shx-ifc-colorselect label { + cursor: pointer; + + width: 30px; + height: 30px; + margin: 5px; + border-radius: 2px; + } + + .shx-ifc-colorselect label::after { + content: ''; + display: block; + width: 100%; + height: 100%; + border-radius: 2px; + + border: 2px solid #f00; + } + .shx-ifc-colorselect input[type="radio"] { height: 1px; width: 1px; @@ -54,11 +80,6 @@ overflow: hidden; } - .shx-ifc-colorselect label { - cursor: pointer; - } - -