mirror of
https://github.com/discourse/discourse.git
synced 2025-01-06 12:59:56 +08:00
aa89acbda6
Key changes include: - `@uppy/aws-s3-multipart` is now part of `@uppy/aws-s3`, and controlled with a boolean - Some minor changes/renames to Uppy APIs - Uppy has removed batch signing from their S3 multipart implementation. This commit implements a batching system outside of Uppy to avoid needing one-signing-request-per-part - Reduces concurrent part uploads to 6, because S3 uses HTTP/1.1 and browsers limit concurrent connections to 6-per-host. - Upstream drop-target implementation has changed slightly, so we now need `pointer-events: none` on the hover element
32 lines
733 B
SCSS
32 lines
733 B
SCSS
.admin-contents.admin-emojis {
|
|
#custom_emoji .select-kit,
|
|
.emoji-uploader .select-kit {
|
|
max-width: 210px;
|
|
}
|
|
#custom_emoji td.action {
|
|
text-align: right;
|
|
}
|
|
#emoji-uploader {
|
|
transition: box-shadow ease-in-out 0.25s;
|
|
}
|
|
.uppy-is-drag-over {
|
|
box-shadow: 0 0px 52px 0 #ffffff, 0px 7px 33px 0 var(--tertiary-low);
|
|
pointer-events: none;
|
|
}
|
|
#custom_emoji.highlighted {
|
|
background: var(--tertiary-very-low);
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
animation: background-fade-highlight 2.5s ease-out;
|
|
}
|
|
}
|
|
}
|
|
.admin-emojis__header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
a {
|
|
font-size: var(--font-up-1);
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|