_scene.scss 2.58 KB
.scene-bd {
    padding: 0;
}

.scene-tab {
    margin: (10rem / $remNum) 0 0 (14rem / $remNum);
    li {
        float: left;
        width: 96rem / $remNum;
        height: 34rem / $remNum;
        line-height: 34rem / $remNum;
        text-align: center;
        background: #fff;
        border: 1px solid #000;
        border-left: none;
        a {
            font-size: 12rem / $remNum;
            color: #000;
        }
    }
    li:first-child {
        border-left: 1px solid #000;
    }
    li.current {
        background: #000;
        a {
            color: #fff;
        }
    }
    li.disable.current {
        background: #ccc;
        color: #fff;
        border-color: #ccc;
        cursor: default;
        a {
            color: #fff;
        }
    }
    li:first-child.disable {
        border-left: 1px solid #ccc;
    }
    li.disable + li {
        border-left: 1px solid #000;
    }
    li.disable {
        background: #fff;
        border: 1px solid #ccc;
        cursor: default;
        a {
            color: #ccc;
        }
    }
}

.scene-content {
    position: relative;
    margin: 0 0 0 (14rem / $remNum);
    border-left: 2px solid #e0e0e0;
    .scene-intro {
        position:relative;
        display: inline-block;
        padding: 0 (16rem / $remNum);   
        line-height: 28rem / $remNum;
        max-width: 240rem / $remNum;
        background: #000;
        color: #fff;
        font-size: 12rem / $remNum;
    }
    .scene-intro:before {
        position: absolute;
        content: "";
        width: 6rem / $remNum;
        height: 17rem / $remNum;
        top: 0;
        left: -6rem / $remNum;
        background: url("../images/yohood/site-activity-intro-icon.png") no-repeat;
        background-size: 100% 100%;
    }
    .scene-time {
        margin: 10rem / $remNum 0 20rem / $remNum;
        color: #aeaeae;
    }
    .scene-icon {
        position: absolute;
        top: 29rem / $remNum;
        left: -4rem / $remNum;
        width: 6rem / $remNum;
        height: 6rem / $remNum;
        background: url("../images/yohood/site-activity-icon.png") no-repeat;
        background-size: 100% 100%;
    }
}

.scene-content {
    .main-layout {
        display: none;
    }
    .main-layout.current {
        display: block;
    }
    .layout-section {
        position: relative;
        padding: (16rem / $remNum) 0 0 (16rem / $remNum);
    }
    .layout-item {
        width: 272rem / $remNum;
    }
    .image-box {
        img {
            width: 100%;
        }
    }
}