feat(운영설정): SCALP 노출·전략 ON/OFF 최상단·손익 한줄 UI

LIVE_STRATEGY_IDS/SWITCH_IDS에 SCALP를 추가하고 EOD·env 필드를 정리한다.
운영설정 CSS로 손익 칩·전략 토글 가로 한 줄 레이아웃을 지원한다.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Your Name
2026-08-28 16:46:49 +09:00
parent d737deb47c
commit d837ae1ca6
2 changed files with 94 additions and 26 deletions

View File

@@ -122,6 +122,73 @@
.live-quote-stale { opacity: 0.55; }
/* 파라미터 설명 툴팁 */
.param-help { font-size: 10px; color: var(--muted); margin-top: 2px; }
/* 운영 설정 — 당일 손익 칩 한 줄 */
.lc-status-row {
display: flex;
flex-wrap: nowrap;
align-items: stretch;
gap: 10px;
overflow-x: auto;
padding-bottom: 2px;
}
.lc-status-chip {
flex: 0 0 auto;
min-width: 148px;
max-width: 220px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px 12px;
background: rgba(22, 27, 34, 0.55);
font-size: 13px;
}
.lc-status-chip .lc-status-label {
font-size: 11px;
color: var(--muted);
margin-bottom: 2px;
white-space: nowrap;
}
.lc-status-chip .lc-status-value {
font-size: 18px;
font-weight: 650;
line-height: 1.2;
}
.lc-status-chip .lc-status-meta {
font-size: 11px;
color: var(--muted);
margin-top: 2px;
white-space: nowrap;
}
/* 전략 ON/OFF — 토글 한 줄 */
.lc-switch-row {
display: flex;
flex-wrap: nowrap;
align-items: center;
gap: 10px 14px;
overflow-x: auto;
padding: 4px 0 2px;
}
.lc-switch-chip {
display: inline-flex;
align-items: center;
gap: 6px;
white-space: nowrap;
font-size: 13px;
margin: 0;
cursor: pointer;
user-select: none;
}
.lc-switch-chip input[type="checkbox"] {
margin: 0;
flex-shrink: 0;
}
.lc-switch-chip .lc-switch-sid {
font-size: 10px;
color: var(--muted);
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.lc-switch-chip.lc-switch-warn {
color: #d29922;
}
/* 운영 설정 탭 — 최대 2열, 위에서 아래로 읽기 */
.lc-field-grid {
display: grid;