@import "@/assets/css/main.scss"; $chat-background: $background; $chat-standard-padding: 32px; $chat-standard-padding-s: 16px; $chat-standard-padding-xs: 8px; $chat-text-size: 0.7pt; .chat-root { position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; width: 100%; height: 100%; padding: 0; margin: 0; background-color: $chat-background; overflow: hidden; .chat-header { margin: 0; padding: 0; background-color: #e2e2e2; .chat-header-row { margin: 0; padding: 4px 10px; align-items: center; } .members-icon { margin-bottom: 0; } .chat-header-members { position: relative; } .num-members { position: absolute; bottom: -2px; left: 0; right: 0; font-family: 'Titillium Web', sans-serif; font-weight: 400; font-size: 11 * $chat-text-size; color: black; } .room-name { font-family: 'Titillium Web', sans-serif; font-weight: 700; font-size: 18 * $chat-text-size; color: black; } .v-btn.leave-button { font-family: 'Titillium Web', sans-serif; font-weight: 400; font-size: 14 * $chat-text-size; color: white; background-color: #cc0000 !important; border: none; border-radius: 4px; height: $chat-standard-padding; margin-top: $chat-standard-padding-xs; margin-bottom: $chat-standard-padding-xs; } } .chat-content { margin: 0; padding-top: $chat-standard-padding-s; padding-left: $chat-standard-padding-s; padding-bottom: $chat-standard-padding-s; padding-right: $chat-standard-padding-s; &::-webkit-scrollbar { width: 4px; } /* Track */ &::-webkit-scrollbar-track { background: #cccccc; } /* Handle */ &::-webkit-scrollbar-thumb { background: black; } /* Handle on hover */ &::-webkit-scrollbar-thumb:hover { background: #4d4d4d; } } .input-area { background-color: #e2e2e2; margin: 0; padding-left: $chat-standard-padding-s; padding-right: $chat-standard-padding-s; } .input-area-outer { background-color: #e2e2e2; margin: 0; padding-left: 2 * $chat-standard-padding-s; padding-right: 2 * $chat-standard-padding-s; padding-top: 0px; .typing { font-family: 'Titillium Web', sans-serif; font-weight: 300; font-size: 12 * $chat-text-size; color: #1c242a; text-align: center; min-height: 20px; } .input-area-inner { background-color: white; border-radius: $chat-standard-padding-s; } .input-area-button { margin: 0; padding: 0; min-width: 48px; } .input-area-text { max-height: 30vh; overflow-x: hidden; overflow-y: auto; padding: 0 0 0 0px; margin: 6px 0; font-family: 'Titillium Web', sans-serif; font-weight: 300; font-size: 18 * $chat-text-size; .v-input__slot { /* Remove text underline */ color: transparent !important; min-height: 20px; } } } } .messageJoin { font-family: 'Titillium Web', sans-serif; font-weight: 300; font-size: 15 * $chat-text-size; color: #1c242a; text-align: center; } .messageOut { margin: 8px; margin-left: 30% !important; text-align: right; .bubble { background-color: #00eea0; border-radius: 10px 10px 0 10px; padding: 8px; } .bubble.image-bubble { padding: 0px; overflow: hidden; } .message { color: white; } } .messageIn { margin: 8px; margin-right: 30% !important; text-align: left; position: relative; .bubble { background-color: white; border-radius: 10px 10px 10px 0; padding: 8px; border-width: 1px !important; border-style: solid !important; border-color: #cccccc !important; } .bubble.image-bubble { padding: 0px; overflow: hidden; } .avatar { position: absolute; left: -10px; top: 0; border: 2px solid white; } .sender { position: relative; left: 40px; } } .sender, .status { font-family: 'Titillium Web', sans-serif; font-weight: 300; font-size: 15 * $chat-text-size; color: #1c242a; margin-bottom: 4px; } .message { font-family: 'Titillium Web', sans-serif; font-weight: 400; font-size: 22 * $chat-text-size; color: #000000; overflow-wrap: break-word; .edit-marker { font-size: 0.8rem; color: #888888; } } .time { font-family: 'Titillium Web', sans-serif; font-weight: 300; font-style: italic; font-size: 15 * $chat-text-size; text-align: center; color: #1c242a; } .statusEvent { font-family: 'Titillium Web', sans-serif; font-weight: 300; font-size: 15 * $chat-text-size; color: #1c242a; text-align: center; margin: 20px; } .messageOperations { position: absolute; bottom: 10px; &.incoming { left: -20px; } &.outgoing { right: 20px; } } .quick-reaction-container { .quick-reaction { border: 1px solid #e2e2e2; border-radius: 9px; margin: 0px 2px; padding: 2px; &:hover { border: 1px solid #888888; background-color: #e2e2e2; } .quick-reaction-count { color: #888888; font-size: 0.7rem; } } .sent { background-color: palegreen; } }