2025-06-09 09:44:37 +02:00
|
|
|
@use "@/assets/css/variables" as *;
|
|
|
|
|
|
|
|
|
|
$large-button-height: $min-touch-target;
|
|
|
|
|
$small-button-height: 36px;
|
|
|
|
|
|
2025-06-10 16:50:19 +02:00
|
|
|
$background: #000000;
|
|
|
|
|
$backgroundSection: #181719;
|
2025-06-09 09:44:37 +02:00
|
|
|
$backgroundHilite: #383739;
|
2025-06-10 16:50:19 +02:00
|
|
|
$text: #ffffff;
|
2025-06-09 09:44:37 +02:00
|
|
|
$hiliteColor: #4642f1;
|
|
|
|
|
|
|
|
|
|
.send-attachments {
|
|
|
|
|
font-family: "Inter", sans-serif;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0px;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
background-color: $background;
|
|
|
|
|
color: $text;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 16px;
|
|
|
|
|
|
|
|
|
|
.send-attachments__title {
|
|
|
|
|
color: $text;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 11.54 * $chat-text-size;
|
|
|
|
|
font-family: "Inter", sans-serif;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
line-height: 140%;
|
|
|
|
|
letter-spacing: 0.34px;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
margin-top: 13px;
|
|
|
|
|
margin-bottom: 25px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.background {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 50%;
|
|
|
|
|
background-color: $background;
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
&.drop-target {
|
|
|
|
|
background-color: $backgroundHilite;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
border-radius: 19px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-format-info {
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
color: $text;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 11 * $chat-text-size;
|
|
|
|
|
font-family: "Inter", sans-serif;
|
|
|
|
|
line-height: 117%;
|
|
|
|
|
letter-spacing: 0.4px;
|
|
|
|
|
margin-top: 13px;
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.v-btn {
|
|
|
|
|
font-family: "Inter", sans-serif;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
font-size: 11.54 * $chat-text-size;
|
|
|
|
|
line-height: 140%;
|
|
|
|
|
color: white;
|
|
|
|
|
background-color: $hiliteColor !important;
|
|
|
|
|
border-radius: $small-button-height * 0.5;
|
|
|
|
|
min-height: 0;
|
|
|
|
|
height: $small-button-height !important;
|
|
|
|
|
margin-top: $chat-standard-padding-xs;
|
|
|
|
|
margin-bottom: $chat-standard-padding-xs;
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
&.large {
|
|
|
|
|
padding: 16px 23px;
|
|
|
|
|
height: $large-button-height;
|
|
|
|
|
border-radius: $large-button-height * 0.5;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
|
color: rgba($text, 80%) !important;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
textarea::placeholder {
|
|
|
|
|
color: rgba($text, 80%) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.attachment-wrapper {
|
|
|
|
|
width: 100%;
|
|
|
|
|
flex: 0 0 100%;
|
|
|
|
|
overflow-y: auto;
|
2025-06-10 16:50:19 +02:00
|
|
|
display: flex;
|
2025-06-11 14:59:34 +02:00
|
|
|
flex-direction: column;
|
2025-06-09 09:44:37 +02:00
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.file-drop-current-item {
|
|
|
|
|
width: 100%;
|
2025-06-10 16:50:19 +02:00
|
|
|
flex: 1 1 100%;
|
2025-06-09 09:44:37 +02:00
|
|
|
background-color: $backgroundSection;
|
|
|
|
|
display: flex;
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
&.drop-target {
|
|
|
|
|
background-color: $backgroundHilite;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
border-radius: 19px;
|
|
|
|
|
overflow: hidden;
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.v-img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.filename {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.send-attachments__current-item__info {
|
2025-06-10 16:50:19 +02:00
|
|
|
flex: 0 0 80px;
|
2025-06-09 09:44:37 +02:00
|
|
|
text-align: start;
|
|
|
|
|
margin: 18px 20px;
|
|
|
|
|
padding: 0;
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
.send-attachments__current-item__info__size {
|
|
|
|
|
white-space: pre;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
margin-right: 36px;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.send-attachments__current-item__info__size__filename {
|
|
|
|
|
opacity: 0.7;
|
|
|
|
|
font-size: 0.8em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-drop-thumbnail-container {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 13px 20px 15px 20px;
|
2025-06-10 16:50:19 +02:00
|
|
|
flex: 0 0 74px;
|
2025-06-09 09:44:37 +02:00
|
|
|
overflow-x: auto;
|
|
|
|
|
overflow-y: hidden;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
text-align: start;
|
|
|
|
|
|
|
|
|
|
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
/* Hide scrollbar for IE, Edge and Firefox */
|
2025-06-11 14:59:34 +02:00
|
|
|
-ms-overflow-style: none;
|
|
|
|
|
/* IE and Edge */
|
|
|
|
|
scrollbar-width: none;
|
|
|
|
|
/* Firefox */
|
2025-06-09 09:44:37 +02:00
|
|
|
|
|
|
|
|
.file-drop-thumbnail {
|
|
|
|
|
width: 46px;
|
|
|
|
|
height: 46px;
|
|
|
|
|
border-radius: 9px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background-color: #242424;
|
|
|
|
|
border: 2px solid white;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
position: relative;
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
&.current {
|
|
|
|
|
border: 2px solid #4642f1;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
&.noborder {
|
|
|
|
|
border: 2px solid transparent;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.v-img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
margin-right: 8px;
|
|
|
|
|
|
|
|
|
|
.add,
|
|
|
|
|
.remove {
|
2025-06-10 16:50:19 +02:00
|
|
|
color: $text;
|
2025-06-09 09:44:37 +02:00
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.v-icon {
|
|
|
|
|
width: 14px;
|
|
|
|
|
height: 15.75px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.remove {
|
|
|
|
|
// Slight background to make visible
|
|
|
|
|
background-color: rgba(black, 0.2);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-drop-section {
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
padding: 16px 18px;
|
|
|
|
|
background-color: $backgroundSection;
|
|
|
|
|
border-radius: 19px;
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-10 16:50:19 +02:00
|
|
|
.file-drop-input-container {
|
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.file-drop-input-container,
|
|
|
|
|
.file-drop-sending-input-container,
|
|
|
|
|
.file-drop-sent-input-container {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
min-height: 100px;
|
|
|
|
|
background-color: $backgroundSection;
|
|
|
|
|
border-radius: 19px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.input-container__buttons {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 8px;
|
|
|
|
|
bottom: 10px;
|
|
|
|
|
display: flex;
|
2025-06-11 14:59:34 +02:00
|
|
|
|
|
|
|
|
&>*:not(:first-child) {
|
2025-06-09 09:44:37 +02:00
|
|
|
margin-left: 8px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-11 14:59:34 +02:00
|
|
|
.input-area-text {
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
width: 100%;
|
|
|
|
|
margin-bottom: 50px;
|
|
|
|
|
padding: 16px 18px;
|
|
|
|
|
font-family: "Inter", sans-serif;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
|
|
|
|
|
.v-field {
|
|
|
|
|
background-color: transparent !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
@keyframes fadeInStackItem {
|
2025-06-11 14:59:34 +02:00
|
|
|
from {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
to {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
2025-06-09 09:44:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Sending
|
|
|
|
|
//
|
|
|
|
|
.file-drop-sent-stack {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 30%;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.no-items {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
div {
|
|
|
|
|
position: absolute;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.file-drop-stack-item {
|
|
|
|
|
transform: rotate(-4.4deg);
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
color: #fff;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 21 * $chat-text-size;
|
2025-06-11 14:59:34 +02:00
|
|
|
font-family: "Poppins",
|
|
|
|
|
sans-serif;
|
2025-06-09 09:44:37 +02:00
|
|
|
font-weight: 700;
|
|
|
|
|
letter-spacing: 0.34px;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.items-sent {
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2025-06-11 14:59:34 +02:00
|
|
|
|
|
|
|
|
div,
|
|
|
|
|
.v-icon {
|
2025-06-09 09:44:37 +02:00
|
|
|
position: absolute;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
|
|
|
|
.v-icon,
|
|
|
|
|
.v-icon__component {
|
2025-06-09 09:44:37 +02:00
|
|
|
width: 30%;
|
|
|
|
|
height: 30%;
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.file-drop-stack-item {
|
|
|
|
|
background: #3a3a3c;
|
|
|
|
|
position: absolute;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
opacity: 0;
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.v-img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
&.direct {
|
|
|
|
|
opacity: 1 !important;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
&.animated {
|
|
|
|
|
animation-name: fadeInStackItem;
|
|
|
|
|
animation-fill-mode: both;
|
|
|
|
|
animation-duration: 1.5s;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-drop-sending-container {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 13px 0px 15px 0px;
|
|
|
|
|
height: 50%;
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
text-align: start;
|
|
|
|
|
|
|
|
|
|
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
/* Hide scrollbar for IE, Edge and Firefox */
|
2025-06-11 14:59:34 +02:00
|
|
|
-ms-overflow-style: none;
|
|
|
|
|
/* IE and Edge */
|
|
|
|
|
scrollbar-width: none;
|
|
|
|
|
/* Firefox */
|
2025-06-09 09:44:37 +02:00
|
|
|
|
|
|
|
|
.file-drop-sending-item {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 64px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background-color: $backgroundSection;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
position: relative;
|
|
|
|
|
padding: 8px;
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.v-img {
|
|
|
|
|
width: $min-touch-target;
|
|
|
|
|
height: $min-touch-target;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
flex: 0 0 $min-touch-target;
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
margin-bottom: 8px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.filename {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 18px;
|
|
|
|
|
left: 8px;
|
|
|
|
|
font-size: 0.7em;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.v-progress-linear {
|
|
|
|
|
align-self: flex-end;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.file-drop-cancel {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 8px;
|
|
|
|
|
width: 17px;
|
|
|
|
|
height: 17px;
|
|
|
|
|
color: green !important;
|
|
|
|
|
background: #2e2e3b;
|
|
|
|
|
border-radius: 8.5px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-drop-sending-input-container {
|
|
|
|
|
.v-btn {
|
|
|
|
|
.v-progress-circular {
|
|
|
|
|
margin-left: 8px;
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
|
|
|
|
|
background: linear-gradient(0deg, #000 0%, #000 100%),
|
|
|
|
|
#4642f1;
|
2025-06-09 09:44:37 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-drop-files-sent {
|
|
|
|
|
width: 100%;
|
|
|
|
|
color: $text;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 21 * $chat-text-size;
|
|
|
|
|
font-family: "Poppins", sans-serif;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
letter-spacing: 0.34px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-drop-sent-input-container {
|
|
|
|
|
background-color: transparent;
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
.v-btn {
|
|
|
|
|
right: unset;
|
|
|
|
|
left: 8px;
|
|
|
|
|
background: linear-gradient(0deg, #000 0%, #000 100%), #4642f1;
|
2025-06-11 14:59:34 +02:00
|
|
|
|
2025-06-09 09:44:37 +02:00
|
|
|
&.close {
|
|
|
|
|
right: 8px;
|
|
|
|
|
left: unset;
|
|
|
|
|
background: $hiliteColor !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-06-11 14:59:34 +02:00
|
|
|
}
|