page-chat {
    $userBackgroundColor: #387ef5;
    $toUserBackgroundColor: #fff;
    ion-content .scroll-content {
        background-color: #f5f5f5;
    }
    ion-footer {
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.11);
        background-color: #fff;
        height: 55px;
    }
    .line-breaker {
        white-space: pre-line;
    }
    .input-wrap {
        ion-textarea {
            position: static;
        }
        padding: 0 5px;
        ion-col.col {
            padding: 0;
        }
        button {
            width: 100%;
            height: 55px;
            font-size: 1.3em;
            margin: 0;
        }
        textarea {
            border-bottom: 1px #387ef5;
            border-style: solid;
        }
    }
    .message-wrap {
        padding: 0 10px;
        .message {
            position: relative;
            padding: 10px 0;
            .user-img {
                border-radius: 50%;
                width: 45px;
                height: 45px;
                box-shadow: 0 0 2px rgba(0, 0, 0, 0.36);
            }
            .msg-detail {
                width: 100%;
                min-height: 60px;
                p {
                    margin: 0;
                }
                .msg-info {
                    p {
                        font-size: .8em;
                        color: #888;
                    }
                }
                .msg-content {
                    position: relative;
                    margin-top: 5px;
                    background-color: #fff;
                    border-radius: 5px;
                    padding: 8px;
                    border: 1px solid #ddd;
                    span.triangle {
                        background-color: #fff;
                        border-radius: 2px;
                        height: 8px;
                        width: 8px;
                        display: block;
                        border-style: solid;
                        border-color: #ddd;
                        border-width: 1px;
                        -webkit-transform: rotate(45deg);
                        transform: rotate(45deg);
                        position: absolute;
                    }
                }
            }
        }
        .message.left {
            .msg-content {
                background-color: $toUserBackgroundColor;
            }
            .msg-detail {
                padding-left: 60px;
            }
            .user-img {
                position: absolute;
                left: 0;
            }
            .msg-content {
                span.triangle {
                    border-top-width: 0;
                    border-right-width: 0;
                    left: -5px;
                    top: 12px;
                }
            }
        }
        .message.right {
            .msg-detail {
                padding-right: 60px;
                .msg-info {
                    text-align: right;
                }
            }
            .user-img {
                position: absolute;
                right: 0;
            }
            ion-spinner {
                position: absolute;
                right: 10px;
                top: 50px;
            }
            .msg-content {
                background-color: $userBackgroundColor;
                color: #fff;
                span.triangle {
                    background-color: $userBackgroundColor;
                    border-bottom-width: 0;
                    border-left-width: 0;
                    right: -5px;
                    top: 12px;
                }
            }
        }
    }
    .idark {
        .toolbar-background {
            background: #37474f !important;
        }
    }
    .idark_content {
        .scroll-content {
            background: #212b30 !important;
        }
    }
}