분석레포트 타임라인 표시

This commit is contained in:
Macbook
2026-06-10 16:53:03 +09:00
parent 55b1c75226
commit bf5554d375
12 changed files with 2032 additions and 28 deletions
+960 -1
View File
@@ -191,8 +191,66 @@
background: var(--se-panel-card-bg);
border: 1px solid var(--se-panel-card-border);
box-shadow: var(--se-panel-card-shadow), inset 0 1px 0 color-mix(in srgb, var(--se-text) 4%, transparent);
overflow: hidden;
padding: 10px 12px 12px;
}
.bps-page--arp .arp-center-tabs {
display: flex;
gap: 4px;
flex-shrink: 0;
margin-bottom: 10px;
padding: 3px;
border-radius: 10px;
background: color-mix(in srgb, var(--text) 5%, transparent);
border: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
}
.bps-page--arp .arp-center-tab {
flex: 1;
border: none;
background: transparent;
color: var(--text3);
font-size: 12px;
font-weight: 700;
padding: 8px 12px;
border-radius: 8px;
cursor: pointer;
transition: background 0.15s, color 0.15s;
}
.bps-page--arp .arp-center-tab:hover {
color: var(--text2);
background: color-mix(in srgb, var(--text) 6%, transparent);
}
.bps-page--arp .arp-center-tab--on {
color: var(--text);
background: var(--bg3);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.bps-page--arp .arp-center-tab-body {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
.bps-page--arp .arp-center-tab-body .arp-center-inner {
flex: 1;
min-height: 0;
overflow: auto;
padding: 12px 14px 14px;
}
.bps-page--arp .arp-center-tab-body .arp-report-empty {
flex: 1;
min-height: 200px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.bps-page--arp .arp-center-shell .arp-report-empty {
@@ -1859,3 +1917,904 @@
.bps-page--arp .arp-report-print-footer--signals {
font-size: 0.72rem;
}
/* ── 툴바 거래 이력 아이콘 ── */
.bps-page--arp .arp-toolbar-icon-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 34px;
min-width: 34px;
padding: 0;
}
.bps-page--arp .arp-toolbar-icon-btn svg {
opacity: 0.88;
}
/* ── 실시간 거래 이력 타임라인 (패널 / 팝업) ── */
.arp-timeline-panel {
display: flex;
flex-direction: column;
gap: 8px;
min-height: 0;
}
.arp-timeline-panel--embedded {
flex: 1;
height: 100%;
}
.arp-timeline-panel-toolbar {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 10px;
flex-shrink: 0;
flex-wrap: wrap;
}
.arp-timeline-panel-toolbar .arp-timeline-head {
flex: 1;
min-width: 180px;
}
.arp-timeline-panel-body {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
.arp-timeline-badge {
font-size: 11px;
font-weight: 800;
padding: 2px 8px;
border-radius: 999px;
background: color-mix(in srgb, #c9a227 22%, transparent);
color: #c9a227;
}
.arp-timeline-popup .app-popup-body.arp-timeline-popup__body {
display: flex;
flex-direction: column;
gap: 8px;
max-height: min(72vh, 640px);
padding-top: 4px;
}
.arp-timeline-popup .arp-timeline-panel {
flex: 1;
min-height: 0;
}
.bps-page--arp .arp-timeline-panel--embedded .arp-timeline-scroll,
.bps-page--arp .arp-timeline-panel--embedded .arp-timeline-split-scroll,
.bps-page--arp .arp-timeline-panel--embedded .arp-timeline-axis-scroll {
flex: 1;
min-height: 200px;
max-height: none;
}
.bps-page--arp .arp-timeline-panel--embedded.arp-timeline-panel--split .arp-timeline-split-scroll,
.bps-page--arp .arp-timeline-panel--embedded.arp-timeline-panel--axis .arp-timeline-axis-scroll {
max-height: none;
}
.bps-page--arp .arp-timeline-panel--embedded.arp-timeline-panel--axis .arp-timeline-panel-body {
min-height: 480px;
}
.arp-timeline-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 8px;
flex-shrink: 0;
}
.arp-timeline-scope {
font-size: 12px;
font-weight: 700;
color: var(--text);
}
.arp-timeline-hint {
font-size: 10px;
color: var(--text3);
}
.arp-timeline-refresh {
border: none;
background: transparent;
color: var(--text2);
font-size: 16px;
line-height: 1;
cursor: pointer;
padding: 2px 6px;
border-radius: 4px;
}
.arp-timeline-refresh:hover {
color: var(--text);
background: color-mix(in srgb, var(--text) 8%, transparent);
}
.arp-timeline-empty,
.arp-timeline-error {
margin: 12px 0;
font-size: 12px;
text-align: center;
color: var(--text3);
}
.arp-timeline-error {
color: var(--se-sell, #ef4444);
}
.arp-timeline-scroll {
position: relative;
flex: 1;
min-height: 120px;
max-height: min(58vh, 520px);
overflow-y: auto;
padding-right: 4px;
}
.arp-timeline-item {
cursor: default;
}
/* ── 공통 봉 시간 카드 ── */
.arp-timeline-bar-time {
min-width: 96px;
padding: 7px 10px;
border-radius: 4px;
background: rgba(12, 12, 16, 0.96);
border: 2px solid rgba(255, 255, 255, 0.18);
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
text-align: center;
flex-shrink: 0;
box-sizing: border-box;
}
.arp-timeline-bar-time--buy {
border-color: rgba(34, 197, 94, 0.65);
background: linear-gradient(0deg, rgba(34, 197, 94, 0.16), rgba(12, 12, 16, 0.96));
}
.arp-timeline-bar-time--sell {
border-color: rgba(239, 68, 68, 0.65);
background: linear-gradient(180deg, rgba(239, 68, 68, 0.16), rgba(12, 12, 16, 0.96));
}
.arp-timeline-bar-time-label {
display: block;
font-size: 13px;
font-weight: 800;
letter-spacing: -0.02em;
line-height: 1.3;
color: rgba(255, 255, 255, 0.96);
white-space: nowrap;
}
.arp-timeline-bar-time-tf {
display: block;
margin-top: 3px;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
opacity: 0.58;
}
.arp-timeline-bar-time--compact {
min-width: 88px;
padding: 6px 9px;
}
.arp-timeline-bar-time--compact .arp-timeline-bar-time-label {
font-size: 12px;
}
.arp-timeline-bar-time--segment {
min-width: 0;
padding: 0;
border: none;
background: transparent;
box-shadow: none;
}
.arp-timeline-bar-time--segment .arp-timeline-bar-time-label {
font-size: 14px;
font-weight: 800;
color: #fff;
letter-spacing: -0.01em;
}
/* 세로 목록 — 타임라인 지점 */
.arp-timeline-scroll--list {
padding-left: 4px;
}
.arp-timeline-scroll--list .btd-timeline-line {
display: none;
}
.arp-timeline-item--bar-anchor {
position: relative;
display: grid;
grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
gap: 10px;
align-items: start;
padding-left: 0 !important;
margin-bottom: 12px;
}
.arp-timeline-item--bar-anchor .arp-timeline-bar-time--list-node {
position: relative;
z-index: 1;
margin-top: 4px;
}
.arp-timeline-item--bar-anchor::before {
content: '';
position: absolute;
left: 46px;
top: 0;
bottom: -12px;
width: 2px;
background: linear-gradient(180deg, rgba(201, 162, 39, 0.45), rgba(201, 162, 39, 0.08));
pointer-events: none;
}
.arp-timeline-item--bar-anchor:last-child::before {
bottom: 50%;
}
.arp-timeline-item--signal .btd-timeline-node {
border-color: #6366f1;
background: color-mix(in srgb, #6366f1 18%, var(--bg3));
}
.arp-timeline-item--pending .btd-timeline-node {
border-color: #f59e0b;
background: color-mix(in srgb, #f59e0b 18%, var(--bg3));
}
.arp-timeline-item--fill.arp-timeline-item--buy .btd-timeline-node {
border-color: #22c55e;
background: color-mix(in srgb, #22c55e 18%, var(--bg3));
}
.arp-timeline-item--fill.arp-timeline-item--sell .btd-timeline-node {
border-color: #ef4444;
background: color-mix(in srgb, #ef4444 18%, var(--bg3));
}
.arp-timeline-kind {
display: inline-block;
margin-right: 6px;
padding: 2px 7px;
border-radius: 999px;
font-size: 10px;
font-weight: 800;
letter-spacing: -0.02em;
}
.arp-timeline-kind--signal {
background: rgba(99, 102, 241, 0.14);
color: #818cf8;
border: 1px solid rgba(99, 102, 241, 0.28);
}
.arp-timeline-kind--pending {
background: rgba(245, 158, 11, 0.14);
color: #fbbf24;
border: 1px solid rgba(245, 158, 11, 0.28);
}
.arp-timeline-kind--fill {
background: rgba(34, 197, 94, 0.12);
color: #4ade80;
border: 1px solid rgba(34, 197, 94, 0.24);
}
.arp-timeline-item--sell .arp-timeline-kind--fill {
background: rgba(239, 68, 68, 0.12);
color: #f87171;
border-color: rgba(239, 68, 68, 0.24);
}
.arp-timeline-side {
display: inline-block;
font-size: 10px;
font-weight: 700;
color: var(--text3);
}
.arp-timeline-side--buy { color: #22c55e; }
.arp-timeline-side--sell { color: #ef4444; }
.arp-timeline-symbol {
margin-left: 6px;
font-size: 10px;
font-weight: 600;
color: var(--text3);
}
.arp-timeline-meta {
display: flex;
flex-wrap: wrap;
gap: 6px 10px;
margin-top: 4px;
font-size: 11px;
color: var(--text2);
}
.arp-timeline-detail {
color: var(--text3);
font-size: 10px;
}
/* ── 타이틀바: 유형 선택 + 새로고침 ── */
.arp-timeline-header-tools {
display: flex;
align-items: center;
gap: 6px;
margin-right: 4px;
}
.arp-timeline-view-switch {
display: inline-flex;
align-items: center;
gap: 2px;
padding: 2px;
border-radius: 8px;
background: color-mix(in srgb, var(--text) 6%, transparent);
border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
}
.arp-timeline-view-btn {
border: none;
background: transparent;
color: var(--text3);
font-size: 10px;
font-weight: 700;
padding: 4px 10px;
border-radius: 6px;
cursor: pointer;
white-space: nowrap;
transition: background 0.12s, color 0.12s;
}
.arp-timeline-view-btn:hover {
color: var(--text);
}
.arp-timeline-view-btn--on {
background: color-mix(in srgb, #c9a227 22%, var(--bg2));
color: var(--text);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.arp-timeline-card-tags {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 4px 6px;
margin-bottom: 4px;
}
.arp-timeline-card-date {
display: block;
font-size: 10px;
color: var(--text3);
margin-bottom: 4px;
}
.arp-timeline-card-title {
font-size: 12px;
font-weight: 700;
color: var(--text);
line-height: 1.35;
margin-bottom: 2px;
}
.arp-timeline-card-title--compact {
font-size: 11px;
}
/* ── 좌우 분할 타임라인 (React Timeline 스타일) ── */
.arp-timeline-popup--split .app-popup-body.arp-timeline-popup__body {
max-height: min(76vh, 680px);
}
.arp-timeline-split-legend {
display: flex;
justify-content: space-between;
padding: 0 8%;
font-size: 10px;
font-weight: 800;
flex-shrink: 0;
}
.arp-timeline-split-legend-item--buy { color: #22c55e; }
.arp-timeline-split-legend-item--sell { color: #ef4444; }
.arp-timeline-split-scroll {
position: relative;
flex: 1;
min-height: 160px;
max-height: min(62vh, 560px);
overflow-y: auto;
overflow-x: hidden;
padding: 8px 12px 16px;
}
.arp-timeline-split-axis {
position: absolute;
left: 50%;
top: 0;
bottom: 0;
width: 3px;
transform: translateX(-50%);
background: linear-gradient(
180deg,
rgba(201, 162, 39, 0.75),
rgba(201, 162, 39, 0.15)
);
border-radius: 2px;
pointer-events: none;
z-index: 0;
}
.arp-timeline-split-row {
position: relative;
display: grid;
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
gap: 0 8px;
align-items: center;
margin-bottom: 28px;
min-height: 72px;
z-index: 1;
}
.arp-timeline-split-col--left {
display: flex;
justify-content: flex-end;
min-width: 0;
padding-right: 4px;
}
.arp-timeline-split-col--center {
display: flex;
justify-content: center;
align-items: center;
flex-shrink: 0;
padding: 0 2px;
z-index: 2;
}
.arp-timeline-split-col--right {
display: flex;
justify-content: flex-start;
min-width: 0;
padding-left: 4px;
}
.arp-timeline-split-stack {
display: flex;
align-items: center;
width: 100%;
max-width: 340px;
gap: 0;
}
.arp-timeline-split-stack--buy {
flex-direction: row;
justify-content: flex-end;
margin-left: auto;
}
.arp-timeline-split-stack--sell {
flex-direction: row;
justify-content: flex-start;
margin-right: auto;
}
.arp-timeline-split-connector {
flex: 1 1 28px;
min-width: 28px;
max-width: 56px;
height: 0;
border-top: 2px dashed rgba(255, 255, 255, 0.34);
align-self: center;
margin: 0 6px;
}
.arp-timeline-split-connector--buy {
border-top-color: rgba(34, 197, 94, 0.45);
}
.arp-timeline-split-connector--sell {
border-top-color: rgba(239, 68, 68, 0.45);
}
.arp-timeline-bar-time--split-node {
width: auto;
max-width: 116px;
flex-shrink: 0;
}
.arp-timeline-split-node {
width: 14px;
height: 14px;
border-radius: 50%;
border: 3px solid rgba(201, 162, 39, 0.65);
background: var(--bg2);
box-shadow: 0 0 0 2px color-mix(in srgb, var(--bg1) 80%, transparent);
flex-shrink: 0;
}
.arp-timeline-split-node--signal {
border-color: #6366f1;
background: color-mix(in srgb, #6366f1 25%, var(--bg2));
}
.arp-timeline-split-node--pending {
border-color: #f59e0b;
background: color-mix(in srgb, #f59e0b 25%, var(--bg2));
}
.arp-timeline-split-node--fill.arp-timeline-split-node--buy {
border-color: #22c55e;
background: color-mix(in srgb, #22c55e 25%, var(--bg2));
}
.arp-timeline-split-node--fill.arp-timeline-split-node--sell {
border-color: #ef4444;
background: color-mix(in srgb, #ef4444 25%, var(--bg2));
}
.arp-timeline-split-card {
position: relative;
width: 100%;
max-width: 300px;
flex-shrink: 0;
padding: 10px 12px;
border-radius: 10px;
background: var(--bg3);
border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.arp-timeline-split-card--left {
border-color: color-mix(in srgb, #22c55e 35%, transparent);
}
.arp-timeline-split-card--right {
border-color: color-mix(in srgb, #ef4444 35%, transparent);
}
.arp-timeline-split-card--pending {
border-style: dashed;
}
.arp-timeline-split-card--signal.arp-timeline-split-card--left {
border-color: color-mix(in srgb, #6366f1 40%, transparent);
}
.arp-timeline-split-card--signal.arp-timeline-split-card--right {
border-color: color-mix(in srgb, #6366f1 40%, transparent);
}
@media (max-width: 720px) {
.arp-timeline-split-row {
grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
gap: 0 6px;
}
.arp-timeline-split-card {
max-width: none;
padding: 8px 10px;
}
.arp-timeline-view-btn {
padding: 4px 7px;
font-size: 9px;
}
}
/* ── 봉 시간축 타임라인 (가로 축 · 상단 매도 · 하단 매수) ── */
.arp-timeline-popup--axis .app-popup-body.arp-timeline-popup__body {
max-height: min(78vh, 720px);
padding-bottom: 12px;
}
.arp-timeline-axis-legend {
display: flex;
justify-content: space-between;
padding: 0 6%;
font-size: 10px;
font-weight: 800;
flex-shrink: 0;
margin-bottom: 4px;
}
.arp-timeline-axis-legend-item--sell { color: #ef4444; }
.arp-timeline-axis-legend-item--buy { color: #22c55e; }
.arp-timeline-axis-scroll {
flex: 1;
min-height: 280px;
max-height: min(64vh, 580px);
overflow-x: auto;
overflow-y: auto;
padding: 8px 4px 12px;
}
.arp-timeline-axis-scroll.arp-timeline-h-scroll {
overscroll-behavior-x: contain;
}
.arp-timeline-axis-scroll-inner {
display: flex;
flex-direction: column;
justify-content: center;
min-height: 100%;
box-sizing: border-box;
}
.arp-timeline-axis-track {
display: flex;
flex-direction: column;
gap: 0;
margin: 0 auto;
flex-shrink: 0;
}
.arp-timeline-axis-zone {
position: relative;
padding: 0 8px;
}
.arp-timeline-axis-zone--top {
padding-bottom: 12px;
min-height: 148px;
}
.arp-timeline-axis-zone--bottom {
padding-top: 12px;
min-height: 148px;
}
.arp-timeline-axis-zone-label {
position: absolute;
left: 0;
font-size: 9px;
font-weight: 800;
letter-spacing: 0.1em;
text-transform: uppercase;
opacity: 0.45;
}
.arp-timeline-axis-zone--top .arp-timeline-axis-zone-label {
top: 0;
color: #ef4444;
}
.arp-timeline-axis-zone--bottom .arp-timeline-axis-zone-label {
bottom: 0;
color: #22c55e;
}
.arp-timeline-axis-cols {
display: flex;
align-items: stretch;
gap: 0;
}
.arp-timeline-axis-col {
flex: 1 0 148px;
min-width: 148px;
display: flex;
flex-direction: column;
align-items: center;
gap: 14px;
padding: 0 6px;
}
.arp-timeline-axis-zone--top .arp-timeline-axis-col {
justify-content: flex-end;
}
.arp-timeline-axis-zone--bottom .arp-timeline-axis-col {
justify-content: flex-start;
}
.arp-timeline-axis-col-stack {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 140px;
margin-bottom: 4px;
}
.arp-timeline-axis-zone--top .arp-timeline-axis-col-stack {
flex-direction: column-reverse;
}
.arp-timeline-axis-zone--bottom .arp-timeline-axis-col-stack {
flex-direction: column;
}
.arp-timeline-axis-connector {
width: 0;
border-left: 2px dashed rgba(255, 255, 255, 0.34);
min-height: 32px;
flex: 0 0 auto;
}
.arp-timeline-axis-connector--down {
margin-top: 6px;
}
.arp-timeline-axis-connector--up {
margin-bottom: 6px;
}
.arp-timeline-axis-connector--sell {
border-left-color: rgba(239, 68, 68, 0.4);
}
.arp-timeline-axis-connector--buy {
border-left-color: rgba(34, 197, 94, 0.4);
}
.arp-timeline-axis-rail {
display: flex;
align-items: stretch;
min-height: 58px;
margin: 0 4px;
filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}
.arp-timeline-axis-segment {
flex: 1 0 136px;
min-width: 136px;
display: flex;
align-items: center;
justify-content: center;
padding: 0 18px 0 22px;
margin-left: -10px;
clip-path: polygon(
0 0,
calc(100% - 14px) 0,
100% 50%,
calc(100% - 14px) 100%,
0 100%,
14px 50%
);
color: #fff;
font-weight: 800;
text-align: center;
}
.arp-timeline-axis-segment:first-child {
margin-left: 0;
padding-left: 14px;
clip-path: polygon(
0 0,
calc(100% - 14px) 0,
100% 50%,
calc(100% - 14px) 100%,
0 100%
);
}
.arp-timeline-axis-segment--c0 { background: linear-gradient(135deg, #16a34a, #15803d); }
.arp-timeline-axis-segment--c1 { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.arp-timeline-axis-segment--c2 { background: linear-gradient(135deg, #ca8a04, #a16207); }
.arp-timeline-axis-segment--c3 { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.arp-timeline-axis-segment--c4 { background: linear-gradient(135deg, #ea580c, #c2410c); }
.arp-timeline-axis-card {
display: flex;
gap: 8px;
width: 100%;
padding: 8px 9px;
border-radius: 10px;
background: rgba(16, 16, 20, 0.94);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.arp-timeline-axis-card-icon {
flex-shrink: 0;
width: 28px;
height: 28px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
border: 2px dashed rgba(255, 255, 255, 0.35);
background: rgba(0, 0, 0, 0.25);
}
.arp-timeline-axis-card-body {
min-width: 0;
flex: 1;
font-size: 10px;
line-height: 1.4;
color: rgba(255, 255, 255, 0.88);
}
.arp-timeline-axis-card-head {
display: flex;
align-items: center;
gap: 5px;
margin-bottom: 2px;
}
.arp-timeline-axis-card-head strong {
font-size: 10px;
}
.arp-timeline-axis-card-head span {
font-size: 9px;
opacity: 0.7;
}
.arp-timeline-axis-card--sell .arp-timeline-axis-card-head strong { color: #ef4444; }
.arp-timeline-axis-card--buy .arp-timeline-axis-card-head strong { color: #22c55e; }
.arp-timeline-axis-card-title {
margin: 0 0 3px;
font-size: 10px;
font-weight: 700;
}
.arp-timeline-axis-card-meta {
display: flex;
flex-wrap: wrap;
gap: 4px 8px;
font-size: 9px;
opacity: 0.82;
}
.arp-timeline-axis-card--signal {
border-color: rgba(99, 102, 241, 0.45);
}
.arp-timeline-axis-card--pending {
border-style: dashed;
opacity: 0.95;
}
.arp-timeline-axis-card--fill.arp-timeline-axis-card--sell {
border-color: rgba(239, 68, 68, 0.35);
}
.arp-timeline-axis-card--fill.arp-timeline-axis-card--buy {
border-color: rgba(34, 197, 94, 0.35);
}
@media (max-width: 720px) {
.arp-timeline-axis-segment .arp-timeline-bar-time--segment .arp-timeline-bar-time-label {
font-size: 12px;
}
.arp-timeline-axis-col {
flex-basis: 120px;
min-width: 120px;
}
.arp-timeline-axis-segment {
flex-basis: 120px;
min-width: 120px;
}
}