/*
    块状选单active背景动画
*/
.block-bg{
    position:relative;
    
}
.block-bg::before {
    content: '';
    z-index: -1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events:none;
    background-image: linear-gradient(90deg, rgba(30, 30, 30, 0) 0%, rgba(110, 110, 110, 0.2) 50%, rgba(110, 110, 110, 0.4) 100%);
    transform-origin: center right;
    transform: scaleX(0);
}

.block-bg-active {
    z-index: 1;
}
.block-bg-active::before {
    transform-origin: center left;
    transform: scaleX(1);
    transition: transform 0.3s ease-in-out;
}

/*
    文字选单active line动画
*/
.line-bottom{
    position:relative;
    height:45px;
    line-height:45px !important;
    padding: 0px 15px;
}
.line-bottom::before {
    content: '';
    position: absolute;
    bottom: 0px;
    width: 0px;
    height: 2px;
    left:0px;
    background-color: #1CC0F3;
}

.line-bottom-active::before {
    transition: width 0.3s ease;
    width: 100%;
}
.line-bottom-active {
    color: white !important;
}