Alexander Zinchuk ee1b137d0e Dark Theme
2021-04-12 17:52:01 +03:00

95 lines
1.8 KiB
SCSS

.StickerPicker {
height: 100%;
&-main {
position: relative;
height: calc(100% - 3rem);
overflow-y: auto;
padding: 0.5rem;
@media (max-width: 600px) {
padding: 0.5rem 0.25rem;
}
}
&-header {
height: 3rem;
border-bottom: 1px solid var(--color-borders);
padding: 0.125rem 0;
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
box-shadow: 0 0 2px var(--color-default-shadow);
scrollbar-width: none;
scrollbar-color: rgba(0, 0, 0, 0);
&::-webkit-scrollbar {
height: 0;
}
&::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0);
}
// Spacer to counter last button margin not being accounted in scroll width
&::after {
content: "";
display: block;
flex-shrink: 0;
width: 0.1px;
height: 1rem;
}
.sticker-set-button {
display: inline-flex;
vertical-align: middle;
&.StickerButton {
background-size: 2rem;
img, .AnimatedSticker {
top: 0.375rem;
left: 0.375rem;
width: 2rem;
height: 2rem;
}
}
.sticker-set-cover {
width: 2rem;
height: 2rem;
position: relative;
display: flex;
align-items: center;
justify-content: center;
img, .AnimatedSticker {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
}
}
}
.symbol-set-container {
width: 25rem;
line-height: 0;
@media (max-width: 600px) {
width: 100%;
}
}
.sticker-set-button {
width: 2.75rem !important;
height: 2.75rem;
margin: 0 0.25rem;
border-radius: var(--border-radius-messages-small);
}
}