투자관리 차트탭 기능 수정

This commit is contained in:
Macbook
2026-05-31 16:31:25 +09:00
parent 1b7c39e11f
commit 78f00dbaa5
14 changed files with 935 additions and 111 deletions
+37 -4
View File
@@ -1216,36 +1216,69 @@
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
.btd-analysis-canvas-wrap {
flex: 1;
min-height: 320px;
min-height: 0;
position: relative;
overflow: hidden;
}
.btd-analysis-canvas-wrap--live {
display: flex;
flex-direction: column;
}
.btd-analysis-canvas-wrap--live .tv-chart-wrap {
flex: 1;
min-height: 0;
}
.btd-analysis-canvas-wrap .tv-chart-wrap {
height: 100% !important;
min-height: 320px;
min-height: 0 !important;
}
.btd-analysis-canvas-wrap .chart-container {
min-height: 320px;
min-height: 0 !important;
}
/* ── RSI / MACD pane ── */
/* ── 보조지표 pane ── */
.btd-osc-stack {
flex-shrink: 0;
display: flex;
flex-direction: column;
border-top: 1px solid var(--btd-divider);
overflow: hidden;
}
.btd-osc-stack--fill {
flex-shrink: 1;
overflow-y: auto;
overflow-x: hidden;
}
.btd-osc-pane {
padding: 6px 10px 4px;
border-bottom: 1px solid color-mix(in srgb, var(--btd-divider) 70%, transparent);
flex-shrink: 0;
}
.btd-osc-pane--fill {
flex: 1 1 0;
min-height: 52px;
display: flex;
flex-direction: column;
overflow: hidden;
}
.btd-osc-pane--fill .btd-osc-svg {
flex: 1 1 auto;
min-height: 36px;
height: auto;
}
.btd-osc-pane:last-child { border-bottom: none; }
+48
View File
@@ -72,6 +72,54 @@
max-height: none;
}
.ptd-analysis-chart--backtest {
position: relative;
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
.ptd-analysis-chart--backtest .btd-analysis-chart {
flex: 1;
min-height: 0;
height: 100%;
display: flex;
flex-direction: column;
}
.ptd-analysis-chart--backtest .btd-analysis-main {
flex: 1;
min-height: 0;
}
.ptd-analysis-chart--empty {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
text-align: center;
}
.ptd-analysis-chart-status {
position: absolute;
top: 8px;
right: 12px;
z-index: 4;
font-size: 11px;
padding: 4px 10px;
border-radius: 6px;
background: color-mix(in srgb, var(--bg3) 92%, transparent);
border: 1px solid var(--border);
color: var(--text2);
}
.ptd-analysis-chart-status--err {
color: var(--down, #ef4444);
}
.ptd-ind-stack {
flex: 1;
min-height: 0;
@@ -2805,6 +2805,59 @@
gap: 12px;
width: 100%;
}
.ptd-center-head--chart {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
gap: 10px;
}
.ptd-center-head--chart .ptd-tabs--center {
justify-self: start;
}
.ptd-center-head--chart .ptd-center-head-center {
justify-self: center;
min-width: 0;
}
.ptd-center-head--chart .bps-center-head-title {
justify-self: end;
}
.ptd-chart-market-select-wrap {
display: inline-flex;
align-items: center;
min-width: 0;
}
.ptd-chart-market-select {
min-width: min(220px, 42vw);
max-width: 280px;
padding: 5px 28px 5px 10px;
border-radius: 6px;
border: 1px solid var(--se-border, var(--border));
background: var(--gc-surface-2, rgba(255, 255, 255, 0.06));
color: var(--text);
font-size: 12px;
font-weight: 600;
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2394a3b8' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 10px center;
}
.ptd-chart-market-select:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.ptd-chart-market-select:focus {
outline: none;
border-color: color-mix(in srgb, var(--gc-trade-buy, #ef5350) 55%, var(--border));
}
.ptd-tabs--center {
flex-shrink: 0;
border-bottom: none;