/**
 * ESUI (Enterprise Simple UI)
 * Copyright 2013 Baidu Inc. All rights reserved.
 * 
 * @file 组合框样式
 * @author dbear
 */
@import "mixin.less";
@import "variable.less";
.@{ui-class-prefix}-checkbox,
.@{ui-class-prefix}-radio,
.@{ui-class-prefix}-boxgroup-checkbox,
.@{ui-class-prefix}-boxgroup-radio {
    vertical-align: middle;
    line-height: 1.8;

    input {
        margin-right: .2em;
        vertical-align: middle;;
        margin-bottom: -.01em;
    }

    span {
        vertical-align: middle;
    }
}

.@{ui-class-prefix}-boxgroup-horizontal label {
    .inline-block ();
    margin-right: .5em;
}

.@{ui-class-prefix}-boxgroup-vertical label {
    display: block;
}


/** 验证 */
.@{ui-class-prefix}-checkbox-validity-label {
    zoom:1;
    color: #CC0000;
    padding-left: 10px;
}

.@{ui-class-prefix}-checkbox-validity-label-notice {
    color: #FF0000;
}

.@{ui-class-prefix}-checkbox-validity-label-warn {
    color: red;
}

.@{ui-class-prefix}-checkbox-validity-label-invalid {
    color: #CC0000;
}

.@{ui-class-prefix}-boxgroup-validity-label-invalid {
    color: #CC0000;
}
