Adds a canvas overlay to the equity candle chart to render off-exchange prints with a toggle/legend, fetching viewport-bounded data and updating live via the equities websocket.
1078 lines
18 KiB
CSS
1078 lines
18 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
font-family: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
"Liberation Mono", "Courier New", monospace;
|
|
background: #efece6;
|
|
color: #1d1d1b;
|
|
--panel: #fff6e8;
|
|
--panel-border: #d9cdb8;
|
|
--accent: #2f6d4f;
|
|
--accent-soft: rgba(47, 109, 79, 0.18);
|
|
--warning: #c46f2a;
|
|
--replay: #1f4a7b;
|
|
--grid: rgba(82, 64, 36, 0.12);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.dashboard {
|
|
min-height: 100vh;
|
|
padding: 48px 8vw 72px;
|
|
display: grid;
|
|
gap: 32px;
|
|
background:
|
|
radial-gradient(circle at top left, #fff7df 0%, #efece6 56%),
|
|
repeating-linear-gradient(
|
|
90deg,
|
|
transparent,
|
|
transparent 44px,
|
|
var(--grid) 45px,
|
|
var(--grid) 46px
|
|
);
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.eyebrow {
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.4em;
|
|
font-size: 0.7rem;
|
|
margin: 0 0 12px;
|
|
color: #6f5b39;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0 0 12px;
|
|
font-size: clamp(2.2rem, 4vw, 3.4rem);
|
|
letter-spacing: 0.15em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.subtitle {
|
|
margin: 0;
|
|
max-width: 460px;
|
|
line-height: 1.6;
|
|
color: #4e3e25;
|
|
}
|
|
|
|
.summary {
|
|
display: grid;
|
|
gap: 12px;
|
|
padding: 16px 20px;
|
|
border-radius: 16px;
|
|
border: 1px solid var(--panel-border);
|
|
background: #fffdf7;
|
|
min-width: 220px;
|
|
}
|
|
|
|
.filter-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding: 16px 20px;
|
|
border-radius: 18px;
|
|
border: 1px solid var(--panel-border);
|
|
background: rgba(255, 253, 247, 0.9);
|
|
}
|
|
|
|
.filter-label {
|
|
margin: 0 0 6px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.3em;
|
|
font-size: 0.7rem;
|
|
color: #6f5b39;
|
|
}
|
|
|
|
.filter-help {
|
|
margin: 0;
|
|
color: #4e3e25;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.filter-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.filter-input {
|
|
border: 1px solid rgba(111, 91, 57, 0.35);
|
|
border-radius: 999px;
|
|
padding: 8px 14px;
|
|
min-width: 220px;
|
|
background: #fffdf7;
|
|
font-family: inherit;
|
|
font-size: 0.9rem;
|
|
color: #1d1d1b;
|
|
}
|
|
|
|
.filter-input:focus-visible {
|
|
outline: 2px solid rgba(47, 109, 79, 0.3);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.filter-clear {
|
|
border: 1px solid rgba(111, 91, 57, 0.35);
|
|
border-radius: 999px;
|
|
padding: 6px 12px;
|
|
background: rgba(111, 91, 57, 0.08);
|
|
color: #6f5b39;
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.filter-clear:disabled {
|
|
opacity: 0.5;
|
|
cursor: default;
|
|
}
|
|
|
|
.summary-title {
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.28em;
|
|
color: #6f5b39;
|
|
}
|
|
|
|
.summary-value {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.mode-button {
|
|
border: 1px solid rgba(31, 74, 123, 0.35);
|
|
border-radius: 999px;
|
|
padding: 8px 14px;
|
|
background: rgba(31, 74, 123, 0.12);
|
|
color: #1f4a7b;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mode-button:focus-visible {
|
|
outline: 2px solid rgba(31, 74, 123, 0.4);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.cards {
|
|
display: grid;
|
|
gap: 28px;
|
|
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
}
|
|
|
|
.card-options {
|
|
grid-column: span 4;
|
|
}
|
|
|
|
.card-chart {
|
|
grid-column: span 6;
|
|
}
|
|
|
|
.card-equities {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
.card-flow,
|
|
.card-alerts,
|
|
.card-classifiers,
|
|
.card-dark {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
.status {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 16px 20px;
|
|
border-radius: 16px;
|
|
border: 1px solid var(--panel-border);
|
|
background: #fffdf7;
|
|
min-width: 220px;
|
|
}
|
|
|
|
.status-compact {
|
|
padding: 12px 16px;
|
|
min-width: 180px;
|
|
}
|
|
|
|
.status-paused {
|
|
background: #fff3e4;
|
|
}
|
|
|
|
.status-dot {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 999px;
|
|
background: var(--warning);
|
|
box-shadow: 0 0 0 4px rgba(196, 111, 42, 0.2);
|
|
}
|
|
|
|
.status-connected .status-dot {
|
|
background: var(--accent);
|
|
box-shadow: 0 0 0 4px var(--accent-soft);
|
|
}
|
|
|
|
.status-replay .status-dot {
|
|
background: var(--replay);
|
|
box-shadow: 0 0 0 4px rgba(31, 74, 123, 0.18);
|
|
}
|
|
|
|
.status-connecting .status-dot {
|
|
animation: pulse 1.2s ease-in-out infinite;
|
|
}
|
|
|
|
.status span {
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.timestamp {
|
|
font-size: 0.8rem;
|
|
color: #6f5b39;
|
|
}
|
|
|
|
.pause-button {
|
|
border: 1px solid rgba(47, 109, 79, 0.3);
|
|
border-radius: 999px;
|
|
padding: 6px 12px;
|
|
background: rgba(47, 109, 79, 0.12);
|
|
color: #2f6d4f;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.status-paused .pause-button {
|
|
border-color: rgba(196, 111, 42, 0.4);
|
|
background: rgba(196, 111, 42, 0.16);
|
|
color: #8c4a16;
|
|
}
|
|
|
|
.pause-button:focus-visible {
|
|
outline: 2px solid rgba(47, 109, 79, 0.4);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.card-controls {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
width: 100%;
|
|
margin-bottom: 20px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.chart-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 18px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.chart-intervals {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.interval-button {
|
|
border: 1px solid rgba(111, 91, 57, 0.35);
|
|
border-radius: 999px;
|
|
padding: 6px 12px;
|
|
background: rgba(111, 91, 57, 0.08);
|
|
color: #6f5b39;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.interval-button.active {
|
|
border-color: rgba(47, 109, 79, 0.6);
|
|
background: rgba(47, 109, 79, 0.1);
|
|
color: #2f6d4f;
|
|
box-shadow: 0 0 0 2px rgba(47, 109, 79, 0.12);
|
|
}
|
|
|
|
.interval-button:focus-visible {
|
|
outline: 2px solid rgba(47, 109, 79, 0.4);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.chart-hint {
|
|
font-size: 0.8rem;
|
|
color: #6f5b39;
|
|
}
|
|
|
|
.chart-panel {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.chart-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
font-size: 0.8rem;
|
|
color: #5b4c34;
|
|
}
|
|
|
|
.overlay-toggle {
|
|
border: 1px solid rgba(31, 74, 123, 0.35);
|
|
border-radius: 999px;
|
|
padding: 6px 12px;
|
|
background: rgba(31, 74, 123, 0.12);
|
|
color: #1f4a7b;
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.overlay-toggle.overlay-toggle-on {
|
|
border-color: rgba(31, 74, 123, 0.6);
|
|
background: rgba(31, 74, 123, 0.2);
|
|
}
|
|
|
|
.overlay-toggle:focus-visible {
|
|
outline: 2px solid rgba(31, 74, 123, 0.4);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.overlay-legend {
|
|
color: #6f5b39;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.overlay-legend {
|
|
flex: 1 1 100%;
|
|
}
|
|
}
|
|
|
|
.chart-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.chart-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: rgba(111, 91, 57, 0.4);
|
|
}
|
|
|
|
.chart-status-connected .chart-dot {
|
|
background: rgba(47, 109, 79, 0.8);
|
|
}
|
|
|
|
.chart-status-connecting .chart-dot {
|
|
background: rgba(31, 74, 123, 0.8);
|
|
animation: pulse 1.4s ease-in-out infinite;
|
|
}
|
|
|
|
.chart-status-disconnected .chart-dot {
|
|
background: rgba(196, 111, 42, 0.8);
|
|
}
|
|
|
|
.chart-meta-time {
|
|
color: #6f5b39;
|
|
}
|
|
|
|
.chart-surface {
|
|
width: 100%;
|
|
height: 360px;
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(217, 205, 184, 0.6);
|
|
background: #fffdf7;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.chart-empty {
|
|
margin-top: -4px;
|
|
}
|
|
|
|
.tape-controls {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 6px;
|
|
min-width: 120px;
|
|
}
|
|
|
|
.jump-button {
|
|
border: 1px solid rgba(111, 91, 57, 0.35);
|
|
border-radius: 999px;
|
|
padding: 6px 12px;
|
|
background: rgba(111, 91, 57, 0.08);
|
|
color: #6f5b39;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.jump-button:disabled {
|
|
opacity: 0.5;
|
|
cursor: default;
|
|
}
|
|
|
|
.jump-button:not(:disabled) {
|
|
border-color: rgba(47, 109, 79, 0.6);
|
|
background: rgba(47, 109, 79, 0.1);
|
|
color: #2f6d4f;
|
|
box-shadow: 0 0 0 2px rgba(47, 109, 79, 0.15);
|
|
}
|
|
|
|
.jump-button:focus-visible {
|
|
outline: 2px solid rgba(111, 91, 57, 0.3);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.missed-count {
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(31, 74, 123, 0.25);
|
|
background: rgba(31, 74, 123, 0.12);
|
|
color: #1f4a7b;
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
max-height: 0;
|
|
opacity: 0;
|
|
transform: translateY(-6px);
|
|
overflow: hidden;
|
|
transition: max-height 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
|
|
}
|
|
|
|
.tape-controls-active .jump-button {
|
|
transform: translateY(-6px);
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.tape-controls-active .missed-count {
|
|
max-height: 24px;
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.card {
|
|
border: 1px solid var(--panel-border);
|
|
border-radius: 24px;
|
|
background: var(--panel);
|
|
box-shadow: 0 30px 60px rgba(66, 45, 18, 0.14);
|
|
padding: 28px;
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
align-items: flex-start;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.card-header h2 {
|
|
margin: 0 0 6px;
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.card-subtitle {
|
|
margin: 0;
|
|
color: #5b4c34;
|
|
}
|
|
|
|
.list {
|
|
display: grid;
|
|
gap: 14px;
|
|
height: 480px;
|
|
overflow: auto;
|
|
padding-right: 6px;
|
|
overflow-anchor: none;
|
|
scrollbar-gutter: stable;
|
|
}
|
|
|
|
|
|
.row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 16px 18px;
|
|
border-radius: 18px;
|
|
background: rgba(255, 255, 255, 0.72);
|
|
border: 1px solid rgba(217, 205, 184, 0.6);
|
|
}
|
|
|
|
.row-button {
|
|
width: 100%;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
color: inherit;
|
|
}
|
|
|
|
.row-button:hover {
|
|
border-color: rgba(47, 109, 79, 0.4);
|
|
box-shadow: 0 0 0 2px rgba(47, 109, 79, 0.12);
|
|
}
|
|
|
|
.row-button:focus-visible {
|
|
outline: 2px solid rgba(47, 109, 79, 0.4);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.contract {
|
|
font-weight: 600;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
font-size: 0.85rem;
|
|
color: #5b4c34;
|
|
}
|
|
|
|
.pill {
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
border: 1px solid rgba(111, 91, 57, 0.35);
|
|
color: #6f5b39;
|
|
background: rgba(111, 91, 57, 0.12);
|
|
}
|
|
|
|
.structure-tag {
|
|
border-color: rgba(39, 84, 138, 0.45);
|
|
color: #27548a;
|
|
background: rgba(39, 84, 138, 0.12);
|
|
}
|
|
|
|
.aggressor-tag {
|
|
border-color: rgba(93, 70, 144, 0.45);
|
|
color: #5d4690;
|
|
background: rgba(93, 70, 144, 0.12);
|
|
}
|
|
|
|
.nbbo-meta {
|
|
font-size: 0.72rem;
|
|
color: #6f5b39;
|
|
}
|
|
|
|
.nbbo-side {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.nbbo-tag {
|
|
padding: 2px 6px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(111, 91, 57, 0.35);
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.nbbo-tag-a {
|
|
border-color: rgba(47, 109, 79, 0.5);
|
|
color: #2f6d4f;
|
|
background: rgba(47, 109, 79, 0.16);
|
|
}
|
|
|
|
.nbbo-tag-aa {
|
|
border-color: rgba(26, 87, 60, 0.6);
|
|
color: #1a573c;
|
|
background: rgba(26, 87, 60, 0.2);
|
|
}
|
|
|
|
.nbbo-tag-b {
|
|
border-color: rgba(140, 74, 22, 0.5);
|
|
color: #8c4a16;
|
|
background: rgba(196, 111, 42, 0.18);
|
|
}
|
|
|
|
.nbbo-tag-bb {
|
|
border-color: rgba(110, 44, 12, 0.6);
|
|
color: #6e2c0c;
|
|
background: rgba(110, 44, 12, 0.2);
|
|
}
|
|
|
|
.nbbo-tooltip {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 100%;
|
|
transform: translateY(-6px);
|
|
display: grid;
|
|
gap: 4px;
|
|
padding: 8px 10px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(217, 205, 184, 0.8);
|
|
background: #fffdf7;
|
|
box-shadow: 0 12px 26px rgba(66, 45, 18, 0.18);
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
z-index: 2;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.nbbo-tooltip-row {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 0.68rem;
|
|
color: #6f5b39;
|
|
}
|
|
|
|
.nbbo-side:hover .nbbo-tooltip,
|
|
.nbbo-side:focus-within .nbbo-tooltip {
|
|
opacity: 1;
|
|
transform: translateY(-10px);
|
|
}
|
|
|
|
.nbbo-missing {
|
|
border-color: rgba(136, 58, 17, 0.4);
|
|
color: #8c3a11;
|
|
background: rgba(196, 111, 42, 0.16);
|
|
}
|
|
|
|
.nbbo-stale {
|
|
border-color: rgba(31, 74, 123, 0.4);
|
|
color: #1f4a7b;
|
|
background: rgba(31, 74, 123, 0.12);
|
|
}
|
|
|
|
.severity-high {
|
|
border-color: rgba(136, 58, 17, 0.6);
|
|
color: #8c3a11;
|
|
background: rgba(196, 111, 42, 0.2);
|
|
}
|
|
|
|
.severity-medium {
|
|
border-color: rgba(31, 74, 123, 0.35);
|
|
color: #1f4a7b;
|
|
background: rgba(31, 74, 123, 0.12);
|
|
}
|
|
|
|
.severity-low {
|
|
border-color: rgba(47, 109, 79, 0.35);
|
|
color: #2f6d4f;
|
|
background: rgba(47, 109, 79, 0.12);
|
|
}
|
|
|
|
.direction-bullish {
|
|
border-color: rgba(47, 109, 79, 0.35);
|
|
color: #2f6d4f;
|
|
background: rgba(47, 109, 79, 0.12);
|
|
}
|
|
|
|
.direction-bearish {
|
|
border-color: rgba(136, 58, 17, 0.6);
|
|
color: #8c3a11;
|
|
background: rgba(196, 111, 42, 0.2);
|
|
}
|
|
|
|
.direction-neutral {
|
|
border-color: rgba(111, 91, 57, 0.35);
|
|
color: #6f5b39;
|
|
background: rgba(111, 91, 57, 0.12);
|
|
}
|
|
|
|
.note {
|
|
margin-top: 8px;
|
|
font-size: 0.78rem;
|
|
color: #5b4c34;
|
|
}
|
|
|
|
.drawer {
|
|
position: fixed;
|
|
top: 88px;
|
|
right: 6vw;
|
|
width: min(360px, 92vw);
|
|
max-height: calc(100vh - 140px);
|
|
overflow: auto;
|
|
padding: 20px;
|
|
border-radius: 20px;
|
|
border: 1px solid var(--panel-border);
|
|
background: #fffdf7;
|
|
box-shadow: 0 32px 60px rgba(66, 45, 18, 0.22);
|
|
z-index: 30;
|
|
}
|
|
|
|
.drawer-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.drawer-eyebrow {
|
|
margin: 0 0 6px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.3em;
|
|
font-size: 0.65rem;
|
|
color: #6f5b39;
|
|
}
|
|
|
|
.drawer h3 {
|
|
margin: 0 0 4px;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.drawer-subtitle {
|
|
margin: 0;
|
|
color: #6f5b39;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.drawer-close {
|
|
border: 1px solid rgba(111, 91, 57, 0.35);
|
|
border-radius: 999px;
|
|
padding: 6px 12px;
|
|
background: rgba(111, 91, 57, 0.08);
|
|
color: #6f5b39;
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.drawer-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.drawer-chip {
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(111, 91, 57, 0.35);
|
|
background: rgba(111, 91, 57, 0.08);
|
|
font-size: 0.7rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.drawer-section {
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.drawer-section h4 {
|
|
margin: 0 0 10px;
|
|
font-size: 0.85rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.22em;
|
|
color: #6f5b39;
|
|
}
|
|
|
|
.drawer-list {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.drawer-row {
|
|
padding: 12px 14px;
|
|
border-radius: 14px;
|
|
border: 1px solid rgba(217, 205, 184, 0.6);
|
|
background: rgba(255, 255, 255, 0.75);
|
|
}
|
|
|
|
.drawer-row-title {
|
|
font-weight: 600;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.drawer-row-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
font-size: 0.75rem;
|
|
color: #5b4c34;
|
|
}
|
|
|
|
.drawer-note {
|
|
margin: 8px 0 0;
|
|
font-size: 0.72rem;
|
|
color: #5b4c34;
|
|
}
|
|
|
|
.drawer-empty {
|
|
margin: 0;
|
|
font-size: 0.78rem;
|
|
color: #6f5b39;
|
|
}
|
|
|
|
.alert-strips {
|
|
display: grid;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
padding: 12px 14px;
|
|
border-radius: 14px;
|
|
border: 1px solid rgba(217, 205, 184, 0.6);
|
|
background: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.alert-strip-section {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.alert-strip-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 0.7rem;
|
|
color: #6f5b39;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.22em;
|
|
}
|
|
|
|
.alert-strip-bar {
|
|
display: flex;
|
|
height: 26px;
|
|
border-radius: 999px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(217, 205, 184, 0.6);
|
|
background: rgba(111, 91, 57, 0.08);
|
|
}
|
|
|
|
.strip-segment {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.65rem;
|
|
color: #fffdf7;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.alert-strip-bar .severity-high {
|
|
background: rgba(196, 111, 42, 0.85);
|
|
color: #3b1a09;
|
|
}
|
|
|
|
.alert-strip-bar .severity-medium {
|
|
background: rgba(31, 74, 123, 0.8);
|
|
}
|
|
|
|
.alert-strip-bar .severity-low {
|
|
background: rgba(47, 109, 79, 0.8);
|
|
}
|
|
|
|
.alert-strip-bar .direction-bullish {
|
|
background: rgba(47, 109, 79, 0.85);
|
|
}
|
|
|
|
.alert-strip-bar .direction-bearish {
|
|
background: rgba(196, 111, 42, 0.85);
|
|
color: #3b1a09;
|
|
}
|
|
|
|
.alert-strip-bar .direction-neutral {
|
|
background: rgba(111, 91, 57, 0.65);
|
|
}
|
|
|
|
.flow-meta span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.flag {
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
border: 1px solid rgba(47, 109, 79, 0.4);
|
|
color: #2f6d4f;
|
|
background: rgba(47, 109, 79, 0.12);
|
|
}
|
|
|
|
.flag-muted {
|
|
border-color: rgba(111, 91, 57, 0.4);
|
|
color: #6f5b39;
|
|
background: rgba(111, 91, 57, 0.12);
|
|
}
|
|
|
|
.time {
|
|
font-size: 0.85rem;
|
|
color: #6f5b39;
|
|
text-align: right;
|
|
}
|
|
|
|
.empty {
|
|
padding: 24px;
|
|
border-radius: 16px;
|
|
background: rgba(255, 255, 255, 0.7);
|
|
border: 1px dashed rgba(217, 205, 184, 0.8);
|
|
color: #5b4c34;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% {
|
|
transform: scale(1);
|
|
}
|
|
50% {
|
|
transform: scale(1.25);
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.dashboard {
|
|
padding: 36px 6vw 56px;
|
|
}
|
|
|
|
.filter-bar {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.filter-controls {
|
|
width: 100%;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.filter-input {
|
|
width: 100%;
|
|
}
|
|
|
|
.row {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.time {
|
|
text-align: left;
|
|
}
|
|
|
|
.drawer {
|
|
position: static;
|
|
width: 100%;
|
|
max-height: none;
|
|
}
|
|
|
|
.list {
|
|
min-height: 360px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.cards {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.card-chart,
|
|
.card-options,
|
|
.card-equities,
|
|
.card-flow,
|
|
.card-alerts,
|
|
.card-classifiers,
|
|
.card-dark {
|
|
grid-column: span 2;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
.cards {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.card-chart,
|
|
.card-options,
|
|
.card-equities,
|
|
.card-flow,
|
|
.card-alerts,
|
|
.card-classifiers,
|
|
.card-dark {
|
|
grid-column: span 1;
|
|
}
|
|
}
|
|
.card-flow .row,
|
|
.card-alerts .row,
|
|
.card-classifiers .row,
|
|
.card-dark .row {
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.card-flow .meta,
|
|
.card-alerts .meta,
|
|
.card-classifiers .meta,
|
|
.card-dark .meta {
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.card-flow .note,
|
|
.card-alerts .note,
|
|
.card-classifiers .note,
|
|
.card-dark .note {
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.card-flow,
|
|
.card-alerts,
|
|
.card-classifiers,
|
|
.card-dark {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 960px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1 1 0;
|
|
min-height: 0;
|
|
gap: 16px;
|
|
}
|
|
|
|
.card-body .list {
|
|
flex: 1 1 0;
|
|
min-height: 0;
|
|
height: auto;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.card-flow,
|
|
.card-alerts,
|
|
.card-classifiers,
|
|
.card-dark {
|
|
height: 780px;
|
|
}
|
|
|
|
.chart-surface {
|
|
height: 280px;
|
|
}
|
|
}
|