.comment-page {
    .common-comment {
        margin-top: 0;
        padding-top: px2rem(20);
    }
}

.comment-page-header {
    .comment-back {
        @include webkitbox();
        @include flex(1);
        -webkit-box-align: center;
        width: 0;
        height: 100%;
        color: #fff;
        &:before {
            content: '';
            display: block;
            margin-right: px2rem(20);
            @include arrow(10px, 2px, #ffffff, -135deg);
        }
    }
    .comment-title {
        @include flex(1);
        width: 0;
        text-align: center;
        color: $highLightColor;
    }
    .toolbar-menu-wrap {
        @include webkitbox();
        @include flex(1);
        -webkit-box-align: center;
        width: 0;
        .user-icon {
            display: block;
            width: px2rem(35);
            height: px2rem(35);
            border-radius: 50%;
            overflow: hidden;
            img {
                display: block;
                width: 100%;
                height: 100%;
            }
        }
        .default-user-icon {
            background: url(../img/user_default_icon.png) no-repeat center;
            background-size: 100% auto;
        }
    }
}

.write-comment-wrap {
    padding: 0 px2rem(25);
    border-bottom: $baseBorder;
    .article-title {
        display: block;
        height: px2rem(150);
        font-size: $largeFontSize;
        line-height: px2rem(150);
        text-align: center;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .write-comment {
        display: block;
        width: 100%;
        min-height: 50px;
        background-color: #f4f4f4;
        line-height: 1.4;
        resize: none;
    }
    .tool-bar {
        @include webkitbox();
        -webkit-box-align: center;
        -webkit-box-pack: justify;
        padding: px2rem(30) 0;
        .login-register {
            font-size: 15px;
            line-height: 1;
            a {
                box-sizing: content-box;
            }
        }
        .to-login {
            padding-right: px2rem(20);
            border-right: $baseBorder;
        }
        .to-register {
            padding-left: px2rem(20);
        }
        .emit-wrap {
            @include webkitbox();
            -webkit-box-align: center;
        }
        .add-emoji {
            display: block;
            box-sizing: content-box;
            width: px2rem(32);
            height: px2rem(30);
            padding-right: px2rem(30);
            background: url(../img/emoji_icon.png) no-repeat center;
            background-origin: content-box;
            background-size: 100% auto;
            border-right: $baseBorder;
        }
        .emit-comment {
            display: block;
            height: px2rem(44);
            padding: 0 px2rem(30);
            margin-left: px2rem(30);
            background-color: $highLightColor;
            color: #fff;
            line-height: px2rem(44);
        }
    }
}