알림목록 수정

This commit is contained in:
Macbook
2026-06-06 02:53:39 +09:00
parent 8a81b08d34
commit 650fb354a8
7 changed files with 1146 additions and 112 deletions
+313
View File
@@ -36,6 +36,13 @@
pointer-events: auto;
}
/* tam-overlay 모달은 전략 조건 표시를 위해 더 넓게 */
.tam-overlay > .tam-modal {
width: 580px;
min-width: 480px;
max-height: 88vh;
}
/* ── 셸 (모달 컨테이너) ── */
.app-popup-shell,
.tam-modal,
@@ -352,3 +359,309 @@ html.theme-light .chart-ctx-menu,
border-color: var(--border);
box-shadow: var(--popup-shadow);
}
/* ── TradeAlertModal 스크롤 본문 ─────────────────────────── */
.tam-modal-body {
flex: 1;
min-height: 0;
overflow-y: auto;
display: flex;
flex-direction: column;
scrollbar-width: thin;
scrollbar-color: color-mix(in srgb, var(--text3) 35%, transparent) transparent;
}
/* ── 전략 조건 섹션 (인라인 표시) ─────────────────────────── */
.tam-condition-section {
border-top: 1px solid var(--se-border, var(--border));
border-bottom: 1px solid var(--se-border, var(--border));
background: color-mix(in srgb, var(--bg2) 60%, transparent);
}
.tam-condition-section-header {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px 6px;
}
.tam-condition-section-title {
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--text3, var(--se-text-muted));
}
.tam-condition-section-loading {
font-size: 0.7rem;
color: var(--text3, var(--se-text-muted));
}
/* ── 전략 조건 패널 ─────────────────────────────────────────── */
.tam-condition-panel {
padding: 0 8px 10px;
}
.tam-condition-loading,
.tam-condition-empty {
display: flex;
align-items: center;
justify-content: center;
min-height: 60px;
font-size: 0.78rem;
color: var(--text3, var(--se-text-muted));
}
/* ── StrategyConditionView 공통 ─────────────────────────────── */
.scv-root {
display: flex;
flex-direction: column;
gap: 0;
}
.scv-signal-tabs {
display: flex;
gap: 4px;
margin-bottom: 10px;
}
.scv-signal-tab {
flex: 1;
padding: 6px 10px;
border: 1px solid var(--se-border, var(--border));
border-radius: 7px;
background: transparent;
color: var(--text2);
font-size: 0.76rem;
font-weight: 500;
cursor: pointer;
transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.scv-signal-tab--active.scv-signal-tab--buy {
background: color-mix(in srgb, var(--up, #ef5350) 15%, transparent);
border-color: var(--up, #ef5350);
color: var(--up, #ef5350);
}
.scv-signal-tab--active.scv-signal-tab--sell {
background: color-mix(in srgb, var(--down, #4dabf7) 15%, transparent);
border-color: var(--down, #4dabf7);
color: var(--down, #4dabf7);
}
.scv-signal-label {
font-size: 0.78rem;
font-weight: 600;
margin-bottom: 8px;
padding: 4px 8px;
border-radius: 6px;
}
.scv-signal-label--buy {
color: var(--up, #ef5350);
background: color-mix(in srgb, var(--up, #ef5350) 12%, transparent);
}
.scv-signal-label--sell {
color: var(--down, #4dabf7);
background: color-mix(in srgb, var(--down, #4dabf7) 12%, transparent);
}
.scv-body {
display: flex;
flex-direction: column;
gap: 8px;
}
.scv-tree {
display: flex;
flex-direction: column;
gap: 8px;
}
.scv-empty {
font-size: 0.75rem;
color: var(--text3);
padding: 4px 0;
}
/* ── AND/OR 그룹 ─────────────────────────────────────────────── */
.scv-group {
border-radius: 8px;
border: 1px solid var(--se-border, var(--border));
overflow: hidden;
}
.scv-group--or {
border-color: color-mix(in srgb, #f5a623 40%, var(--border));
}
.scv-group--and {
border-color: color-mix(in srgb, #7b5ea7 40%, var(--border));
}
.scv-group-header {
display: flex;
align-items: center;
gap: 8px;
padding: 5px 10px;
background: color-mix(in srgb, var(--bg2) 60%, var(--bg));
border-bottom: 1px solid var(--se-border, var(--border));
}
.scv-group-badge {
font-size: 0.65rem;
font-weight: 700;
padding: 2px 7px;
border-radius: 5px;
letter-spacing: 0.04em;
}
.scv-group-badge--or {
background: color-mix(in srgb, #f5a623 25%, transparent);
color: #f5a623;
border: 1px solid color-mix(in srgb, #f5a623 50%, transparent);
}
.scv-group-badge--and {
background: color-mix(in srgb, #7b5ea7 25%, transparent);
color: #b39ddb;
border: 1px solid color-mix(in srgb, #7b5ea7 50%, transparent);
}
.scv-group-badge--not {
background: color-mix(in srgb, #f44336 20%, transparent);
color: #ef9a9a;
border: 1px solid color-mix(in srgb, #f44336 40%, transparent);
}
.scv-group-label {
font-size: 0.75rem;
color: var(--text2);
flex: 1;
}
.scv-group-op-toggle {
display: flex;
gap: 4px;
font-size: 0.68rem;
font-weight: 600;
}
.scv-op-active {
color: var(--text);
background: var(--bg2);
padding: 1px 6px;
border-radius: 4px;
border: 1px solid var(--se-border, var(--border));
}
.scv-op-dim {
color: var(--text3);
padding: 1px 6px;
}
.scv-group-body {
display: flex;
flex-direction: column;
gap: 6px;
padding: 8px;
}
/* ── TIMEFRAME 섹션 ──────────────────────────────────────────── */
.scv-timeframe {
border-radius: 8px;
border: 1px solid color-mix(in srgb, #f5a623 35%, var(--border));
overflow: hidden;
background: color-mix(in srgb, #f5a623 5%, transparent);
}
.scv-timeframe-header {
display: flex;
align-items: center;
gap: 6px;
padding: 5px 10px;
font-size: 0.76rem;
font-weight: 600;
color: var(--text);
background: color-mix(in srgb, #f5a623 12%, var(--bg2));
border-bottom: 1px solid color-mix(in srgb, #f5a623 30%, var(--border));
}
.scv-timeframe-dot {
color: #f5a623;
font-size: 0.5rem;
}
.scv-timeframe-badge {
background: color-mix(in srgb, #f5a623 20%, transparent);
color: #f5a623;
border: 1px solid color-mix(in srgb, #f5a623 45%, transparent);
border-radius: 4px;
padding: 1px 7px;
font-size: 0.68rem;
font-weight: 700;
}
.scv-timeframe-body {
padding: 8px;
}
/* ── 개별 조건 카드 ──────────────────────────────────────────── */
.scv-cond-card {
border-radius: 7px;
border: 1px solid var(--se-border, var(--border));
background: color-mix(in srgb, var(--bg) 50%, var(--bg2));
overflow: hidden;
}
.scv-cond-header {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 10px;
border-bottom: 1px solid var(--se-border, var(--border));
background: color-mix(in srgb, var(--bg2) 60%, var(--bg));
}
.scv-ind-chip {
flex-shrink: 0;
font-size: 0.63rem !important;
padding: 2px 7px !important;
}
.scv-cond-title {
font-size: 0.75rem;
color: var(--text);
line-height: 1.35;
word-break: break-all;
}
.scv-cond-fields {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1px;
background: var(--se-border, var(--border));
}
.scv-cond-field {
display: flex;
flex-direction: column;
gap: 2px;
padding: 5px 8px;
background: color-mix(in srgb, var(--bg) 60%, var(--bg2));
}
.scv-cond-field-lbl {
font-size: 0.63rem;
color: var(--text3, var(--se-text-muted));
letter-spacing: 0.02em;
}
.scv-cond-field-val {
font-size: 0.74rem;
color: var(--text);
font-weight: 500;
}
+334 -34
View File
@@ -54,18 +54,19 @@
box-sizing: border-box;
}
/* 목록 한 줄 = 알림상세 · 신호일치율 · 캔들 · 보조지표(1칸) — 가로 100% 꽉 참 */
/* 목록 한 줄 = 알림상세 · 신호일치율 · 통합차트(캔들+보조지표) — 가로 100% 꽉 참 */
.tnl-row-gallery {
--tnl-summary-card-width: 260px;
--tnl-signal-slot-width: 280px;
--tnl-chart-card-width: 312px;
--tnl-row-inner-h: 340px;
display: flex;
flex-direction: row;
align-items: stretch;
gap: 10px;
width: 100%;
height: 320px;
max-height: 320px;
height: calc(var(--tnl-row-inner-h) + 20px);
max-height: calc(var(--tnl-row-inner-h) + 20px);
padding: 10px;
box-sizing: border-box;
}
@@ -83,8 +84,8 @@
.tnl-row-gallery-candle {
flex: 1.12 1 0;
min-width: 0;
height: 300px;
max-height: 300px;
height: var(--tnl-row-inner-h, 420px);
max-height: var(--tnl-row-inner-h, 420px);
display: flex;
flex-direction: column;
align-items: stretch;
@@ -113,8 +114,62 @@
.tnl-row-gallery > .tnl-hscroll-pane,
.tnl-row-gallery > .tnl-row-gallery-candle {
height: 300px;
max-height: 300px;
height: var(--tnl-row-inner-h, 420px);
max-height: var(--tnl-row-inner-h, 420px);
}
/* ── 통합 차트 영역 (캔들 위, 보조지표 아래) ───────────────────── */
.tnl-row-gallery-combined-chart {
flex: 2.24 1 0; /* 구 캔들(1.12) + 구 보조지표(1.12) 합산 */
min-width: 0;
height: var(--tnl-row-inner-h, 420px);
max-height: var(--tnl-row-inner-h, 420px);
display: flex;
flex-direction: column;
align-items: stretch;
border-radius: 12px;
border: 1px solid var(--se-border, var(--border));
background: color-mix(in srgb, var(--bg) 40%, var(--bg2));
overflow: hidden;
box-sizing: border-box;
position: relative;
}
.tnl-row-gallery-combined-chart > .tnl-chart-card {
flex: 1 1 auto;
width: 100%;
min-width: 0;
max-width: none;
height: 100%;
max-height: 100%;
border: none;
border-radius: 0;
}
/* 전체보기 상태에서 통합 차트가 나머지 공간을 모두 차지 */
.tnl-row-gallery--chart-expanded .tnl-row-gallery-combined-chart {
flex: 1 1 0;
min-width: 0;
height: var(--tnl-row-inner-h, 420px);
max-height: var(--tnl-row-inner-h, 420px);
}
.tnl-row-gallery-combined-chart--expanded {
flex: 1 1 0 !important;
}
/* 지표 로딩 중 오버레이 */
.tnl-combined-chart-placeholder {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.75rem;
color: var(--text3, var(--se-text-muted));
background: color-mix(in srgb, var(--bg2) 65%, transparent);
pointer-events: none;
z-index: 2;
}
.tnl-row-gallery .tnl-chart-card {
@@ -141,8 +196,8 @@
align-items: stretch;
min-width: 0;
min-height: 0;
height: 300px;
max-height: 300px;
height: var(--tnl-row-inner-h, 420px);
max-height: var(--tnl-row-inner-h, 420px);
border-radius: 12px;
border: 1px solid var(--se-border, var(--border));
background: color-mix(in srgb, var(--bg) 40%, var(--bg2));
@@ -436,7 +491,7 @@
flex: 1;
min-height: 0;
width: 100%;
padding: 14px 16px 12px;
padding: 10px 14px 10px;
border: none;
background: transparent;
color: inherit;
@@ -444,7 +499,8 @@
cursor: pointer;
display: flex;
flex-direction: column;
gap: 12px;
gap: 0;
justify-content: space-between;
overflow: hidden;
box-sizing: border-box;
}
@@ -473,14 +529,13 @@
}
.tnl-summary-ko {
font-size: 17px;
font-size: 15px;
font-weight: 700;
line-height: 1.2;
color: var(--text);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tnl-summary-sym {
@@ -510,9 +565,9 @@
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
gap: 8px;
flex-shrink: 0;
padding: 4px 2px;
padding: 1px 2px;
}
.tnl-summary-quote-left {
@@ -566,7 +621,7 @@
}
.tnl-summary-price {
font-size: 20px;
font-size: 17px;
font-weight: 800;
font-variant-numeric: tabular-nums;
white-space: nowrap;
@@ -583,27 +638,25 @@
/* 3행+: 상세 정보 */
.tnl-summary-meta {
flex: 1;
min-height: 0;
flex: 0 0 auto;
display: flex;
flex-direction: column;
gap: 10px;
overflow-y: auto;
gap: 5px;
overflow-y: visible;
overflow-x: hidden;
padding-right: 2px;
padding-bottom: 6px;
}
.tnl-summary-info-row {
display: grid;
grid-template-columns: 88px minmax(0, 1fr);
grid-template-columns: 80px minmax(0, 1fr);
align-items: start;
gap: 10px 14px;
gap: 5px 10px;
}
/* 캔들 시각 — 10분봉·15분봉 등 분봉 라벨이 다음 줄로 밀리지 않도록 */
.tnl-summary-info-row--candle {
grid-template-columns: 88px minmax(108px, 1fr);
grid-template-columns: 80px minmax(100px, 1fr);
}
.tnl-summary-info-val--candle {
@@ -616,7 +669,7 @@
}
.tnl-summary-info-lbl {
font-size: 12px;
font-size: 11px;
font-weight: 600;
color: var(--text3, var(--se-text-muted));
line-height: 1.4;
@@ -624,10 +677,10 @@
}
.tnl-summary-info-val {
font-size: 13px;
font-size: 12px;
font-weight: 500;
color: var(--text2);
line-height: 1.45;
line-height: 1.4;
word-break: break-word;
text-align: right;
}
@@ -638,18 +691,56 @@
}
/* 하단: 투자전략 (vtd-target-strategy-field) */
/* ── 전략명 태그 (헤더 바로 아래) ──────────────────────────────── */
.tnl-summary-strategy-tag {
display: flex;
align-items: center;
gap: 5px;
padding: 4px 9px;
border-radius: 5px;
background: var(--bg2, rgba(255,255,255,0.06));
border: 1px solid var(--border, rgba(255,255,255,0.1));
width: fit-content;
max-width: 100%;
overflow: hidden;
flex-shrink: 0;
}
.tnl-summary-strategy-tag-ic {
font-size: 0.65rem;
flex-shrink: 0;
opacity: 0.75;
}
.tnl-summary-strategy-tag-name {
font-size: 0.72rem;
font-weight: 600;
color: var(--text2, var(--se-text-muted));
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* 그리드 레이아웃에서 전략 태그 약간 작게 */
.tnl-summary-card--grid .tnl-summary-strategy-tag {
padding: 3px 7px;
}
.tnl-summary-card--grid .tnl-summary-strategy-tag-name {
font-size: 0.68rem;
}
.tnl-summary-strategy-field {
display: flex;
align-items: center;
gap: 12px;
gap: 8px;
flex-shrink: 0;
width: 100%;
padding-top: 10px;
padding-top: 8px;
border-top: 1px solid var(--border);
}
.tnl-summary-strategy-lbl {
font-size: 12px;
font-size: 11px;
font-weight: 600;
color: var(--text3, var(--se-text-muted));
white-space: nowrap;
@@ -659,12 +750,12 @@
.tnl-summary-strategy-box {
flex: 1;
min-width: 0;
padding: 8px 12px;
border-radius: 8px;
padding: 5px 10px;
border-radius: 6px;
border: 1px solid var(--se-border, var(--border));
background: var(--bg, var(--bg3));
color: var(--text);
font-size: 13px;
font-size: 12px;
font-weight: 600;
line-height: 1.35;
overflow: hidden;
@@ -677,7 +768,7 @@
display: flex;
align-items: center;
gap: 4px;
padding: 8px 10px;
padding: 6px 10px;
border-top: 1px solid var(--border);
background: var(--bg3, var(--se-center-bg));
flex-shrink: 0;
@@ -956,6 +1047,72 @@
pointer-events: none;
}
/* ── 검색 박스 ─────────────────────────────────────────────── */
.tnl-search-box {
display: flex;
align-items: center;
gap: 6px;
padding: 0 10px;
height: 32px;
border: 1px solid var(--se-border, var(--border));
border-radius: 8px;
background: var(--bg2, var(--se-panel-card-bg));
flex-shrink: 0;
min-width: 180px;
max-width: 240px;
transition: border-color 0.15s;
}
.tnl-search-box:focus-within,
.tnl-search-box--active {
border-color: var(--accent, #3f7ef5);
box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent, #3f7ef5) 25%, transparent);
}
.tnl-search-icon {
flex-shrink: 0;
color: var(--text3, var(--se-text-muted));
opacity: 0.7;
}
.tnl-search-input {
flex: 1;
border: none;
background: transparent;
color: var(--text);
font-size: 12px;
outline: none;
min-width: 0;
line-height: 1.4;
}
.tnl-search-input::placeholder {
color: var(--text3, var(--se-text-muted));
opacity: 0.7;
}
.tnl-search-clear {
display: flex;
align-items: center;
justify-content: center;
width: 16px;
height: 16px;
flex-shrink: 0;
border: none;
background: transparent;
color: var(--text3, var(--se-text-muted));
cursor: pointer;
padding: 0;
font-size: 10px;
border-radius: 50%;
transition: color 0.15s, background 0.15s;
}
.tnl-search-clear:hover {
color: var(--text);
background: color-mix(in srgb, var(--text3) 15%, transparent);
}
/* 툴바 — 좌: 필터·액션 · 우: 목록/그리드·배치·삭제 */
.tnl-page--with-right .tnl-toolbar {
display: flex;
@@ -1298,3 +1455,146 @@ ul.tnl-list.tnl-list--grid {
min-width: min(var(--tnl-signal-slot-width), 88vw);
}
}
/* ══════════════════════════════════════════════════════════════
차트 전체화면 모달 (tnl-chart-fs-*)
══════════════════════════════════════════════════════════════ */
.tnl-chart-fs-overlay {
position: fixed;
inset: 0;
z-index: 9500;
background: rgba(0, 0, 0, 0.88);
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
box-sizing: border-box;
}
.tnl-chart-fs-inner {
width: 100%;
height: 100%;
max-width: calc(100vw - 32px);
max-height: calc(100vh - 32px);
display: flex;
flex-direction: column;
background: var(--bg, #131722);
border-radius: 14px;
border: 1px solid var(--se-border, var(--border));
overflow: hidden;
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
}
/* ── 헤더 ─────────────────────────────────────────────────── */
.tnl-chart-fs-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 10px 16px;
border-bottom: 1px solid var(--se-border, var(--border));
flex-shrink: 0;
background: color-mix(in srgb, var(--bg2) 60%, var(--bg));
}
.tnl-chart-fs-title {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
flex: 1;
}
.tnl-chart-fs-signal-badge {
flex-shrink: 0;
font-size: 0.68rem;
font-weight: 700;
color: #fff;
padding: 2px 8px;
border-radius: 5px;
letter-spacing: 0.04em;
}
.tnl-chart-fs-market {
font-size: 1rem;
font-weight: 700;
color: var(--text);
}
.tnl-chart-fs-tf {
font-size: 0.75rem;
color: var(--text3, var(--se-text-muted));
background: var(--bg2);
border: 1px solid var(--se-border, var(--border));
border-radius: 5px;
padding: 1px 7px;
}
.tnl-chart-fs-price {
font-size: 0.9rem;
font-weight: 700;
}
.tnl-chart-fs-time {
font-size: 0.72rem;
color: var(--text3, var(--se-text-muted));
}
.tnl-chart-fs-actions {
display: flex;
align-items: center;
gap: 10px;
flex-shrink: 0;
}
.tnl-chart-fs-strategy {
font-size: 0.72rem;
color: var(--text2);
background: var(--bg2);
border: 1px solid var(--se-border, var(--border));
border-radius: 5px;
padding: 2px 9px;
max-width: 200px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tnl-chart-fs-close {
flex-shrink: 0;
width: 32px;
height: 32px;
border: 1px solid var(--se-border, var(--border));
border-radius: 7px;
background: transparent;
color: var(--text2);
cursor: pointer;
font-size: 0.85rem;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.15s, color 0.15s;
}
.tnl-chart-fs-close:hover {
background: color-mix(in srgb, var(--text3) 20%, transparent);
color: var(--text);
}
/* ── 차트 바디 ────────────────────────────────────────────── */
.tnl-chart-fs-body {
flex: 1 1 0;
min-height: 0;
display: flex;
flex-direction: column;
position: relative;
}
.tnl-chart-fs-body .tnl-mini-chart-canvas {
height: 100% !important;
flex: 1 1 0;
}
.tnl-chart-fs-body .tnl-mini-chart-canvas--fill {
height: 100% !important;
}