주식 히스토리 API 및 블로그 작성 API 추가

This commit is contained in:
2026-03-11 08:08:39 +09:00
parent bbc9bf36f9
commit c6ac849a25
5 changed files with 1121 additions and 142 deletions

View File

@@ -854,6 +854,31 @@
border-color: rgba(243, 167, 167, 0.5) !important;
}
.pf-btn-sell {
color: #fbbf24 !important;
border-color: rgba(251, 191, 36, 0.5) !important;
}
.pf-sell-confirm {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.pf-sell-confirm__msg {
font-size: 12px;
color: var(--text-dim);
display: flex;
flex-direction: column;
gap: 2px;
}
.pf-sell-confirm__warn {
color: #fbbf24;
font-size: 11px;
}
.pf-null-price {
color: var(--muted) !important;
font-size: 12px !important;
@@ -964,6 +989,23 @@
text-align: right;
}
.pf-cash-edit-input {
border: 1px solid var(--neon-cyan);
border-radius: 8px;
padding: 6px 10px;
background: rgba(0, 212, 255, 0.05);
color: var(--text-bright);
font-size: 14px;
font-weight: 600;
width: 140px;
outline: none;
}
.pf-cash-edit-input:focus {
border-color: var(--neon-cyan);
box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.15);
}
.pf-cash-form {
display: grid;
grid-template-columns: 1fr 1fr auto;
@@ -1026,6 +1068,77 @@
font-size: 17px;
}
/* ── 자산 추이 차트 ─────────────────────────────────────────────────────── */
.pf-asset-history {
margin-top: 20px;
padding-top: 18px;
border-top: 1px solid var(--line-subtle);
}
.pf-asset-history__head {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 12px;
}
.pf-asset-history__title {
font-size: 13px;
font-weight: 600;
color: var(--text-dim);
letter-spacing: 0.03em;
}
.pf-asset-history__controls {
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
}
.pf-asset-period-btn {
padding: 4px 10px;
font-size: 11px;
font-weight: 600;
border-radius: 20px;
border: 1px solid var(--line);
background: transparent;
color: var(--text-muted);
cursor: pointer;
transition: all 0.15s ease;
}
.pf-asset-period-btn:hover {
border-color: var(--neon-cyan);
color: var(--neon-cyan);
}
.pf-asset-period-btn.is-active {
background: rgba(56, 189, 248, 0.12);
border-color: var(--neon-cyan);
color: var(--neon-cyan);
}
.pf-asset-history__empty {
display: flex;
align-items: center;
justify-content: center;
height: 80px;
font-size: 12px;
color: var(--text-muted);
text-align: center;
}
@media (max-width: 768px) {
.pf-asset-history__head {
flex-direction: column;
align-items: flex-start;
}
}
@media (max-width: 768px) {
.pf-cash-form {
grid-template-columns: 1fr 1fr;