142 lines
2.2 KiB
SCSS
142 lines
2.2 KiB
SCSS
.root {
|
|
--accent-color: var(--color-primary);
|
|
|
|
position: relative;
|
|
height: 0;
|
|
/* stylelint-disable-next-line plugin/no-low-performance-animation-properties */
|
|
transition: height 150ms ease-out, opacity 150ms ease-out;
|
|
|
|
&:global(.open) {
|
|
height: 3.125rem;
|
|
}
|
|
|
|
:global {
|
|
body.no-page-transitions & {
|
|
transition: opacity 150ms ease-out;
|
|
}
|
|
|
|
.select-mode-active + .middle-column-footer & {
|
|
display: none;
|
|
}
|
|
|
|
.ComposerEmbeddedMessage + & {
|
|
body.no-message-composer-animations & {
|
|
transition: opacity 150ms ease-out;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.inner {
|
|
display: flex;
|
|
align-items: center;
|
|
padding-top: 0.5rem;
|
|
}
|
|
|
|
.contextMenu {
|
|
position: absolute;
|
|
|
|
:global(.bubble) {
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
.clear {
|
|
flex-shrink: 0;
|
|
align-self: center;
|
|
|
|
width: auto !important;
|
|
height: 1.5rem;
|
|
margin: 0.5625rem 1rem 0.5625rem 0.75rem;
|
|
padding: 0;
|
|
|
|
color: var(--accent-color);
|
|
|
|
background: none !important;
|
|
|
|
@media (max-width: 600px) {
|
|
margin: 0.5625rem 0.75rem 0.5625rem 0.5rem;
|
|
}
|
|
}
|
|
|
|
.left-icon {
|
|
display: grid;
|
|
flex-shrink: 0;
|
|
place-content: center;
|
|
|
|
height: 2.625rem;
|
|
padding: 0.5625rem 0.75rem 0.5625rem 1rem;
|
|
|
|
font-size: 1.5rem;
|
|
color: var(--accent-color);
|
|
|
|
background: none !important;
|
|
|
|
@media (max-width: 600px) {
|
|
width: 2.875rem;
|
|
}
|
|
}
|
|
|
|
.preview {
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-grow: 1;
|
|
|
|
max-width: calc(100% - 3.375rem);
|
|
padding-block: 0.1875rem;
|
|
padding-inline: 0.5rem 0.375rem;
|
|
}
|
|
|
|
.previewText {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
min-width: 0;
|
|
|
|
font-size: calc(var(--message-text-size, 1rem) - 0.0625rem);
|
|
line-height: 1.125rem;
|
|
}
|
|
|
|
.previewImageContainer {
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
|
|
width: 2rem;
|
|
height: 2rem;
|
|
margin-block: 0.125rem;
|
|
margin-inline: 0 0.375rem;
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
.previewImage {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
}
|
|
|
|
.siteName,
|
|
.siteDescription {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.siteDescription {
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.interactive {
|
|
cursor: var(--custom-cursor, pointer);
|
|
|
|
&:active {
|
|
background-color: var(--background-active-color);
|
|
}
|
|
}
|