Initial commit

This commit is contained in:
N-Pex 2020-11-09 10:26:56 +01:00
parent 60df431f80
commit fd332bda79
22 changed files with 13206 additions and 0 deletions

151
src/assets/css/chat.scss Normal file
View file

@ -0,0 +1,151 @@
$chat-background: #f5fdf5;
$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;
.bubble {
background-color: white;
border-radius: 10px 10px 10px 0;
padding: 8px;
border-width: 1px !important;
border-style: solid !important;
border-color: #cccccc !important;
}
}
.sender {
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;
}

BIN
src/assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

1
src/assets/logo.svg Normal file
View file

@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 87.5 100"><defs><style>.cls-1{fill:#1697f6;}.cls-2{fill:#7bc6ff;}.cls-3{fill:#1867c0;}.cls-4{fill:#aeddff;}</style></defs><title>Artboard 46</title><polyline class="cls-1" points="43.75 0 23.31 0 43.75 48.32"/><polygon class="cls-2" points="43.75 62.5 43.75 100 0 14.58 22.92 14.58 43.75 62.5"/><polyline class="cls-3" points="43.75 0 64.19 0 43.75 48.32"/><polygon class="cls-4" points="64.58 14.58 87.5 14.58 43.75 100 43.75 62.5 64.58 14.58"/></svg>

After

Width:  |  Height:  |  Size: 539 B