index.scss 1.3 KB
.group-box {
    .title {
        font-family: PingFang-SC-Medium;
        font-size: 40px;
        color: #000;
        text-align: left;
        margin-top: 60px;
        line-height: 56px;
        margin-bottom: 20px;
    }

    .group {
        width: 710px;
        box-sizing: border-box;
        white-space: nowrap;
    }

    .group-item {
        display: inline-block;
        margin-right: 20px;
        height: auto;
        overflow: hidden;
    }

    .group-img {
        width: 140px;

        .img {
            width: 140px;
            height: 70px;
            filter: gray;
            filter: grayscale(100%);
        }

        .text {
            font-family: SFProText-Regular;
            font-size: 20px;
            color: #ccc;
            text-align: center;
        }

        &.actived {

            .img {
                filter: none;
            }

            .text {
                color: #000;
            }
        }
    }

    .group-text {
        height: 80px;
        line-height: 80px;
        background: #F5F5F5;
        font-family: SFProText-Regular;
        font-size: 28px;
        color: #000;
        text-align: center;
        padding: 0 45px;
        display: inline-block;

        &.actived {
            background: #08304B;
            color: #fff;
        }
    }
}