TelegramPWA/src/components/middle/message/ReactionSelector.scss
Alexander Zinchuk 4f42b676ce Settings: Performance mode (#3045)
Co-authored-by: Alexander Zinchuk <alx.zinchuk@gmail.com>
2023-04-25 17:28:03 +04:00

114 lines
2.0 KiB
SCSS

.ReactionSelector {
position: absolute;
height: 2.5rem;
min-width: 3rem;
max-width: calc(100% + 4rem);
z-index: 100;
border-radius: 3rem;
right: -2rem;
top: 0.5rem;
&--isRtl {
right: auto;
left: -3rem;
}
@media (max-width: 600px) {
left: 0;
right: 0;
display: flex;
justify-content: center;
}
&__bubble-big,
&__bubble-small,
&__items-wrapper {
background: var(--color-background);
filter: drop-shadow(0 0.25rem 0.125rem var(--color-default-shadow));
body:not(.no-menu-blur) & {
background: var(--color-background-compact-menu);
backdrop-filter: blur(10px);
}
body.is-safari & {
filter: none;
box-shadow: 0 0.25rem 0.125rem var(--color-default-shadow);
}
}
&__bubble-big {
position: absolute;
display: block;
content: "";
right: 1.125rem;
bottom: -0.5rem;
width: 1rem;
height: 0.5rem;
border-top: 0;
border-left: 0;
border-right: 0;
border-radius: 0 0 1rem 1rem;
z-index: -1;
&--isRtl {
right: auto;
left: 1.5rem;
}
@media (max-width: 600px) {
display: none;
}
}
&__bubble-small {
position: absolute;
display: block;
content: "";
right: 1.125rem;
bottom: -1.25rem;
width: 0.5rem;
height: 0.5rem;
border-radius: 50%;
&--isRtl {
right: auto;
left: 2.125rem;
}
@media (max-width: 600px) {
display: none;
}
}
&__items-wrapper {
width: 100%;
height: 100%;
border-radius: 3rem;
@media (max-width: 600px) {
width: fit-content;
}
}
&__items {
padding: 0 0.5rem;
width: 100%;
height: 100%;
display: flex;
cursor: var(--custom-cursor, pointer);
align-items: center;
border-radius: 3rem;
}
&__show-more {
width: 2rem;
height: 2rem;
padding: 0;
margin-inline-start: 0.25rem;
margin-inline-end: -0.125rem;
border-radius: 50%;
font-size: 1.5rem;
}
}