2020-11-09 15:55:17 +01:00
|
|
|
@import "@/assets/css/main.scss";
|
|
|
|
|
|
|
|
|
|
$chat-background: $background;
|
2020-11-09 10:26:56 +01:00
|
|
|
$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;
|
|
|
|
|
|
2020-12-04 17:15:18 +01:00
|
|
|
.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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-09 10:26:56 +01:00
|
|
|
.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 {
|
2020-12-04 12:15:47 +01:00
|
|
|
background-color: #e2e2e2;
|
2020-11-09 10:26:56 +01:00
|
|
|
margin: 0;
|
|
|
|
|
padding-left: $chat-standard-padding-s;
|
|
|
|
|
padding-right: $chat-standard-padding-s;
|
|
|
|
|
}
|
|
|
|
|
|
2020-12-04 12:15:47 +01:00
|
|
|
.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;
|
2020-11-09 10:26:56 +01:00
|
|
|
}
|
2020-12-04 12:15:47 +01:00
|
|
|
.input-area-inner {
|
|
|
|
|
background-color: white;
|
|
|
|
|
border-radius: $chat-standard-padding-s;
|
2020-11-09 10:26:56 +01:00
|
|
|
}
|
2020-12-04 12:15:47 +01:00
|
|
|
.input-area-button {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
min-width: 48px;
|
2020-11-09 10:26:56 +01:00
|
|
|
}
|
2020-12-04 12:15:47 +01:00
|
|
|
.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;
|
|
|
|
|
}
|
2020-11-17 20:02:42 +01:00
|
|
|
}
|
2020-11-09 10:26:56 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-12-04 12:15:47 +01:00
|
|
|
.messageJoin {
|
2020-11-09 10:26:56 +01:00
|
|
|
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;
|
|
|
|
|
}
|
2020-11-19 17:08:58 +01:00
|
|
|
.bubble.image-bubble {
|
|
|
|
|
padding: 0px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
2020-11-09 10:26:56 +01:00
|
|
|
.message {
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.messageIn {
|
|
|
|
|
margin: 8px;
|
|
|
|
|
margin-right: 30% !important;
|
|
|
|
|
text-align: left;
|
2020-11-11 20:27:34 +01:00
|
|
|
position: relative;
|
2020-11-09 10:26:56 +01:00
|
|
|
.bubble {
|
|
|
|
|
background-color: white;
|
|
|
|
|
border-radius: 10px 10px 10px 0;
|
|
|
|
|
padding: 8px;
|
|
|
|
|
border-width: 1px !important;
|
|
|
|
|
border-style: solid !important;
|
|
|
|
|
border-color: #cccccc !important;
|
|
|
|
|
}
|
2020-11-19 17:08:58 +01:00
|
|
|
.bubble.image-bubble {
|
|
|
|
|
padding: 0px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
2020-11-11 20:27:34 +01:00
|
|
|
.avatar {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: -10px;
|
|
|
|
|
top: 0;
|
|
|
|
|
border: 2px solid white;
|
|
|
|
|
}
|
|
|
|
|
.sender {
|
|
|
|
|
position: relative;
|
|
|
|
|
left: 40px;
|
|
|
|
|
}
|
2020-11-09 10:26:56 +01:00
|
|
|
}
|
|
|
|
|
|
2020-11-11 17:35:14 +01:00
|
|
|
.sender, .status {
|
2020-11-09 10:26:56 +01:00
|
|
|
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;
|
2020-12-03 10:00:23 +01:00
|
|
|
overflow-wrap: break-word;
|
2020-11-25 15:29:20 +01:00
|
|
|
.edit-marker {
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: #888888;
|
|
|
|
|
}
|
2020-11-09 10:26:56 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.time {
|
|
|
|
|
font-family: 'Titillium Web', sans-serif;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
font-size: 15 * $chat-text-size;
|
|
|
|
|
text-align: center;
|
|
|
|
|
color: #1c242a;
|
|
|
|
|
}
|
2020-11-11 17:35:14 +01:00
|
|
|
|
|
|
|
|
.statusEvent {
|
|
|
|
|
font-family: 'Titillium Web', sans-serif;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
font-size: 15 * $chat-text-size;
|
|
|
|
|
color: #1c242a;
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin: 20px;
|
2020-11-25 14:42:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.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;
|
|
|
|
|
}
|
2020-11-11 17:35:14 +01:00
|
|
|
}
|