133 lines
2.5 KiB
CSS
133 lines
2.5 KiB
CSS
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Spacing-x4);
|
|
position: relative;
|
|
scroll-margin-top: calc(var(--current-mobile-site-header-height) * 2);
|
|
}
|
|
|
|
.card {
|
|
background-color: var(--UI-Opacity-White-100);
|
|
border: 1px solid var(--Base-Border-Subtle);
|
|
border-radius: var(--Corner-radius-Medium);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Spacing-x2);
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: var(--Spacing-x3);
|
|
}
|
|
|
|
.btnContainer {
|
|
padding: 0 var(--Spacing-x3) var(--Spacing-x3);
|
|
}
|
|
|
|
.badge {
|
|
border-radius: var(--Small, 4px);
|
|
border: 1px solid var(--Base-Border-Subtle);
|
|
display: flex;
|
|
padding: var(--Spacing-x1) var(--Spacing-x2);
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.redeemed {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: var(--Spacing-x-half);
|
|
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-Medium);
|
|
box-shadow: 0px 4px 24px 0px rgba(38, 32, 30, 0.08);
|
|
width: 100%;
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
z-index: 101;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.modal {
|
|
left: auto;
|
|
bottom: auto;
|
|
width: 400px;
|
|
}
|
|
}
|
|
|
|
.dialog {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding-bottom: var(--Spacing-x3);
|
|
}
|
|
|
|
.modalHeader {
|
|
--button-height: 32px;
|
|
box-sizing: content-box;
|
|
display: flex;
|
|
align-items: center;
|
|
height: var(--button-height);
|
|
position: relative;
|
|
justify-content: center;
|
|
padding: var(--Spacing-x3) var(--Spacing-x2) 0;
|
|
}
|
|
|
|
.modalContent {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: var(--Spacing-x2);
|
|
padding: 0 var(--Spacing-x3) var(--Spacing-x3);
|
|
}
|
|
|
|
.modalFooter {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0 var(--Spacing-x3) var(--Spacing-x1);
|
|
gap: var(--Spacing-x-one-and-half);
|
|
}
|
|
|
|
.modalFooter > button {
|
|
flex: 1 0 100%;
|
|
}
|
|
|
|
.modalClose {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
position: absolute;
|
|
right: var(--Spacing-x2);
|
|
width: 32px;
|
|
height: var(--button-height);
|
|
display: flex;
|
|
align-items: center;
|
|
}
|