2026-07-17 11:54:43 +08:00

314 lines
5.5 KiB
CSS

.withdraw-tabs {
position: absolute;
top: 88px;
left: 0;
display: flex;
align-items: center;
gap: 43px;
width: 230px;
height: 44px;
padding: 0 24px;
}
.withdraw-tab {
position: relative;
height: 44px;
color: rgba(51, 51, 51, 0.4);
font-size: 16px;
font-weight: 400;
line-height: 16px;
white-space: nowrap;
}
.withdraw-tab.is-active {
color: var(--fami-text);
font-weight: 500;
}
.withdraw-tab.is-active::after {
position: absolute;
bottom: 6px;
left: 50%;
width: 21px;
height: 4px;
background: url('../../products/fami/centers/assets/fami/underline.svg')
center / 21px 4px no-repeat;
content: '';
transform: translateX(-50%);
}
.withdraw-amount-panel {
position: absolute;
top: 144px;
right: 12px;
left: 12px;
height: 104px;
border-radius: 12px;
padding: 10px;
background: url('../../products/fami/centers/assets/fami/withdraw-panel.svg')
center / 100% 100% no-repeat;
}
.withdraw-balance-line {
display: flex;
align-items: center;
height: 20px;
color: var(--fami-copy);
font-size: 12px;
font-weight: 400;
line-height: 14px;
letter-spacing: -0.48px;
text-transform: capitalize;
}
.withdraw-balance-line,
.withdraw-amount-input {
margin-bottom: 6px;
}
.withdraw-balance-value {
display: flex;
align-items: center;
gap: 7px;
margin-left: 7px;
color: var(--fami-text);
font-size: 14px;
font-weight: 500;
line-height: 18px;
letter-spacing: 0;
}
.withdraw-balance-value img {
width: 20px;
height: 20px;
object-fit: contain;
}
.withdraw-amount-input {
display: flex;
align-items: center;
width: 285px;
height: 31px;
}
.withdraw-amount-input img {
width: 21px;
height: 31px;
}
.withdraw-amount-input input {
width: 240px;
height: 31px;
border: 0;
padding: 0;
background: transparent;
color: var(--fami-text);
font-size: 19.286px;
font-weight: 400;
line-height: 27px;
letter-spacing: -0.771px;
}
.withdraw-amount-input input::placeholder {
color: var(--fami-muted);
opacity: 1;
text-transform: capitalize;
}
.withdraw-ratio-line {
display: flex;
align-items: center;
height: 16px;
color: var(--fami-copy);
font-size: 10px;
font-weight: 400;
line-height: 14px;
letter-spacing: -0.4px;
text-transform: capitalize;
}
.withdraw-ratio-value {
display: flex;
align-items: center;
gap: 3px;
margin-left: 5px;
color: var(--fami-text);
font-size: 11.2px;
font-weight: 500;
line-height: 15px;
letter-spacing: 0;
}
.withdraw-ratio-value img {
width: 16px;
height: 16px;
object-fit: contain;
}
.withdraw-section-title {
position: absolute;
top: 256px;
left: 12px;
height: 16px;
margin: 0;
color: var(--fami-text);
font-size: 16px;
font-weight: 500;
line-height: 16px;
white-space: nowrap;
}
.withdraw-section-copy {
position: absolute;
top: 284px;
left: 12px;
margin: 0;
color: var(--fami-copy);
font-size: 12px;
font-weight: 400;
line-height: 17px;
letter-spacing: -0.48px;
text-transform: capitalize;
white-space: nowrap;
}
.dealer-list {
position: absolute;
top: 284px;
right: 12px;
left: 12px;
display: grid;
gap: 12px;
}
.dealer-card {
position: relative;
display: flex;
align-items: center;
gap: 12px;
width: 100%;
height: 76px;
border-radius: 8px;
padding: 12px;
background: #ffffff;
text-align: left;
}
.dealer-card__avatar {
width: 52px;
height: 52px;
border-radius: 50%;
object-fit: cover;
}
.dealer-card__copy {
display: flex;
min-width: 0;
flex: 1;
flex-direction: column;
gap: 8px;
color: var(--fami-text);
text-transform: capitalize;
}
.dealer-card__copy strong {
overflow: hidden;
font-size: 16px;
font-weight: 600;
line-height: 19px;
text-overflow: ellipsis;
white-space: nowrap;
}
.dealer-card__copy span {
font-size: 12px;
font-weight: 500;
line-height: 14px;
}
.dealer-card__radio {
width: 20px;
height: 20px;
}
.withdraw-submit,
.address-submit-button,
.gold-submit-button {
position: absolute;
top: 599px;
left: 40px;
}
.withdraw-address-card {
position: absolute;
top: 313px;
right: 12px;
left: 12px;
display: flex;
align-items: center;
gap: 12px;
min-height: 96px;
border-radius: 8px;
padding: 12px;
background: #ffffff;
text-align: left;
}
.withdraw-address-card__avatar {
width: 72px;
height: 72px;
border-radius: 50%;
object-fit: cover;
object-position: center 26%;
}
.withdraw-address-card__copy {
display: flex;
min-width: 0;
flex: 1;
flex-direction: column;
gap: 8px;
color: var(--fami-text);
text-transform: capitalize;
}
.withdraw-address-card__copy strong {
font-size: 16px;
font-weight: 600;
line-height: 19px;
}
.withdraw-address-card__copy span {
max-width: 166px;
overflow-wrap: anywhere;
font-size: 12px;
font-weight: 500;
line-height: 17px;
}
.address-add-button {
position: absolute;
top: 526px;
left: 48px;
}
.address-submit-button {
top: 598px;
left: 48px;
}
.gold-submit-button {
top: 526px;
}
[dir='rtl'] .withdraw-balance-value,
[dir='rtl'] .withdraw-ratio-value {
margin-right: 7px;
margin-left: 0;
}
[dir='rtl'] .dealer-card,
[dir='rtl'] .withdraw-address-card {
text-align: right;
}