투자관리 수정

This commit is contained in:
Macbook
2026-05-31 15:30:14 +09:00
parent d6eedf19bb
commit 1b7c39e11f
9 changed files with 553 additions and 328 deletions
+111 -8
View File
@@ -2834,6 +2834,54 @@
padding-top: 8px;
border-top: 1px solid var(--se-border);
}
.ptd-invest-metrics .ptd-metrics-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.ptd-invest-metrics .ptd-metric {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 10px 12px;
border-radius: 6px;
background: var(--gc-surface-2, rgba(255, 255, 255, 0.04));
border: 1px solid var(--se-border, var(--border));
min-width: 0;
}
.ptd-invest-metrics .ptd-metric-label {
flex-shrink: 0;
font-size: 11px;
font-weight: 600;
color: var(--text3);
white-space: nowrap;
}
.ptd-invest-metrics .ptd-metric-value {
flex: 1;
min-width: 0;
font-size: 15px;
font-weight: 800;
text-align: right;
font-variant-numeric: tabular-nums;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: var(--text);
}
.ptd-invest-metrics .ptd-metric--up .ptd-metric-value {
color: #22c55e;
}
.ptd-invest-metrics .ptd-metric--down .ptd-metric-value {
color: #ef4444;
}
.bps-page--ptd .ptd-right-history {
flex: 1;
min-height: 0;
@@ -2920,24 +2968,79 @@
gap: 10px;
}
.ptd-asset-trend {
padding: 8px 12px;
border-radius: 6px;
background: var(--gc-surface-2, rgba(255,255,255,0.04));
}
.ptd-asset-trend-head {
display: flex;
justify-content: space-between;
font-size: 12px;
margin-bottom: 4px;
flex-direction: column;
border-radius: 6px;
background: var(--gc-surface-2, rgba(255, 255, 255, 0.04));
border: 1px solid var(--se-border, var(--border));
overflow: hidden;
min-width: 0;
}
.ptd-asset-trend-titlebar {
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
min-height: 24px;
padding: 3px 10px;
border-bottom: 1px solid color-mix(in srgb, var(--se-border, var(--border)) 65%, transparent);
}
.ptd-asset-trend-titlegroup {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
min-width: 0;
flex: 1;
}
.ptd-asset-trend-title {
flex-shrink: 0;
font-size: 14px;
font-weight: 700;
color: #ff9800;
letter-spacing: 0.04em;
line-height: 1.2;
}
.ptd-asset-trend-hint {
font-size: 11px;
font-weight: 400;
color: var(--text3);
opacity: 0.78;
line-height: 1.3;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ptd-asset-trend-body {
padding: 8px 12px 10px;
min-width: 0;
}
.ptd-asset-trend-last {
flex-shrink: 0;
font-size: 11px;
font-weight: 600;
color: var(--text2);
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.ptd-asset-trend-svg {
width: 100%;
height: 48px;
display: block;
}
.ptd-asset-trend-range {
display: flex;
justify-content: space-between;
font-size: 10px;
opacity: 0.6;
margin-top: 2px;
}