173 lines
No EOL
3.9 KiB
SCSS
173 lines
No EOL
3.9 KiB
SCSS
@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-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;
|
|
}
|
|
}
|
|
|
|
.v-btn {
|
|
font-family: 'Titillium Web', sans-serif;
|
|
font-weight: 400;
|
|
font-size: 17 * $chat-text-size;
|
|
color: white;
|
|
background-color: #00eea0 !important;
|
|
border: none;
|
|
border-radius: 0;
|
|
height: $chat-standard-padding;
|
|
margin-top: $chat-standard-padding-xs;
|
|
margin-bottom: $chat-standard-padding-xs;
|
|
}
|
|
|
|
.input-area {
|
|
background-color: #cccccc;
|
|
margin: 0;
|
|
padding-left: $chat-standard-padding-s;
|
|
padding-right: $chat-standard-padding-s;
|
|
}
|
|
|
|
.input-message {
|
|
font-family: 'Titillium Web', sans-serif;
|
|
font-weight: 300;
|
|
font-size: 15 * $chat-text-size;
|
|
font-style: italic;
|
|
height: 3 * $chat-standard-padding-s;
|
|
padding: 0 10px 0 10px;
|
|
margin: $chat-standard-padding-xs 0 0 0;
|
|
color: #999999;
|
|
background-color: #ffffff;
|
|
overflow: hidden;
|
|
border: 1px solid #cccccc;
|
|
border-radius: 0;
|
|
.v-input__slot {
|
|
/* Remove text underline */
|
|
color: transparent !important;
|
|
}
|
|
.v-text-field__slot {
|
|
padding: 0;
|
|
max-height: 3 * $chat-standard-padding-s;
|
|
height: 3 * $chat-standard-padding-s;
|
|
}
|
|
textarea {
|
|
line-height: 1.1rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.messageJoin,
|
|
.typing {
|
|
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;
|
|
}
|
|
.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;
|
|
}
|
|
.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;
|
|
}
|
|
|
|
.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;
|
|
} |