@import "../../../base/fn";

.njui-cell_select {
    padding: 0;
    .njui-select {
        padding-right: 30px;
    }
    .njui-cell__bd {
        &:after {
            content: " ";
            .setArrow(right, 6px, #C8C8CD, 2px);

            position: absolute;
            top: 50%;
            right: @njuiCellGapH;
            margin-top: -4px;
        }
    }
}

.njui-select {
    -webkit-appearance: none;
    border: 0;
    outline: 0;
    background-color: transparent;
    width: 100%;
    font-size: inherit;
    height: @njuiCellHeight;
    line-height: @njuiCellHeight;
    position: relative;
    z-index: 1;
    padding-left: @njuiCellGapH;
}

.njui-cell_select-before {
    padding-right: @njuiCellGapH;
    .njui-select {
        width: @njuiCellLabelWidth;
        box-sizing: border-box;
    }
    .njui-cell__hd {
        position: relative;
        &:after {
            .setRightLine(@njuiCellBorderColor);
        }
        &:before {
            content: " ";
            .setArrow(right, 6px, #C8C8CD, 2px);

            position: absolute;
            top: 50%;
            right: @njuiCellGapH;
            margin-top: -4px;
        }
    }
    .njui-cell__bd {
        padding-left: @njuiCellGapH;
        &:after {
            display: none;
        }
    }
}

.njui-cell_select-after {
    padding-left: @njuiCellGapH;
    .njui-select {
        padding-left: 0;
    }
}
