_search.css 4.87 KB
.search-help-page {
    .search-content {
        padding: 15px;

        h2{
            border-bottom: 2px #eee solid;
            font-size: 14px;
            color: #333;
            height: 20px;
            line-height: 20px;
            padding-top: 10px;
        }

        ul {
            margin: 10px 0px;
            display: block;
            min-height: 20px;

            li {
                width: 345px;
                height: 20px;
                line-height: 20px;
                padding: 0px 0px 0px 20px;
                margin: 0px 15px 5px 0px;
                display: inline-block;
                overflow: hidden;
                background: resolve('/help/ask-icon.png') no-repeat 2px 3px;
                font-family: Arial,helvetica,sans-serif;
            }

            .faqs {
                color: #666;
                cursor: pointer;
            }
        }

        .full-search {
            line-height: 22px;
            padding: 10px 8px;
            background-color: #e3e3e3;
            font-size: 14px;
            font-weight: bold;

            label {
                padding: 12px;
            }

            .full-search-name {
                width: 185px;
                height: 22px;
                padding: 0 10px;
                border: 0;
                background: resolve('/help/help-search.png') no-repeat 0 -22px;
            }

            .search-btn {
                width: 31px;
                height: 22px;
                border: 0;
                background: resolve('/help/help-search.png') no-repeat -134px 0px;
                cursor: pointer;
                text-indent: -999em;
            }

            .yoho-im-btn {
                width: 120px;
                height: 20px;
                background: resolve('/help/yoho-im.png');
                display: inline-block;
                vertical-align: middle;
                margin-left: 10px;
                border: 0px;
                cursor: pointer;
            }
        }

        .empty-tip {
            padding: 200px 0;
            text-align: center;

            span {
                color: #e8044f;
                font-weight: bold;
            }
        }

        .all-ask-list {
            line-height: 18px;
            padding-top: 10px;

            .ask-item {
                padding: 10px;
            }

            .ask-item.even {
                border: 1px #fbf0d5 solid;
                background: #fefaf0;
            }

            .ask {
                min-height: 10px;
                padding-left: 20px;
                margin-bottom: 10px;
                background: resolve('/help/ask-icon.png') no-repeat 2px 2px;
            }

            .answer {
                padding-left: 20px;
                color: #f07100;
                background: resolve('/help/answer-icon.png') no-repeat 2px 2px;
            }
        }

        .search-pager {
            height: 20px;
            padding: 10px;

            .pager-html {
                display: inline;
            }

            a {
                border: 1px solid #cecece;
                padding: 0 6px;
                height: 18px;
                line-height: 18px;
                border-radius: 2px;
                margin-right: 4px;
                background-color: #fff;

                &.cur {
                    background-color: #222;
                    color: #fff;
                }
            }
        }
    }

    .dialog-widget {
        position: absolute;
        width: 450px;
        padding: 5px;
        border: 1px solid #999;
        background: #fff;
        border-radius: 4px;
        z-index: 1100;

        .dialog-titlebar {
            height: 16px;
            cursor: move;

            .dialog-close-btn {
                float: right;
                width: 46px;
                height: 16px;
                background: resolve(home/openbox_close.png) no-repeat 0px 0px;
                cursor: pointer;

                &:hover {
                    background-position: 0px -16px;
                }
            }
        }

        .dialog-content {
            padding: 20px 30px;

            p {
                line-height: 20px;
                padding-left: 20px;
                padding-bottom: 10px;
                font-size: 12px;
                background: resolve('../img/help/ask-icon.png') no-repeat 2px 3px;
            }

            .answer {
                color: #f07100;
                background: resolve('/help/answer-icon.png') no-repeat 2px 2px;
            }
        }
    }

    .dialog-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: 0.2;
        z-index: 1050;
    }
}