_comment.css 5.55 KB
.comment-me-page {
    .btn {
        display:inline-block;
        margin:0 7px 0 0;
        border:1px solid #636363;
        font-size:12px;
        line-height:1.3;
        text-decoration:none;
        color:#141414;
        cursor:pointer;
        padding:3px 10px 3px 7px;
    }
    .btn.active{
        background:#444;
        color: #fff;
    }
    .btn.disabled{
        border-color: ;
    }
    .txt-center{
        text-align: center;
    }
    .fl-left{
        float: left;
    }
    .comment .title {
        background-image: resolve(img/home/comment.png);
    }

    .me-comment {
        padding: 10px;
        font-size: 12px;
        line-height: 18px;
    }

    .main-tip span {
        color: #e8044f;
    }

    .comment-table-header {
        padding: 0;
        margin-top: 10px;

        .info {
            width: 50%;
        }

        .time {
            width: 415px;
            border-left: 1px solid #e6e6e6;
            border-right: 1px solid #e6e6e6;
        }

        .type {
            width: 49%;
        }
    }

    .comment-table {
        width: 100%;
        margin-top: 10px;

        tr {
            border-bottom: 1px solid #e6e6e6;

            th {
                background: #efefef;
                padding: 5px;
            }

            td {
                color: #444;
                padding: 5px;
                text-align: left;

                &.center {
                    text-align: center;
                }
            }

            a {
                /*color: #468fa2;*/
                text-decoration: none;
            }
            .name {
                display: block;
                margin-bottom:15px;
            }

            .remarked {
                color: #e8044f;
            }

            .remark-btn {
                width: 69px;
                height: 22px;
                line-height: 21px;
                border: 0;
                background: resolve(img/home/remark-btn.png) no-repeat;
                cursor: pointer;
                color: #fff;
                outline: none;
            }
        }

        .color-warn{
            color: #da1511;
        }
        .require-sign{
            float: left;
            margin-left:-10px;
            line-height: 1.8;
        }
        .remark-content {
            width: 405px;
            border: 1px solid #e6e6e6;
            word-break: break-all;
        }

        .comment-add {
            padding: 20px 50px;

            .row {
                margin-bottom:16px;

                .col{
                    margin-right: 50px;
                    &:last-child{
                        margin-right:0;
                    }
                }
            }
            .textarea{
                > textarea{
                    width: 100%;
                    height: 80px;
                    border-color: #dfdfdf;
                }
            }
        }
        .comment-star {
            position:relative;
            display:inline-block;
            height:20px;
            width:90px;
            cursor:pointer;
            background: resolve(img/home/star.png) 0 -20px repeat-x;

            .star-1, .star-2, .star-3, .star-4, .star-5{
                position: absolute;
                left:0;
                top:0;
                display:inline-block;
                height:20px;
                width: 18px;

                &:hover{
                    background: resolve(img/home/star.png) repeat-x;
                }
            }
            .star-2{
                width:36px;
            }
            .star-3{
                width:54px;
            }
            .star-4{
                width:72px;
            }
            .star-5{
                width:90px;
            }
        }
    }

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

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

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

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

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

            dl {
                display: table-row;
            }

            dd {
                display: table-cell;
                vertical-align: top;
                font-size: 13px;
                line-height: 15px;
            }

            textarea {
                width: 390px;
                height: 80px;
                max-width: 390px;
                max-height: 240px;
                background: resolve(img/home/input-back.png) repeat-x;
                font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
            }
        }

        .dialog-buttons {
            padding-right: 30px;

            button {
                color: #666;
                float: right;
                padding: 8px 15px;
                margin-left: 5px;
                border: 1px solid #aaa;
                border-radius: 3px;
                background-color: #f2f2f2;
                outline: none;
            }

            .dialog-save-btn {
                color: #fff;
                font-weight: bold;
                border-color: #b5023d;
                background-color: #da0249;
            }
        }
    }

    .foot-pager {
        padding-bottom: 0;
    }
}