179 lines
2.9 KiB
SCSS
179 lines
2.9 KiB
SCSS
@use '../../../styles/mixins';
|
|
|
|
.root {
|
|
--premium-gradient: linear-gradient(88.39deg, #6C93FF -2.56%, #976FFF 51.27%, #DF69D1 107.39%);
|
|
--premium-feature-background: linear-gradient(65.85deg, #6C93FF -0.24%, #976FFF 53.99%, #DF69D1 110.53%);
|
|
|
|
user-select: none;
|
|
}
|
|
|
|
.root :global(.modal-content) {
|
|
padding: 0;
|
|
}
|
|
|
|
.root :global(.modal-dialog) {
|
|
// The preview must always be a square
|
|
max-width: 55vh;
|
|
}
|
|
|
|
.root :global(.modal-dialog), .root :global(.modal-content) {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.transition {
|
|
// TODO Refactor to get rid of unobvious constants
|
|
height: min(calc(55vh + 41px + 193px), 90vh);
|
|
}
|
|
|
|
.button {
|
|
font-weight: var(--font-weight-semibold);
|
|
font-size: 1rem;
|
|
height: 3rem;
|
|
}
|
|
|
|
.main {
|
|
padding: 1rem 0.5rem;
|
|
height: 100%;
|
|
overflow-y: scroll;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
|
|
@include mixins.adapt-padding-to-scrollbar(0.5rem);
|
|
}
|
|
|
|
.logo {
|
|
margin: 1rem;
|
|
width: 6.25rem;
|
|
height: 6.25rem;
|
|
min-height: 6.25rem;
|
|
}
|
|
|
|
.status-emoji {
|
|
--custom-emoji-size: 8rem;
|
|
|
|
margin: 1rem;
|
|
cursor: var(--custom-cursor, pointer);
|
|
}
|
|
|
|
.header-text {
|
|
font-size: 1.5rem;
|
|
font-weight: var(--font-weight-medium);
|
|
text-align: center;
|
|
margin-inline: 0.5rem;
|
|
}
|
|
|
|
.description {
|
|
text-align: center;
|
|
margin-inline: 0.5rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.list {
|
|
margin-bottom: 5rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.no-button {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.header {
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
border-bottom: 0.0625rem solid var(--color-borders);
|
|
position: absolute;
|
|
width: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
height: 3.5rem;
|
|
padding: 0.5rem;
|
|
background: var(--color-background);
|
|
transition: 0.25s ease-out transform;
|
|
}
|
|
|
|
.hidden-header {
|
|
transform: translateY(-100%);
|
|
}
|
|
|
|
.close-button {
|
|
position: absolute;
|
|
top: 0.5rem;
|
|
left: 0.5rem;
|
|
z-index: 3;
|
|
}
|
|
|
|
.premium-header-text {
|
|
font-size: 1.25rem;
|
|
font-weight: var(--font-weight-medium);
|
|
margin: 0 0 0 3rem;
|
|
unicode-bidi: plaintext;
|
|
}
|
|
|
|
.footer-text {
|
|
color: var(--color-text-secondary);
|
|
margin: 0.5rem;
|
|
font-size: 0.875rem;
|
|
unicode-bidi: plaintext;
|
|
}
|
|
|
|
.primary-footer-text {
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.footer {
|
|
position: absolute;
|
|
width: 100%;
|
|
background: var(--color-background);
|
|
border-top: 0.0625rem solid var(--color-borders);
|
|
left: 0;
|
|
bottom: 0;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.stickerSetText {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.stickerSetLink {
|
|
--custom-emoji-size: 1.5rem;
|
|
|
|
color: var(--color-links);
|
|
cursor: var(--custom-cursor, pointer);
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.stickerSetLinkIcon {
|
|
vertical-align: middle;
|
|
margin-inline-end: 0.25rem;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.root :global(.modal-dialog) {
|
|
width: 100%;
|
|
height: 100%;
|
|
max-width: 100% !important;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.root :global(.modal-content) {
|
|
max-height: 100vh;
|
|
}
|
|
|
|
.root .transition {
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
.subscriptionOptions {
|
|
width: 100%;
|
|
}
|
|
|
|
.subscriptionOption {
|
|
margin: 0.8125rem;
|
|
}
|