@import './functions/checkbox.scss';
@import './variables/definition.scss';

.checkbox-image {
    >input[type="checkbox"] {
        display: none;

        &:checked {
            &~.checked {
                display: inline;
            }

            &~.unchecked {
                display: none;
            }
        }
    }

    >.checked {
        display: none;
    }

    >.unchecked {
        display: inline;
    }
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    padding: 0 8px;
    height: 36px;
    @include check-box();

    .check-box-inner {
        flex: 0 0 auto;
    }

    >span {
        flex: 1 1 auto;
        font-weight: 400;
        font-size: $mediumSize;
        padding-left: 8px;
        padding-right: 6px;
        align-self: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        cursor: pointer;
        color: #201f1e;
    }
}