전략편집기 복합지표 기능 반영
This commit is contained in:
@@ -529,10 +529,41 @@
|
||||
overflow-y: auto;
|
||||
border: none;
|
||||
background: transparent;
|
||||
container-type: size;
|
||||
container-name: trade-card;
|
||||
}
|
||||
.ptd-order-card .ptd-order-stack { padding: 0 4px 4px; flex: 1; }
|
||||
.ptd-order-card .top-panel { padding: 4px 2px; background: transparent; }
|
||||
.ptd-order-card .top-field { margin-bottom: 4px; }
|
||||
.ptd-order-card .top-price-qty-block .top-field { margin-bottom: 0; }
|
||||
.ptd-order-card .top-price-qty-block .top-pct-row--block { margin-bottom: 4px; }
|
||||
|
||||
@container trade-card (max-height: 360px) {
|
||||
.ptd-order-card .top-price-qty-block {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
||||
column-gap: 8px;
|
||||
row-gap: 4px;
|
||||
}
|
||||
.ptd-order-card .top-price-qty-block .top-field--price { grid-column: 1; grid-row: 1; }
|
||||
.ptd-order-card .top-price-qty-block .top-field--qty { grid-column: 2; grid-row: 1; }
|
||||
.ptd-order-card .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) {
|
||||
.ptd-order-card .top-price-qty-block {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
||||
column-gap: 8px;
|
||||
row-gap: 4px;
|
||||
}
|
||||
.ptd-order-card .top-price-qty-block .top-field--price { grid-column: 1; grid-row: 1; }
|
||||
.ptd-order-card .top-price-qty-block .top-field--qty { grid-column: 2; grid-row: 1; }
|
||||
.ptd-order-card .top-price-qty-block .top-pct-row--block { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
|
||||
}
|
||||
}
|
||||
|
||||
.ptd-order-card .top-submit--buy { background: #22c55e !important; border-color: #22c55e !important; }
|
||||
.ptd-order-card .top-submit--sell { background: var(--accent) !important; border-color: var(--accent) !important; }
|
||||
|
||||
|
||||
@@ -702,7 +702,21 @@
|
||||
box-shadow: 0 0 16px color-mix(in srgb, var(--se-sell) 12%, transparent);
|
||||
}
|
||||
|
||||
.se-flow-cond-badge { font-size: 0.65rem; font-weight: 800; color: var(--se-success); margin-bottom: 4px; }
|
||||
.se-flow-cond-badge { font-size: 0.65rem; font-weight: 800; color: var(--se-success); margin-bottom: 0; }
|
||||
.se-flow-cond-top {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 6px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.se-flow-cond-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.se-flow-node--cond { position: relative; }
|
||||
.se-flow-node--cross .se-flow-cond-badge { color: var(--se-gold); }
|
||||
.se-flow-node--sell-mode .se-flow-cond-badge { color: var(--se-sell); }
|
||||
.se-flow-cond-text { font-size: 0.7rem; line-height: 1.35; color: var(--se-node-text); word-break: break-word; }
|
||||
@@ -726,14 +740,108 @@
|
||||
}
|
||||
|
||||
.se-flow-del {
|
||||
position: absolute; top: 4px; right: 6px;
|
||||
position: static;
|
||||
border: none; background: rgba(0, 0, 0, 0.4);
|
||||
color: rgba(255, 77, 109, 0.9);
|
||||
width: 18px; height: 18px; border-radius: 4px;
|
||||
cursor: pointer; font-size: 0.85rem; line-height: 1;
|
||||
opacity: 0; transition: opacity 0.12s;
|
||||
opacity: 0;
|
||||
transition: opacity 0.12s;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.se-flow-settings {
|
||||
border: none;
|
||||
background: rgba(0, 0, 0, 0.35);
|
||||
color: var(--se-gold);
|
||||
width: 18px; height: 18px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
opacity: 0;
|
||||
transition: opacity 0.12s, background 0.12s;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.se-flow-settings:hover {
|
||||
background: rgba(230, 194, 0, 0.2);
|
||||
}
|
||||
.se-flow-node:hover .se-flow-del,
|
||||
.se-flow-node:hover .se-flow-settings,
|
||||
.se-flow-node--selected .se-flow-del,
|
||||
.se-flow-node--selected .se-flow-settings,
|
||||
.se-flow-node--settings-open .se-flow-del,
|
||||
.se-flow-node--settings-open .se-flow-settings {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.se-flow-settings-pop {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
z-index: 30;
|
||||
min-width: 148px;
|
||||
padding: 8px 10px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid color-mix(in srgb, var(--se-gold) 45%, transparent);
|
||||
background: var(--se-bg-elevated);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
.se-flow-settings-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 6px;
|
||||
font-size: 0.62rem;
|
||||
font-weight: 700;
|
||||
color: var(--se-gold);
|
||||
margin-bottom: 6px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
.se-flow-settings-close {
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: var(--se-text-muted);
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
line-height: 1;
|
||||
padding: 0 2px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.se-flow-settings-close:hover {
|
||||
color: var(--se-gold);
|
||||
}
|
||||
.se-flow-settings-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
margin-bottom: 6px;
|
||||
font-size: 0.62rem;
|
||||
color: var(--se-text-muted);
|
||||
}
|
||||
.se-flow-settings-field input,
|
||||
.se-flow-settings-field .se-combo-num-input {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 4px 6px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--se-input-border);
|
||||
background: var(--se-input-bg);
|
||||
color: var(--se-text);
|
||||
font-size: 0.72rem;
|
||||
}
|
||||
.se-combo-num { width: 100%; }
|
||||
.se-combo-num-input:focus {
|
||||
outline: none;
|
||||
border-color: var(--se-input-focus);
|
||||
}
|
||||
.se-flow-settings-hint {
|
||||
margin: 4px 0 0;
|
||||
font-size: 0.58rem;
|
||||
color: var(--se-text-dim);
|
||||
}
|
||||
.se-flow-node:hover .se-flow-del { opacity: 1; }
|
||||
|
||||
.se-flow-handle {
|
||||
width: 9px !important; height: 9px !important;
|
||||
@@ -907,8 +1015,8 @@
|
||||
|
||||
/* ── Right palette ── */
|
||||
.se-right {
|
||||
flex: 0 0 260px;
|
||||
width: 260px;
|
||||
flex: 0 0 380px;
|
||||
width: 380px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
@@ -952,7 +1060,8 @@
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.se-palette-search {
|
||||
@@ -982,13 +1091,14 @@
|
||||
.se-palette-section--logic h3 { color: var(--se-palette-section-logic); }
|
||||
.se-palette-section--band h3 { color: var(--se-palette-section-band); }
|
||||
.se-palette-section--aux h3 { color: var(--se-palette-section-ind); }
|
||||
.se-palette-section--composite h3 { color: var(--se-palette-section-composite, #c084fc); }
|
||||
|
||||
.se-palette-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 6px;
|
||||
}
|
||||
.se-palette-grid--3 { grid-template-columns: repeat(3, 1fr); }
|
||||
.se-palette-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
||||
|
||||
.se-palette-card {
|
||||
border-radius: 8px;
|
||||
@@ -1082,6 +1192,25 @@
|
||||
border-color: color-mix(in srgb, var(--se-palette-ind-accent) 65%, transparent);
|
||||
box-shadow: inset 3px 0 0 var(--se-palette-ind-accent), 0 4px 14px color-mix(in srgb, var(--se-palette-ind-accent) 22%, transparent);
|
||||
}
|
||||
|
||||
/* ── 복합지표 ── */
|
||||
.se-palette-card--composite {
|
||||
border-color: color-mix(in srgb, #c084fc 42%, transparent);
|
||||
background: color-mix(in srgb, #c084fc 8%, var(--se-palette-card-bg));
|
||||
box-shadow: inset 3px 0 0 #c084fc;
|
||||
}
|
||||
.se-palette-card--composite .se-palette-card-icon {
|
||||
background: color-mix(in srgb, #c084fc 22%, transparent);
|
||||
color: #c084fc;
|
||||
}
|
||||
.se-palette-card--composite:hover {
|
||||
border-color: color-mix(in srgb, #c084fc 65%, transparent);
|
||||
box-shadow: inset 3px 0 0 #c084fc, 0 4px 14px color-mix(in srgb, #c084fc 22%, transparent);
|
||||
}
|
||||
.se-palette-card--selected.se-palette-card--composite {
|
||||
outline-color: #c084fc;
|
||||
}
|
||||
|
||||
.se-palette-card-head { display: flex; align-items: flex-start; gap: 6px; }
|
||||
.se-palette-card-icon {
|
||||
width: 24px; height: 24px; border-radius: 6px;
|
||||
@@ -1164,5 +1293,5 @@
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.se-right { flex: 0 0 220px; width: 220px; }
|
||||
.se-right { flex: 0 0 300px; width: 300px; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user