_site-activity.scss 2.83 KB
.site-activity-date {
    margin: 38px 0 0 0;
    width: 120px;
    line-height: 38px;
    font-size: 22px;
    color: #000;
    border-bottom: 4px solid #000;
    text-align: center;
}

.site-activity-content {
    float: left;
    width: 738px;
}

.site-activity-content .main-layout {
    width: auto;
    border-left: 2px solid #e0e0e0;
    margin-left: 96px;
    padding-bottom: 50px;
    .layout-section {
        width: auto;
        position: relative;
        padding-top: 84px;
        .site-activity-intro {
            position: absolute;
            top: 28px;
            left: 18px;
            background: #000;
            border-radius: 2px;
            padding: 0 15px;
            color: #fff;
            line-height: 28px;
            span {
                position: absolute;
                left: -6px;
                top: 0;
                width: 6px;
                height: 17px;
                background: url("../images/yohood/site-activity-intro-icon.png") no-repeat;
            }
        }
        .site-activity-time {
            position: absolute;
            color: #000;
            left: -98px;
            top: 35px;
        }
        .site-activity-icon {
            position: absolute;
            width: 10px;
            height: 10px;
            top: 40px;
            left: -6px;
            background: url("../images/yohood/site-activity-icon.png") no-repeat;
        }
    }
}

.site-activity-content .layout-item {
    float: none;
    width: 630px;
    margin: 0 0 0 18px;
    .image-box {
        float: left;
        width: 310px;
        height: 174px;
        overflow: hidden;
        a {
            display: table-cell;
            width: 310px;
            height: 174px;
            text-align: center;
            vertical-align: middle;
        }
    }
    .content {
        float: left;
        margin-left: 28px;
        width: 290px;
        a {
            cursor: default;
        }
    }
}

.site-activity-tab.fix {
    position: fixed;
    top: 0;
    left: 50%;
    width: 134px;
    margin: 10px 0 0 356px;
}

.site-activity-tab {
    float: right;
    margin-top: 79px;
    h4 {
        line-height: 42px;
        padding-top: 14px;
        border-top: 1px dashed #979797;
        font-size: 14px;
        text-align: center;
    }
    li {
        width: 130px;
        margin-bottom: 18px;
        line-height: 42px;
        background: #fff;
        text-align: center;
        font-size: 14px;
        border: 2px solid #7e7e7e;
        border-radius: 2px;
        a {
            display: block;
            color: #000;
        }
    }
    .current {
        border-radius: 0;
        background: #000;
        border-color: #000;
        a {
            color: #fff;
        }
    }
    .disable {
        border-color: #ccc;
        a {
            color: #ccc;
            cursor: default;
        }
    }
}