@import "./functions/func.scss"; .ui-check-image-wrapper { >input[type="checkbox"] { display: none; &:checked { ~.checked { display: inline; } ~.unchecked { display: none; } } } >.checked { display: none; } >.unchecked { display: inline; } } .ui-check-wrapper { display: inline-flex; align-items: center; padding: 0 8px; height: 36px; @include ui-check(); .ui-check-inner { flex: 0 0 auto; +* { flex: 1 1 auto; font-weight: 400; font-size: var(--font-size); padding-left: 8px; padding-right: 6px; align-self: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; color: var(--color); } } }