mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 18:35:11 +08:00
0a5f548635
As part of this move, we are also renaming `discourse-chat` to `chat`.
72 lines
1.3 KiB
SCSS
72 lines
1.3 KiB
SCSS
.chat-composer-upload {
|
|
display: inline-flex;
|
|
height: 50px;
|
|
padding: 0.5rem;
|
|
border: 1px solid var(--primary-low-mid);
|
|
margin-right: 0.5em;
|
|
|
|
&:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.preview {
|
|
width: 50px;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 1em 0 0;
|
|
border-radius: 8px;
|
|
|
|
.d-icon {
|
|
font-size: var(--font-up-6);
|
|
}
|
|
|
|
.preview-img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
}
|
|
|
|
.data {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
line-height: var(--line-height-medium);
|
|
font-size: var(--font-down-1);
|
|
color: var(--primary-high);
|
|
|
|
.top-data,
|
|
.bottom-data {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.file-name {
|
|
display: inline-block;
|
|
max-width: 150px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
margin-right: 0.5em;
|
|
}
|
|
|
|
.uploading,
|
|
.processing {
|
|
font-size: var(--font-down-2);
|
|
margin-right: 0.75em;
|
|
}
|
|
|
|
.upload-progress {
|
|
width: 110px;
|
|
}
|
|
|
|
.extension-pill {
|
|
background: var(--primary-low);
|
|
border-radius: 5px;
|
|
font-size: var(--font-down-2-rem);
|
|
padding: 0.1em 0.4em;
|
|
}
|
|
}
|
|
}
|