TelegramPWA/src/components/middle/message/InvoiceMediaPreview.module.scss
2023-04-25 17:27:14 +04:00

47 lines
700 B
SCSS

.root {
position: relative;
z-index: 0;
overflow: hidden;
cursor: var(--custom-cursor, pointer);
}
.duration {
z-index: 2;
position: absolute;
top: 0.25rem;
left: 0.25rem;
white-space: nowrap;
font-size: 0.75rem;
padding: 0 0.375rem;
background-color: rgba(0, 0, 0, 0.3);
color: #FFFFFF;
border-radius: 0.5rem;
}
.buy {
display: flex;
align-items: center;
gap: 0.375rem;
z-index: 2;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 0.5rem 0.875rem;
background-color: rgba(0, 0, 0, 0.75);
color: #FFFFFF;
border-radius: 1rem;
white-space: nowrap;
line-height: 1rem;
}
.spoiler {
position: static;
}