_footer.css 6.49 KB
.yoho-footer {
    font-size: 12px;

    * {
        box-sizing: border-box;
    }

    .red {
        color: #e01;
    }

    .rgb6 {
        color: #666;
    }

    .rgb9 {
        color: #999;
    }

    .rgbf {
        color: #fff;
    }

    .index-foot {
        background: #eee;
        padding: 20px 0;

        dd {
            float: left;
            width: 370px;
            margin-right: 20px;
            overflow: hidden;

            &.last {
                margin-right: 0;
            }

            ul {
                margin-top: 18px;
                padding-top: 18px;
            }
        }
    }

    .foot-panel {
        background: #fff;
        padding: 20px;
    }

    .title {
        position: relative;
        text-align: center;
    }

    .title-line {
        border-bottom: 1px solid #ddd;
        position: absolute;
        top: 9px;
        width: 100%;
        left: 0;
    }

    .text {
        position: absolute;
        width: 100%;
        text-align: center;
        left: 0;
        top: 0;

        span {
            background: #fff;
            font-size: 18px;
            line-height: 18px;
            padding: 0 10px;
        }
    }

    .item-nav {
        padding-top: 20px;

        span {
            color: #fff;
            padding: 0 3px;
            cursor: pointer;
            font-size: 20px;
        }

        .cur {
            color: #999;
        }
    }

    .vote {
        line-height: 24px;

        input {
            margin: 0 5px 0 1px;
        }

        .button {
            height: 24px;
            line-height: 24px;
            width: 55px;
            font-size: 12px;
            margin-top: 11px;
            margin-right: 10px;
            background: #222;
            color: #fff;
            display: inline-block;
            text-align: center;
            cursor: pointer;
        }

        p {
            height: 24px;
            overflow: hidden;
        }

        textarea {
            width: 98%;
            height: 68px;
            vertical-align: middle;
            margin: 5px 0 0;
            resize: none;
        }
    }

    .vote-item p {
        float: left;
        width: 50%;
    }

    .mobile {
        margin-right: -10px;

        li {
            margin-right: 10px;
            float: left;
        }

        img {
            display: block;
            width: 103px;
            height: 131px;
        }
    }

    .index-banner {
        width: 100%;
        margin-top: 20px;
    }

    .two-dim {
        margin-right: -10px;
        overflow: hidden;

        li {
            border: 1px solid #ddd;
            padding: 7px;
            margin-right: 10px;

            a {
                display: block;
            }

            p {
                text-align: center;
                margin-top: 13px;
                margin-bottom: 3px;
                line-height: 12px;
            }
        }
    }

    .dim-img {
        display: block;
        width: 87px;
        height: 87px;
    }

    .dim-hover {
        position: absolute;

        img {
            width: 38px;
            height: 38px;
        }
    }

    .dim-active .dim-img {
        opacity: 1;
    }

    .dim-active .dim-hover {
        display: none;
    }

    .footerbottom {
        width: 100%;
    }

    .promise {
        padding: 20px 0 10px;
        background: #000;

        .left {
            margin-right: 60px;
            line-height: 30px;
            font-size: 12px;
            font-weight: bold;

            .iconfont {
                display: inline-block;
                font-weight: normal;
                font-size: 22px;
                vertical-align: middle;
                margin-right: 5px;
            }
        }

        .left:first-child .iconfont {
            font-size: 27px;
        }
    }

    .subscribe {
        border: 1px solid #262626;
        width: 240px;

        input {
            width: 180px;
            height: 32px;
            padding: 0 10px;
            line-height: 32px;
            border: none;
            margin: 0;
            background: #000;
        }

        a {
            display: block;
            float: right;
            margin-right: 20px;
            font-size: 20px;
            line-height: 28px;
            opacity: 0.5;
        }
    }

    .footer-help {
        background: #000;
        font-size: 12px;
        overflow: hidden;

        > div {
            padding: 15px 0;
            border-top: 1px solid #262626;
        }

        ul {
            width: 110%;
        }

        p {
            line-height: 24px;

            span {
                color: #fff;
            }

            a {
                color: #666;

                &:hover {
                    text-decoration: underline;
                }
            }
        }

        li {
            width: 180px;
        }

        .screen {
            border-top: 1px solid #262626;
            padding: 15px 0;
        }
    }

    .footer-link {
        background: #000;
        padding: 10px 0 30px;
        font-size: 12px;

        .right-flag {
            margin-top: 3px;

            a {
                margin-right: 5px;
            }
        }

        .about-us {
            line-height: 20px;
            color: #666;
            margin-left: 10px;

            a {
                color: #666;
            }

            span {
                padding: 0 10px;
            }
        }
    }

    .return-top {
        position: fixed;
        width: 60px;
        height: 60px;
        left: 50%;
        margin-left: 595px;
        text-align: center;
        line-height: 50px;
        color: #fff;
        background: #000;
        opacity: 0.5;
        bottom: 20px;
        cursor: pointer;
        z-index: 4;

        &:hover {
            opacity: 0.9;
        }

        .iconfont {
            font-size: 34px;
        }
    }
}

.yoho-footer .return-top.min {
    left: 100%;
    right: 20px;
    margin-left: auto;
}

.min-screen .yoho-footer {
    .index-foot dd {
        width: 316px;
    }

    .two-dim {
        margin-top: 26px;
        margin-bottom: 10px;
        overflow: hidden;
    }

    .dim-img {
        width: 69px;
        height: 69px;
    }

    .mobile {
        margin-top: 26px;
        padding-bottom: 15px;

        img {
            width: 85px;
            height: 108px;
        }
    }

    .promise .left {
        margin-right: 45px;
    }

    .subscribe {
        width: 200px;

        input {
            width: 140px;
        }
    }

    .footer-help li {
        width: 150px;
    }
}