52 lines
1.5 KiB
CSS
52 lines
1.5 KiB
CSS
/* 余额充值:预设金额、手工金额与步骤表单。 */
|
|
/* 导入方:app/components/RechargeDialog.vue、app/components/home/HomeWalletCard.vue、app/pages/finance/index.vue、app/pages/index.vue。 */
|
|
.step[data-v-c038cb91] {
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
display: flex;
|
|
}
|
|
.field-label[data-v-c038cb91] {
|
|
color: var(--p-text-color, #334155);
|
|
font-size: 0.9375rem;
|
|
}
|
|
.recharge-options[data-v-c038cb91] {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 7px;
|
|
margin-bottom: 21px;
|
|
display: grid;
|
|
}
|
|
.recharge-option[data-v-c038cb91] {
|
|
border: 1px solid var(--p-content-border-color);
|
|
height: 56px;
|
|
color: var(--p-text-color);
|
|
cursor: pointer;
|
|
background: 0 0;
|
|
border-radius: 5px;
|
|
font-size: 1.0625rem;
|
|
}
|
|
.recharge-option.active[data-v-c038cb91] {
|
|
border-color: var(--p-primary-color);
|
|
color: var(--p-primary-color);
|
|
background: var(--p-highlight-background);
|
|
}
|
|
/* 键盘操作的可见焦点:不要只保留鼠标 hover 效果而移除此反馈。 */
|
|
.recharge-option[data-v-c038cb91]:focus-visible {
|
|
outline: 2px solid var(--p-primary-color);
|
|
outline-offset: 2px;
|
|
}
|
|
.custom-amount[data-v-c038cb91] {
|
|
grid-column: span 2;
|
|
min-width: 0;
|
|
}
|
|
.custom-amount[data-v-c038cb91] input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: 56px;
|
|
}
|
|
/* 视口条件 (width<=480px) 下的响应式覆盖;保留相对基础规则的层叠顺序。 */
|
|
@media (width<=480px) {
|
|
.recharge-options[data-v-c038cb91] {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|