// 辅助类 
.ellipsis-1 {
    overflow: hidden;
    white-space: nowrap;
    word-break: break-all;
    text-overflow: ellipsis;
}

.clear-float:after {
    display: block;
    clear: both;
    content: "";
    visibility: hidden;
    height: 0
}
.vertical-center{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.title-h1 {
    font-size: $title-size;
}

.title-h2 {
    font-size: $info-size;
}
//大标题
.title-large{
    font-size: 22px;
    color: $title-color;
    font-weight: bold;
}


// 二态色
.title-hover {
    color: $title-color;
    &:hover {
        color: $primary-link;
    }
}

.text-primary {
    color: $primary-color;
    &:hover {
        color: $primary-link;
    }
}

.text-default {
    color: $title-color;
    &:hover {
        color: $title-color;
    }
}

.text-info {
    color: $info-color;
    &:hover {
        color: $info-color;
    }
}

.text-assist {
    color: $assist-color;
    &:hover {
        color: $assist-color;
    }
}

.text-secondary {
    color: $secondary-color;
    &:hover {
        color: $secondary-link;
    }
}

.bg-primary {
    background: $primary-color;
    &:hover {
        background: $primary-link;
    }
}

.bg-default {
    background: $title-color;
    &:hover {
        background: $title-color;
    }
}

.bg-info {
    background: $info-color;
    &:hover {
        background: $info-color;
    }
}

.bg-assist {
    background: $assist-color;
    &:hover {
        background: $assist-link;
    }
}

.bg-secondary {
    background: $secondary-color;
    &:hover {
        background: $secondary-link;
    }
}


.bg-disabled {
    background: $disable-color;
}

.com-pointer{
    cursor: pointer;
}
// 图片hover效果
.com-scale {
    img {
        cursor: pointer;
        transition: .5s;
    }
    &:hover {
        img {
            transform: scale(1.1);
        }
        .single-title {
            color: $primary-color;
        }
    }
}

.com-transition {
    transition: all ease .5s;
}

//所有模块的圆角
.com-radius {
    border-radius: 3px;
}

.com-shadow {
    transition: all ease .5s;
    img {
        cursor: pointer;
    }
    &:hover {
        box-shadow: $box-shadow;
        .single-title {
            color: $primary-color;
        }
    }
}

// 按钮的圆角
.but-radius {
    border-radius: 3px;
}

.deault-border {
    border: 1px solid $line-color;
}

.com-hr {
    margin: 0;
    border: 0;
    border-bottom: 1px solid $line-color;
}

// 单个盒子pad
.single-pd {
    padding: 15px;
}

.single-info-pd {
    padding: 10px;
}

.single-info-le {
    padding-left: 15px;
}

.single-title {
    font-size: 16px;
    color: $title-color;
    cursor: pointer;
}
.space-section{
    margin-top: 15px !important;
}
.space-word{
    padding-top: 12px;
}
.space-icon{
    padding-right: 5px;
}
