.ColorSelector { &-container { @include respond-to($breakpoint-small, 'min') { max-width: 13em; } } &-item { position: relative; display: inline-block; height: 2.5em; width: 2.5em; border-radius: 50%; padding: 0; margin: .125em; overflow: hidden; cursor: pointer; &-mask { position: absolute; display: inline-flex; justify-content: center; align-items: center; top: 0; left: 0; bottom: 0; right: 0; border-radius: 50%; z-index: 2; background: currentColor; border: 2px solid var(--bgcolor-main-area, white); pointer-events: none; transition: border .1s ease-out; } &.selected &-mask { border:3px solid rgba(0, 0, 0, .1); } svg { opacity: 0; color: white; display: inline-block; transition: opacity .1s linear; } &:hover svg { opacity: .75; } &.selected svg { opacity: 1; } } &-input-color[type="radio"] { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; } }