﻿/* 留言 样式表
 * @Author: INSO
 * @Date: 2019-10-09 11:32:39
 * @Last Modified by:   INSO
 * @Last Modified time: 2019-10-09 11:32:39
 */

/* Google 风格配色方案 */
:root {
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC04;
    --google-green: #34A853;
    --primary-blue: #4285F4;
}

.topdiv {
    text-align: center;
    background-color: #FFFFFF;
    border: 1px solid #DADCE0;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1);
}

.topdiv-figure {
    display: inline-block;
    margin: 20px auto;
}

    .topdiv-figure img {
        border-radius: 50px;
    }

.topdiv-nickname {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #202124;
}

.topdiv-introduce {
    margin: 20px auto;
    font-size: 18px;
    width: 90%;
    color: #5F6368;
}

.topdiv-location {
    color: #80868B;
    margin: 15px;
}

.topdiv-contact {
    margin: 15px;
}

    .topdiv-contact > a {
        padding: 0 10px;
    }

.chatroom {
    border: 1px solid #DADCE0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1);
}

    .chatroom .scroll {
        overflow-y: auto;
        height: 300px;
    }

    .chatroom .layui-card-header .status {
        float: right;
        color: #ADADAD;
        width: 20px;
        text-align: center;
        line-height: 20px;
        margin-top: 11px;
        cursor: pointer;
    }


        .chatroom .layui-card-header .status.online {
            color: #09F175;
        }

.chatroom-body {
}

.chatroom-editor,
.chatroom-send {
    border-top: 1px solid #eaeaea;
}


    .chatroom-editor .layui-layedit {
        border: none;
    }

    .chatroom-editor .layui-layedit-tool .layui-icon {
        width: 22px;
        height: 20px;
        line-height: 20px;
        font-size: 16px !important;
    }

.chatroom-send {
    padding: 5px;
    text-align: right;
}

    .chatroom-send .layui-btn {
        border-radius: 0;
    }

.comment-editor {
    background-color: #FFFFFF;
    border: 1px solid #DADCE0;
    border-radius: 8px;
    padding: 15px;
    padding-bottom: 0;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1);
}

.comment-item,
.comment-reply {
    padding-left: 60px;
    min-height: 100px;
    background-color: #FFFFFF;
    border: 1px solid #DADCE0;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1);
}

.comment-item-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
}

    .comment-item-left .useravator {
        padding: 3px;
        border: 2px solid #E8EAED;
        border-radius: 50%;
        display: inline-block;
        margin: 6px;
        margin-bottom: 3px;
    }

        .comment-item-left .useravator img {
            width: 40px;
            height: 40px;
        }

    .comment-item-left .reply {
        text-align: center;
        margin-top: 5px;
        display: none;
    }

        .comment-item-left .reply .layui-btn {
            border-radius: 0;
        }

.comment-item-right .content {
    padding: 9px;
    min-height: 60px;
}

.comment-item-right .createtime {
    font-size: 12px;
    color: #80868B;
    height: 20px;
    line-height: 20px;
    text-align: right;
    padding: 5px 10px;
}


.comment-item .layui-layedit {
    margin-top: 10px;
    margin-left: -50px;
    margin-right: 10px;
}

.comment-item .layui-layedit-tool .layui-icon {
    width: 18px;
    height: 16px;
    line-height: 16px;
    font-size: 14px !important;
}

/*回复*/
.comment-reply {
    border: none;
    min-height: 60px;
}

    .comment-reply:last-child {
        margin-bottom: 10px;
    }

    .comment-reply .comment-item-right .content {
        min-height: 30px;
        font-size: 12px;
        padding: 0 5px;
        padding-top: 6px;
    }

    .comment-reply .comment-item-right .createtime {
        text-align: left;
        padding: 0 5px;
    }

.status-select {
    padding: 10px 0;
}

    .status-select ul {
        width: 130px;
        font-size: 12px;
    }

        .status-select ul li {
            line-height: 22px;
            padding: 3px 10px;
            cursor: pointer;
        }

            .status-select ul li:hover {
                background-color: #eee;
            }

.systemmsg {
    font-size: 12px;
    color: #999;
    text-align: center;
}


.msg {
    position: relative;
    font-size: 12px;
    margin: 10px 0;
}

    .msg .msg-user {
        position: absolute;
    }

        .msg .msg-user img {
            width: 30px;
            height: 30px;
            border-radius: 50%;
        }

    .msg .msg-text .content {
        margin-top: 5px;
        padding: 2px 7px;
        background-color: #F1F3F4;
        border-radius: 6px;
    }

    .msg .msg-text .name {
        color: var(--google-blue);
        line-height: normal;
    }

.msg-other .msg-text {
    padding-right: 10px;
}

.msg-other {
    padding-left: 40px;
}

    .msg-other .msg-user {
        left: 0;
    }

.msg-mine {
    padding-right: 50px;
}

    .msg-mine .msg-user {
        right: 10px;
    }

    .msg-mine .msg-text .name {
        text-align: right;
    }

@media(max-width:767px) {
}

@media (max-width: 991px) {
    .right-fixed {
        display: none;
    }
}

@media (min-width: 992px) {
    .right-fixed {
        position: fixed;
        width: 303px;
    }

    .chatroom .scroll {
        width: 313px;
    }
}

@media (min-width: 1200px) {
    .right-fixed {
        width: 370px;
    }

    .chatroom .scroll {
        width: 380px;
    }
}
