152 lines
2.8 KiB
CSS
152 lines
2.8 KiB
CSS
.profile-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-top: 8px;
|
|
padding: 5px 9px;
|
|
border-radius: 999px;
|
|
background: var(--hy-theme-primary-soft, #f4ebff);
|
|
color: var(--primary-deep);
|
|
font-size: 13px;
|
|
font-weight: 750;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.income-card,
|
|
.task-card {
|
|
padding: 16px;
|
|
}
|
|
|
|
.section-head,
|
|
.income-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.section-head h2,
|
|
.income-head h2 {
|
|
min-width: 0;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
color: var(--text);
|
|
font-size: 18px;
|
|
font-weight: 950;
|
|
line-height: 1.2;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.income-value {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 18px;
|
|
color: #23272d;
|
|
font-size: 34px;
|
|
font-weight: 950;
|
|
line-height: 1;
|
|
}
|
|
|
|
.coin-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
flex: 0 0 28px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(145deg, #ffe179 0%, #ffb62d 52%, #f49b20 100%);
|
|
color: #fff;
|
|
font-size: 19px;
|
|
font-weight: 950;
|
|
box-shadow:
|
|
inset 0 1px 2px rgba(255, 255, 255, 0.7),
|
|
0 1px 2px rgba(195, 117, 12, 0.24);
|
|
}
|
|
|
|
.income-foot {
|
|
margin-top: 12px;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.task-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 28px;
|
|
padding: 0 10px;
|
|
border-radius: 999px;
|
|
background: var(--hy-theme-primary-soft, #f4ebff);
|
|
color: var(--primary-deep);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.task-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 10px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.task-item {
|
|
min-width: 0;
|
|
}
|
|
|
|
.task-item > span {
|
|
display: block;
|
|
overflow: hidden;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
line-height: 1.2;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.task-item strong {
|
|
display: block;
|
|
margin-top: 6px;
|
|
overflow-wrap: anywhere;
|
|
color: #292d33;
|
|
font-size: 17px;
|
|
font-weight: 950;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.progress-track {
|
|
height: 9px;
|
|
margin-top: 16px;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: var(--hy-theme-primary-soft, #f4ebff);
|
|
}
|
|
|
|
.progress-fill {
|
|
width: 0;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: var(--button);
|
|
transition: width 0.2s ease;
|
|
}
|
|
|
|
@media (max-width: 360px) {
|
|
.income-card,
|
|
.task-card {
|
|
padding-right: 18px;
|
|
padding-left: 18px;
|
|
}
|
|
|
|
.income-value {
|
|
font-size: 29px;
|
|
}
|
|
|
|
.task-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|