전략편집기 복합지표 기능 반영

This commit is contained in:
Macbook
2026-05-25 01:34:52 +09:00
parent ca249ad318
commit 20dd257c29
21 changed files with 1781 additions and 183 deletions
+270 -5
View File
@@ -5086,10 +5086,18 @@ html.theme-blue {
.ob-col-price { width: 36%; }
.ob-table--mid {
flex-shrink: 0;
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
background: var(--bg2);
display: none;
}
.ob-td-price--live {
box-shadow: inset 0 0 0 2px #1565c0;
font-weight: 800;
background: rgba(21, 101, 192, 0.12);
text-align: center;
}
.app.light .ob-td-price--live {
box-shadow: inset 0 0 0 2px #1976d2;
background: rgba(25, 118, 210, 0.1);
}
.ob-tr-mid .ob-td-price--current {
@@ -5290,6 +5298,59 @@ html.theme-blue {
border-left: 1px solid var(--border);
border-right: 1px solid var(--border);
}
.ob-summary-time-wrap {
position: relative;
}
.ob-summary-time-btn {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 0;
border: none;
background: transparent;
color: inherit;
font: inherit;
cursor: pointer;
line-height: 1.2;
}
.ob-summary-time-btn:hover {
color: var(--accent, #2962ff);
}
.ob-summary-time-caret {
font-size: 9px;
opacity: 0.75;
}
.ob-summary-mode-menu {
position: absolute;
bottom: calc(100% + 4px);
left: 50%;
transform: translateX(-50%);
z-index: 20;
min-width: 72px;
padding: 4px 0;
border-radius: 6px;
border: 1px solid var(--border);
background: var(--bg2, #1e222d);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.ob-summary-mode-item {
display: block;
width: 100%;
padding: 6px 12px;
border: none;
background: transparent;
color: var(--text);
font-size: 11px;
font-weight: 600;
text-align: center;
cursor: pointer;
}
.ob-summary-mode-item:hover {
background: var(--bg3);
}
.ob-summary-mode-item--active {
color: var(--accent, #2962ff);
}
.ob-summary-num {
font-size: 12px;
font-weight: 700;
@@ -6213,6 +6274,119 @@ html.theme-blue {
border-radius: var(--radius) var(--radius) 0 0;
background: rgba(0,0,0,.15);
}
.sp-node-head--cond {
position: relative;
flex-wrap: wrap;
}
.sp-node-actions {
display: flex;
align-items: center;
gap: 4px;
flex-shrink: 0;
margin-left: auto;
}
.sp-node-settings {
display: flex;
align-items: center;
justify-content: center;
width: 26px;
height: 26px;
padding: 0;
border: none;
border-radius: var(--radius);
background: rgba(230, 194, 0, 0.12);
color: #e6c200;
cursor: pointer;
flex-shrink: 0;
}
.sp-node-settings:hover {
background: rgba(230, 194, 0, 0.22);
}
.sp-node-settings-pop {
position: absolute;
top: calc(100% + 4px);
right: 8px;
z-index: 50;
min-width: 160px;
padding: 8px 10px;
border-radius: 8px;
border: 1px solid color-mix(in srgb, #e6c200 45%, transparent);
background: var(--bg2);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.sp-node-settings-pop .se-flow-settings-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 6px;
font-size: 0.62rem;
font-weight: 700;
color: #e6c200;
margin-bottom: 6px;
text-transform: uppercase;
letter-spacing: 0.06em;
}
.sp-node-settings-pop .se-flow-settings-close,
.se-flow-settings-close {
border: none;
background: transparent;
color: var(--text2);
cursor: pointer;
font-size: 1rem;
line-height: 1;
padding: 0 2px;
flex-shrink: 0;
}
.sp-node-settings-pop .se-flow-settings-close:hover,
.se-flow-settings-close:hover {
color: #e6c200;
}
.sp-node-settings-pop .se-flow-settings-field {
display: flex;
flex-direction: column;
gap: 3px;
margin-bottom: 6px;
font-size: 0.62rem;
color: var(--text2);
}
.sp-node-settings-pop .se-flow-settings-field input,
.se-flow-settings-field .se-combo-num-input,
.sp-node-settings-pop .se-combo-num-input {
width: 100%;
box-sizing: border-box;
padding: 4px 6px;
border-radius: 4px;
border: 1px solid var(--border);
background: var(--bg3);
color: var(--text);
font-size: 0.72rem;
}
.se-combo-num {
width: 100%;
}
.se-combo-num-input {
width: 100%;
box-sizing: border-box;
padding: 4px 6px;
border-radius: 4px;
border: 1px solid var(--se-input-border, var(--border));
background: var(--se-input-bg, var(--bg3));
color: var(--se-text, var(--text));
font-size: 0.72rem;
}
.se-combo-num-input:focus {
outline: none;
border-color: var(--se-input-focus, var(--accent));
}
.se-flow-settings-field .se-combo-num-input {
border-color: var(--se-input-border);
background: var(--se-input-bg);
}
.sp-node-settings-pop .se-flow-settings-hint {
margin: 4px 0 0;
font-size: 0.58rem;
color: var(--text3);
}
.sp-node-badge {
font-size: 12px; font-weight: 700; padding: 3px 10px;
border-radius: 99px; color: #fff; white-space: nowrap;
@@ -6262,6 +6436,24 @@ html.theme-blue {
color: var(--text); border-radius: var(--radius);
}
.sp-cond-num:focus { outline: none; border-color: var(--accent); }
.sp-cond-editor--composite { padding-top: 6px; }
.sp-cond-composite-badge {
margin-bottom: 8px;
padding: 4px 8px;
border-radius: 6px;
font-size: 11px;
font-weight: 600;
color: #c084fc;
background: color-mix(in srgb, #c084fc 12%, transparent);
border: 1px solid color-mix(in srgb, #c084fc 28%, transparent);
}
.sp-cond-composite-val {
font-size: 12px;
font-weight: 600;
color: var(--text);
padding: 4px 0 2px;
}
.sp-cond-num--inline { margin-top: 2px; width: 100%; box-sizing: border-box; }
/* ── 우측 팔레트 ──────────────────────────────────────────────────────────── */
.sp-palette {
@@ -8809,9 +9001,12 @@ html.theme-blue {
.rsp-trade-stack .rsp-trade-card-body {
flex: 1;
min-height: 0;
overflow: hidden;
overflow-y: auto;
overflow-x: hidden;
display: flex;
flex-direction: column;
container-type: size;
container-name: trade-card;
}
.rsp-trade-card {
@@ -8893,6 +9088,7 @@ html.theme-blue {
}
.rsp-trade-card-body .top-actions {
flex-shrink: 0;
margin-top: auto;
}
.rsp-trade-card-body .top-reset,
.rsp-trade-card-body .top-submit {
@@ -8900,6 +9096,75 @@ html.theme-blue {
font-size: 13px;
}
/* 가격·수량: 기본 세로 배치, 공간 부족 시 한 줄 */
.top-price-qty-block {
display: flex;
flex-direction: column;
gap: 0;
flex-shrink: 0;
}
.top-price-qty-block .top-field {
margin-bottom: 10px;
}
.top-price-qty-block .top-pct-row--block {
margin-top: 0;
margin-bottom: 10px;
}
.rsp-trade-card-body .top-price-qty-block .top-field {
margin-bottom: 0;
}
.rsp-trade-card-body .top-price-qty-block .top-pct-row--block {
margin-top: 4px;
margin-bottom: 0;
}
@container trade-card (max-height: 360px) {
.rsp-trade-card-body .top-price-qty-block {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
column-gap: 8px;
row-gap: 4px;
}
.rsp-trade-card-body .top-price-qty-block .top-field--price {
grid-column: 1;
grid-row: 1;
}
.rsp-trade-card-body .top-price-qty-block .top-field--qty {
grid-column: 2;
grid-row: 1;
}
.rsp-trade-card-body .top-price-qty-block .top-pct-row--block {
grid-column: 1 / -1;
grid-row: 2;
margin-top: 0;
}
}
@media (max-height: 780px) {
@supports not (container-type: size) {
.rsp-trade-card-body .top-price-qty-block {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
column-gap: 8px;
row-gap: 4px;
}
.rsp-trade-card-body .top-price-qty-block .top-field--price {
grid-column: 1;
grid-row: 1;
}
.rsp-trade-card-body .top-price-qty-block .top-field--qty {
grid-column: 2;
grid-row: 1;
}
.rsp-trade-card-body .top-price-qty-block .top-pct-row--block {
grid-column: 1 / -1;
grid-row: 2;
margin-top: 0;
}
}
}
/* 호가 탭: 카드 박스 + 실시간 호가 */
.rsp-ob-stack {
flex: 1;