@import './function';

.rui-addoninput {
    display:inline-block;

    .rui-input:not(:first-child) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .rui-input:not(:last-child) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    &-add {
        background:$disable;
        display:inline-block;
        line-height:30px;
        border:1px solid $border;
        box-sizing: border-box;
        color:$text2;

        &-puretext {
            padding: 0 8px;
        }

        &>.rui-select {
            &.rui-theme-1,&.rui-theme-2,&.rui-theme-3 {
                height:30px;
                padding:6px 9px;
                box-sizing: border-box;
                border:0;
                vertical-align: inherit;
                background:inherit;
                &.active {
                    border:0;
                    box-shadow:none;
                }

                span.placeholder {
                    color:$text2;
                }
            }
        }
    }

    &-before {
        border-right:0;
        border-radius:6px 0 0 6px;
    }

    &-after {
        border-left:0;
        border-radius:0 6px 6px 0;
    }
}
