Files
web/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/redeem.module.css
Erik Tiekstra 4de24e9f2a feat(BOOK-391): Added theme and logos for Bassin Seven
* chore: Updated border-radius variables after import change

Approved-by: Linus Flood
2026-01-22 07:03:25 +00:00

142 lines
2.5 KiB
CSS

.badge {
border-radius: var(--Small, 4px);
border: 1px solid var(--Base-Border-Subtle);
display: flex;
padding: var(--Space-x1) var(--Space-x2);
flex-direction: column;
justify-content: center;
align-items: center;
}
.rewardLabel {
text-align: center;
color: var(--Text-Heading);
}
.redeemed {
display: flex;
justify-content: center;
align-items: center;
gap: var(--Space-x05);
align-self: stretch;
}
.overlay {
background: rgba(0, 0, 0, 0.5);
height: var(--visual-viewport-height);
position: fixed;
top: 0;
left: 0;
width: 100vw;
z-index: 100;
}
@media screen and (min-width: 768px) {
.overlay {
display: flex;
justify-content: center;
align-items: center;
}
}
.modal {
background-color: var(--Base-Surface-Primary-light-Normal);
border-radius: var(--Corner-Radius-md);
box-shadow: var(--modal-box-shadow);
width: 100%;
max-height: 90vh;
position: absolute;
left: 0;
bottom: 0;
z-index: 101;
display: flex;
flex-direction: column;
}
@media screen and (min-width: 768px) {
.modal {
left: auto;
bottom: auto;
width: 400px;
max-height: 80vh;
}
}
.dialog {
display: flex;
flex-direction: column;
padding-bottom: var(--Space-x3);
overflow: hidden;
height: 100%;
}
.modalHeader {
--button-height: 32px;
box-sizing: content-box;
display: flex;
align-items: center;
height: var(--button-height);
position: relative;
justify-content: center;
padding: var(--Space-x3) var(--Space-x2) 0;
flex-shrink: 0;
}
.modalContent {
display: grid;
grid-template-columns: 1fr;
place-items: center;
gap: var(--Space-x2);
padding: 0 var(--Space-x3) var(--Space-x3);
overflow-y: auto;
flex-grow: 1;
}
.modalFooter {
display: flex;
flex-direction: column;
padding: 0 var(--Space-x3) var(--Space-x1);
gap: var(--Space-x15);
flex-shrink: 0;
}
.modalFooter > button {
flex: 1 0 100%;
}
.modalClose {
background: none;
border: none;
cursor: pointer;
position: absolute;
right: var(--Space-x2);
width: 32px;
height: var(--button-height);
display: flex;
align-items: center;
}
.active {
display: flex;
align-items: center;
gap: var(--Space-x05);
color: var(--UI-Semantic-Success);
}
.rewardBadge {
border-radius: var(--Corner-Radius-sm);
padding: var(--Space-x1) var(--Space-x15);
background: var(--Base-Surface-Secondary-light-Normal);
display: grid;
gap: var(--Space-x05);
text-align: center;
}
.redeemButton {
width: 100%;
}
.rewardDescription {
text-align: center;
}