/**
 * @class Ext.field.Checkbox
 */

.x-field-checkbox .x-field-mask,
.x-field-radio .x-field-mask {
    @include absolute-position;

    &::after {
        content: '';
        width: 28px;
        height: 28px;
        position: absolute;
        top: 9px;
        right: 5px;
        @include border-radius(2px);
        background-color: $highlight-color;
        font-family: 'Pictos';
        font-size: 1.3em;
        text-align: center;
        line-height: 1.25em;
        color: #fff;
    }
}

.x-input-checkbox,
.x-input-radio {
    visibility: hidden;
}

.x-input-checkbox:checked ~ .x-field-mask:after {
    background-color: $base-color;
    content: '3';
}

.x-item-disabled.x-field-checkbox {
    .x-input-checkbox:checked ~ .x-field-mask:after {
        @include background(linear-gradient(color-stops(#bfd7e3, #85b3c9)));
        @include box-shadow(inset 0 1px 0 0 #aac5d3);
    }
}
