_help.css 7.52 KB
.help-page {
    .content {
        background: #fff;
        width: 1150px;
        height: auto;
        overflow: hidden;
        padding-bottom: 50px;
    }

    .dot-icon {
        background: url("/help/dot.png") no-repeat;
        position: relative;
        left: -3px;
        top: -2px;
        width: 4px;
        height: 4px;
        display: inline-block;
    }

    .search-box {
        width: 308px;
        margin: 0 auto;

        .search-area {
            width: 308px;
            height: 33px;
            border: 1px solid #bbb;
            margin-top: 5px;

            input {
                width: 250px;
                border: none;
                padding: 5px 0 5px 20px;
                line-height: 20px;
                display: inline-block;
            }

            .iconfont {
                font-size: 18px;
                color: #3a3a3a;
                padding: 0 15px;
                cursor: pointer;
                position: relative;
                top: 2px;
            }
        }

        .keyword {
            margin: 10px 0 45px;
            font-size: 14px;
            color: #000;
            text-align: center;

            a {
                margin: 0 1px;
                display: inline-block;
                line-height: 18px;
                text-align: left;
                width: 56px;
            }

            a:hover {
                color: #1ea1da;
            }
        }
    }

    .nav-top {
        width: 310px;
        text-align: center;
        margin: 78px auto 0;

        .title-img {
            width: 300px;
            height: 45px;
            display: block;
            background: url("/help/help-title.jpg") no-repeat;
        }

        .notice {
            margin-top: 25px;
            height: 30px;
            overflow: hidden;

            li {
                text-align: center;
                line-height: 30px;
                height: 30px;
            }

            .notice-cont {
                display: inline-block;
                overflow: hidden;
                height: 30px;
                font-size: 14px;
                margin: 0 2px;
                padding-left: 3px;
            }

            .notice-cont:hover {
                color: #1ea1da;

                .dot-icon {
                    background: url("/help/dot-blue.png") no-repeat;
                }
            }
        }
    }

    .nav-title {
        width: 992px;
        height: 10px;
        margin: 0 auto;
        border-bottom: 1px solid #bbb;

        .center-area {
            background: #fff;
            width: 240px;
            margin: 0 auto;
            position: relative;
            top: -7px;

            .title {
                border: 1px solid #bbb;
                width: 219px;
                height: 34px;
                text-align: center;
                line-height: 34px;
                font-size: 12px;
                color: #1b1b1b;
                margin: 0 10px;
                display: block;
            }
        }
    }

    .menu-common {
        width: 992px;
        margin: 50px auto 80px;
        height: auto;
        overflow: hidden;

        li {
            float: left;
            margin-top: 20px;

            &:first-child {
                margin-left: 0;
            }
        }

        a {
            width: 70px;
            text-align: center;
            display: block;
        }

        p {
            width: 70px;
            font-size: 14px;
            color: #1b1b1b;
            line-height: 17px;
            margin-top: 10px;
            text-align: center;
        }
    }

    .new-guide {
        li {
            margin-left: 160px;

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

    .self-service {
        li {
            margin-left: 114px;

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

    .problem {
        width: 992px;
        margin: 60px auto 0;

        a {
            width: 230px;
        }
    }

    .problem,
    .help-problem {
        a {
            line-height: 30px;
            margin-left: 10px;
            display: inline-block;
            height: 30px;
            overflow: hidden;
            padding-left: 3px;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 14px;

            &:hover {
                color: #1ea1da;
            }
        }

        a:hover,
        a.active {
            .dot-icon {
                background: url("/help/dot-blue.png") no-repeat;
            }
        }
    }

    .help-nav {
        width: 992px;
        margin: 15px auto 0;

        li {
            width: 280px;
            border: 1px solid #666;
            margin-left: 75px;
            float: left;
            margin-top: 30px;
            font-size: 14px;

            &:nth-child(3n+1) {
                margin-left: 0;
            }

            h2 {
                background: #666;
                width: 100%;
                height: 40px;
                color: #fff;
                line-height: 40px;
                text-align: center;
            }

            .nav-list {
                width: 100%;
                text-align: center;
                font-size: 14px;
                color: #666;
                line-height: 28px;
                display: inline-block;
                vertical-align: middle;
            }

            .list-box {
                width: 100%;
                height: 140px;
                line-height: 140px;
            }

            a {
                width: 100%;
                display: inline-block;
                vertical-align: middle;
            }

            a:hover {
                color: #1ea1da;
            }
        }
    }

    .problem-box {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        line-height: calc(100vh);
        text-align: center;
        display: none;

        .mark {
            background: #000;
            opacity: 0.5;
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            z-index: 1;
            cursor: pointer;
        }

        .problem-area {
            max-width: 520px;
            min-height: 200px;
            min-width: 300px;
            background: #fff;
            position: relative;
            z-index: 2;
            vertical-align: middle;
            display: inline-block;
            line-height: 24px;
            text-align: left;
            padding: 60px 40px;
            box-sizing: border-box;
        }

        .a-area,
        .q-area {
            margin: 15px auto 0;
            position: relative;
            font-size: 14px;
            color: #1b1b1b;
            min-height: 20px;
            padding-left: 34px;

            &:before {
                content: "";
                width: 18px;
                height: 18px;
                display: block;
                position: absolute;
                left: 0;
            }
        }

        .q-area {
            max-height: 300px;
            overflow: auto;
        }

        .a-area {
            margin-top: 10px;
        }

        .a-area:before {
            background: url("/help/a.png") no-repeat;
        }

        .q-area:before {
            background: url("/help/q.png") no-repeat;
        }

        .iconfont {
            position: absolute;
            right: 20px;
            top: 20px;
            cursor: pointer;
            font-size: 18px;
        }
    }
}