/*--============================---
 *  基础表单组件样式
 *  loke 2018-08-21 17:43:42
 *--==============================*/
.sui-form {
    position: relative;
    .title {
        height: 32px;
        line-height: 32px;
        padding: 0 10px;
        color: #666;
    }
    &.form-vertical {
        .sui-form-item {
            height: 64px;
            flex-direction: column;
            margin-left: 0;
            .item-title {
                margin-top: 5px;
                line-height: 24px;
                font-weight: 600;
                width: 100%;
                padding-left: 10px;
            }
            [class*=sui-input]{
                height: 32px;
                >textarea {
                    min-height: 72px;
                    padding-top: 0;
                }
            }
            [class*=input-number]{
                >a {
                    height: 32px;
                    line-height: 32px;
                    &:first-child{
                        border: 0;
                    }
                    &:last-child{
                        border: 0;
                    }
                }
            }
            [class*=sui-picker]{
                [class*=right]{
                    text-align: left;
                    padding-left: 10px;
                }
            }
            [class*=sui-switch]{
                margin-left: 10px;
            }
            .item-ico {
                display: none;
            }
            .item-content {
                height: auto;
                line-height: 32px;
            }
        }
    }
}

.sui-form-item-group {
    position: relative;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-left: 0;
    border-right: 0;
    background: #fff;
}

.sui-form-item {
    display: flex;
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
    //align-items: center;
    margin-left: 10px;
    .item-title {
        display: inline-block;
        min-width: 60px;
        white-space:nowrap;
        color: #333;
    }
    .item-content {
        width: 100%;
        [class*=input-number]{
            >a {
                height: 40px;
                line-height: 40px;
            }
        }
        [class*=radio-list]{
            border: 0;
        }
        [class*=list-item]{
            border-bottom: 1px dashed #e8e8e8;
        }
    }
    .item-ico {
        width: 40px;
        text-align: center;
        color: #999;
    }
    button, input, textarea {
        border: 0;
        background: 0;
    }
    & + .sui-form-item{
        border-top: 1px solid #e8e8e8;
    }
}
