/*--============================---
 *  基础组件 -- 标签页tabs 样式
 *  loke 2018-08-15 16:26:34
 *--==============================*/
.sui-tabs {
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
    background: #fff;
    position: relative;
    border-bottom: 1px solid #e8e8e8;
    .items {
        position: absolute;
        left:0;
        right: 0;
        bottom: 0;
        right: 0;
        z-index:1;
        display: flex;
        align-items: center;
        > span {
            flex: 1;
            display: inline-block;
            text-align: center;
            color: #666;
            > i{
                vertical-align: -1px;
            }
            &.active {
                color: #fff;
            }
        }
    }
    .shade {
        position: absolute;
        left: 0;
        height: 100%;
        bottom: 0;
        background: #333333;
        transition:left .3s;
        -moz-transition:left .3s;
        -webkit-transition:left .3s;
        -o-transition:left .3s;
    }
    &.tabs-border {
        .items>span.active {
            color: #111;
        }
        .shade {
            bottom: -1px;
            height: 2px;
        }
    }
}
