715 lines
No EOL
14 KiB
SCSS
715 lines
No EOL
14 KiB
SCSS
@use "@/assets/css/variables" as *;
|
|
|
|
$background: #000000;
|
|
$backgroundSection: #333333E5;
|
|
$backgroundHilite: #383739;
|
|
$backgroundDark: #242424;
|
|
$text: #ffffff;
|
|
$hiliteColor: #4642f1;
|
|
|
|
.send-attachments {
|
|
font-family: "Inter", sans-serif;
|
|
z-index: 10;
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: $background;
|
|
color: $text;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
text-align: center;
|
|
|
|
.title {
|
|
font-family: "Inter", sans-serif;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
line-height: 125%;
|
|
letter-spacing: 0.4px;
|
|
text-align: center;
|
|
vertical-align: bottom;
|
|
color: white;
|
|
flex: 0 0 50px;
|
|
background-color: $backgroundSection;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
&.file-drop {
|
|
flex: 0 0 100px;
|
|
background-color: transparent;
|
|
flex-direction: column;
|
|
.file-drop-title {
|
|
margin-top: 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.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;
|
|
|
|
&.large {
|
|
padding: 16px 23px;
|
|
height: $large-button-height;
|
|
border-radius: $large-button-height * 0.5;
|
|
}
|
|
|
|
&.text {
|
|
background-color: transparent !important;
|
|
}
|
|
}
|
|
|
|
.back-button {
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 16px;
|
|
margin: 0;
|
|
z-index: 1;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
textarea {
|
|
color: rgba($text, 80%) !important;
|
|
}
|
|
|
|
textarea::placeholder {
|
|
color: rgba($text, 80%) !important;
|
|
}
|
|
|
|
.send-attachments__selecting__current-item,
|
|
.gallery-current-item {
|
|
width: 100%;
|
|
flex: 1 1 100%;
|
|
background-color: $backgroundSection;
|
|
display: flex;
|
|
position: relative;
|
|
|
|
&.drop-target {
|
|
background-color: $backgroundHilite;
|
|
}
|
|
|
|
//border-radius: 19px;
|
|
overflow: hidden;
|
|
|
|
.v-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.send-attachments__selecting__current-item__preparing {
|
|
position: absolute;
|
|
right: 8px;
|
|
bottom: 4px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: end;
|
|
justify-content: end;
|
|
}
|
|
|
|
.send-attachments__selecting__current-item__cc {
|
|
position: absolute;
|
|
right: 12px;
|
|
bottom: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: end;
|
|
justify-content: end;
|
|
}
|
|
}
|
|
|
|
.file-drop-choose-files {
|
|
background-color: $backgroundSection;
|
|
border-radius: 19px;
|
|
padding: 16px 18px;
|
|
flex: 0 0 40%;
|
|
margin: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
.file-format-info {
|
|
font-family: "Inter", sans-serif;
|
|
font-size: 11 * $chat-text-size;
|
|
line-height: 117%;
|
|
color: rgba(white, 0.6);
|
|
margin-top: 5px;
|
|
}
|
|
}
|
|
|
|
.file-drop-thumbnail-container,
|
|
.gallery-thumbnail-container {
|
|
width: 100%;
|
|
background-color: $backgroundSection;
|
|
padding: 16px 20px 24px 20px;
|
|
flex: 0 0 74px;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
white-space: nowrap;
|
|
text-align: start;
|
|
|
|
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
&::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
/* Hide scrollbar for IE, Edge and Firefox */
|
|
-ms-overflow-style: none;
|
|
/* IE and Edge */
|
|
scrollbar-width: none;
|
|
/* Firefox */
|
|
|
|
.v-badge {
|
|
//margin-right: 8px;
|
|
}
|
|
|
|
.v-badge__badge {
|
|
top: 0;
|
|
width: 12px;
|
|
height: 12px;
|
|
padding: 0;
|
|
min-width: 12px;
|
|
user-select: none;
|
|
|
|
span {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
.file-drop-thumbnail {
|
|
width: 46px;
|
|
height: 46px;
|
|
border-radius: 9px;
|
|
overflow: hidden;
|
|
background-color: $backgroundDark;
|
|
border: 2px solid white;
|
|
display: inline-block;
|
|
position: relative;
|
|
|
|
&.current {
|
|
border: 2px solid #4642f1;
|
|
}
|
|
|
|
&.noborder {
|
|
border: 2px solid $backgroundDark;
|
|
}
|
|
|
|
.v-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
margin-right: 8px;
|
|
|
|
.add,
|
|
.remove {
|
|
color: $text;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
.v-icon {
|
|
width: 14px;
|
|
height: 15.75px;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.file-drop-input-container {
|
|
flex: 1 1 auto;
|
|
width: 100%;
|
|
position: relative;
|
|
padding: 0 16px 16px 16px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
background-color: $backgroundSection;
|
|
|
|
.file-drop-input-container__input {
|
|
background-color: $backgroundDark;
|
|
border-radius: 22px;
|
|
flex: 1 1 auto;
|
|
position: relative;
|
|
margin-right: 15px;
|
|
height: 42px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.send-button {
|
|
margin: 0;
|
|
padding: 0;
|
|
position: absolute;
|
|
top: 3px;
|
|
right: 3px;
|
|
}
|
|
|
|
.info-button {
|
|
background-color: $backgroundDark !important;
|
|
margin: 0;
|
|
width: 44px !important;
|
|
height: 44px !important;
|
|
border-radius: 22px !important;
|
|
}
|
|
|
|
}
|
|
|
|
.file-drop-sending-input-container,
|
|
.file-drop-sent-input-container {
|
|
position: relative;
|
|
width: 100%;
|
|
min-height: 100px;
|
|
background-color: $backgroundSection;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.input-container__buttons {
|
|
position: absolute;
|
|
right: 8px;
|
|
bottom: 10px;
|
|
display: flex;
|
|
|
|
&>*:not(:first-child) {
|
|
margin-left: 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.input-area-text {
|
|
flex: 0 0 auto;
|
|
width: 100%;
|
|
margin-bottom: 50px;
|
|
//padding: 6px 8px;
|
|
font-family: "Inter", sans-serif;
|
|
font-weight: 300;
|
|
|
|
input {
|
|
color: white !important;
|
|
padding-right: 50px;
|
|
}
|
|
|
|
.v-field {
|
|
background-color: transparent !important;
|
|
}
|
|
}
|
|
|
|
@keyframes fadeInStackItem {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
// Sending
|
|
//
|
|
.file-drop-sent-stack {
|
|
width: 100%;
|
|
height: 30%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
.no-items {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
div {
|
|
position: absolute;
|
|
}
|
|
|
|
.file-drop-stack-item {
|
|
transform: rotate(-4.4deg);
|
|
}
|
|
|
|
color: #fff;
|
|
text-align: center;
|
|
font-size: 21 * $chat-text-size;
|
|
font-family: "Poppins",
|
|
sans-serif;
|
|
font-weight: 700;
|
|
letter-spacing: 0.34px;
|
|
}
|
|
|
|
.items-sent {
|
|
z-index: 1000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
div,
|
|
.v-icon {
|
|
position: absolute;
|
|
}
|
|
|
|
.v-icon,
|
|
.v-icon__component {
|
|
width: 30%;
|
|
height: 30%;
|
|
}
|
|
}
|
|
|
|
.file-drop-stack-item {
|
|
background: #3a3a3c;
|
|
position: absolute;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
|
|
.v-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
&.direct {
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
&.animated {
|
|
animation-name: fadeInStackItem;
|
|
animation-fill-mode: both;
|
|
animation-duration: 1.5s;
|
|
}
|
|
}
|
|
}
|
|
|
|
.file-drop-sending-container {
|
|
width: 100%;
|
|
padding: 13px 10px 15px 10px;
|
|
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;
|
|
}
|
|
|
|
/* Hide scrollbar for IE, Edge and Firefox */
|
|
-ms-overflow-style: none;
|
|
/* IE and Edge */
|
|
scrollbar-width: none;
|
|
/* Firefox */
|
|
|
|
.file-drop-sending-item {
|
|
width: 100%;
|
|
height: 64px;
|
|
overflow: hidden;
|
|
background-color: $backgroundSection;
|
|
border-radius: 12px;
|
|
position: relative;
|
|
padding: 8px;
|
|
|
|
.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;
|
|
}
|
|
|
|
margin-bottom: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.filename {
|
|
position: absolute;
|
|
top: 18px;
|
|
left: 8px;
|
|
font-size: 0.7em;
|
|
}
|
|
|
|
.v-progress-linear {
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.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 {
|
|
padding: 10px;
|
|
.v-btn {
|
|
.v-progress-circular {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
background: linear-gradient(0deg, #000 0%, #000 100%),
|
|
#4642f1;
|
|
}
|
|
}
|
|
|
|
.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 {
|
|
padding: 10px;
|
|
background-color: transparent;
|
|
|
|
.v-btn {
|
|
left: 8px;
|
|
right: 8px;
|
|
&.close {
|
|
background: $hiliteColor !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.send-attachments-info-popup {
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
border-radius: 24px 24px 0 0;
|
|
|
|
.done-button {
|
|
padding: 14px 24px;
|
|
}
|
|
|
|
.left-right-arrow {
|
|
background-color: transparent !important;
|
|
|
|
.v-btn__overlay {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.title {
|
|
font-family: "Inter", sans-serif;
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
line-height: 125%;
|
|
letter-spacing: 0.4px;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
text-overflow: ellipsis;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.attachment-info {
|
|
text-align: start;
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
|
|
.attachment-info__content {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.attachment-info__quality {
|
|
.attachment-info__quality__title {
|
|
font-family: "Inter", sans-serif;
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
line-height: 125%;
|
|
letter-spacing: 0.4px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.attachment-info__quality__class {
|
|
font-family: "Inter", sans-serif;
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
line-height: 125%;
|
|
letter-spacing: 0.4px;
|
|
vertical-align: middle;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
|
|
width: 156px;
|
|
padding: 10px 2px;
|
|
background-color: #242424;
|
|
border-radius: 8px;
|
|
border: 2px solid #242424;
|
|
|
|
&.selected {
|
|
border: 2px solid #4642F1;
|
|
}
|
|
|
|
.attachment-info__quality__class-name {
|
|
margin: 4px 0 3px 0;
|
|
}
|
|
|
|
.attachment-info__quality__class-size {
|
|
font-family: "Inter", sans-serif;
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
line-height: 125%;
|
|
letter-spacing: 0.4px;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
&:not(:last-of-type) {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
&:not(:first-of-type) {
|
|
margin-left: 8px;
|
|
}
|
|
}
|
|
|
|
.attachment-info__quality__info {
|
|
margin-top: 24px;
|
|
|
|
font-family: "Inter", sans-serif;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
line-height: 125%;
|
|
letter-spacing: 0.4px;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.attachment-info__detail-box {
|
|
margin-top: 32px;
|
|
padding: 16px;
|
|
border-radius: 8px;
|
|
background-color: $backgroundDark;
|
|
|
|
.detail-title {
|
|
font-family: "Inter", sans-serif;
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
line-height: 125%;
|
|
letter-spacing: 0.4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
white-space: nowrap;
|
|
.v-icon {
|
|
flex: 0 0 24px;
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
}
|
|
|
|
.detail-row {
|
|
margin-top: 12px;
|
|
font-family: "Inter", sans-serif;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
line-height: 125%;
|
|
letter-spacing: 0.4px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
display: flex;
|
|
|
|
.v-icon {
|
|
color: #dad9fc;
|
|
padding: 9.33px;
|
|
margin-right: 8px;
|
|
width: 32px;
|
|
height: 32px;
|
|
background-color: black;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.detail-row__text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.detail-row__title {
|
|
color: #dad9fc;
|
|
font-family: "Inter", sans-serif;
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
line-height: 125%;
|
|
letter-spacing: 0.4px;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
}
|
|
|
|
.attachment-info__verify-info {
|
|
font-family: "Inter", sans-serif;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
line-height: 125%;
|
|
letter-spacing: 0.4px;
|
|
margin-top: 22px;
|
|
padding-bottom: 4px;
|
|
|
|
a,
|
|
a:visited {
|
|
font-weight: 700;
|
|
color: white;
|
|
text-decoration: underline !important;
|
|
margin-right: 4px;
|
|
}
|
|
}
|
|
|
|
.attachment-info__download-button {
|
|
font-family: 'Poppins', sans-serif;
|
|
font-weight: 700;
|
|
font-size: 14 * $chat-text-size;
|
|
color: white;
|
|
background-color: transparent;
|
|
border: 1px solid white;
|
|
border-radius: 24 * $chat-text-size;
|
|
height: 48 * $chat-text-size;
|
|
|
|
flex: 0 0 (48 * $chat-text-size);
|
|
}
|
|
} |