mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-09-13 14:22:25 +03:00

* Remove comments * Show custom emoji first in suggestions * Show global image packs in emoji picker * Display emoji and sticker in room settings * Fix some pack not visible in emojiboard * WIP * Add/delete/rename images to exisitng packs * Change pack avatar, name & attribution * Add checkbox to make pack global * Bug fix * Create or delete pack * Add personal emoji in settings * Show global pack selector in settings * Show space emoji in emojiboard * Send custom emoji reaction as mxc * Render stickers as stickers * Fix sticker jump bug * Fix reaction width * Fix stretched custom emoji * Fix sending space emoji in message * Remove unnessesary comments * Send user pills * Fix pill generating regex * Add support for sending stickers
75 lines
No EOL
1.2 KiB
SCSS
75 lines
No EOL
1.2 KiB
SCSS
@use '../../partials/text';
|
|
|
|
.file-header {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: var(--sp-ultra-tight) var(--sp-tight);
|
|
min-height: 42px;
|
|
|
|
& .file-name {
|
|
@extend .cp-txt__ellipsis;
|
|
flex: 1;
|
|
color: var(--tc-surface-low);
|
|
}
|
|
|
|
& a {
|
|
line-height: 0;
|
|
}
|
|
}
|
|
|
|
.file-container {
|
|
--media-max-width: 296px;
|
|
|
|
background-color: var(--bg-surface-hover);
|
|
border-radius: calc(var(--bo-radius) / 2);
|
|
overflow: hidden;
|
|
max-width: var(--media-max-width);
|
|
white-space: initial;
|
|
}
|
|
|
|
.image-container,
|
|
.video-container,
|
|
.audio-container {
|
|
font-size: 0;
|
|
line-height: 0;
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
|
|
.sticker-container {
|
|
display: inline-flex;
|
|
max-width: 128px;
|
|
width: 100%;
|
|
& img {
|
|
width: 100% !important;
|
|
}
|
|
}
|
|
|
|
.image-container {
|
|
& img {
|
|
max-width: unset !important;
|
|
width: 100% !important;
|
|
border-radius: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
}
|
|
|
|
.video-container {
|
|
& .ic-btn-surface {
|
|
background-color: var(--bg-surface-low);
|
|
}
|
|
video {
|
|
width: 100%
|
|
}
|
|
}
|
|
.audio-container {
|
|
audio {
|
|
width: 100%
|
|
}
|
|
} |