fix(hub): align AI summary trades with records and restyle headings
- Query trade_records with trading-day window and reviewed fields instead of missing session_date column - Style summary headings and account names as red text with white stroke Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -3534,27 +3534,66 @@ body.hub-page-ai #page-ai {
|
||||
color: var(--text);
|
||||
font-weight: 600;
|
||||
}
|
||||
.ai-result-md h2 {
|
||||
.ai-md-body.ai-result-md h2 {
|
||||
font-size: 1.02rem;
|
||||
color: var(--accent-2, var(--accent));
|
||||
color: var(--red);
|
||||
margin: 14px 0 8px;
|
||||
padding-bottom: 4px;
|
||||
border-bottom: 1px solid var(--border-soft);
|
||||
-webkit-text-stroke: 0.45px #fff;
|
||||
paint-order: stroke fill;
|
||||
text-shadow:
|
||||
0 0 1px #fff,
|
||||
0 0 2px rgba(255, 255, 255, 0.9),
|
||||
1px 0 0 #fff,
|
||||
-1px 0 0 #fff,
|
||||
0 1px 0 #fff,
|
||||
0 -1px 0 #fff;
|
||||
}
|
||||
.ai-md-body.ai-result-md h2:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.ai-md-body.ai-result-md h3 {
|
||||
font-size: 0.92rem;
|
||||
color: var(--accent-2, var(--accent));
|
||||
color: var(--red);
|
||||
margin: 16px 0 8px;
|
||||
padding-bottom: 4px;
|
||||
border-bottom: 1px solid var(--border-soft);
|
||||
font-weight: 600;
|
||||
-webkit-text-stroke: 0.45px #fff;
|
||||
paint-order: stroke fill;
|
||||
text-shadow:
|
||||
0 0 1px #fff,
|
||||
0 0 2px rgba(255, 255, 255, 0.9),
|
||||
1px 0 0 #fff,
|
||||
-1px 0 0 #fff,
|
||||
0 1px 0 #fff,
|
||||
0 -1px 0 #fff;
|
||||
}
|
||||
.ai-md-body.ai-result-md h3:first-of-type {
|
||||
margin-top: 4px;
|
||||
}
|
||||
.ai-md-body.ai-result-md h4 {
|
||||
font-size: 0.92rem;
|
||||
color: var(--red);
|
||||
margin: 10px 0 6px;
|
||||
-webkit-text-stroke: 0.45px #fff;
|
||||
paint-order: stroke fill;
|
||||
text-shadow:
|
||||
0 0 1px #fff,
|
||||
0 0 2px rgba(255, 255, 255, 0.9),
|
||||
1px 0 0 #fff,
|
||||
-1px 0 0 #fff,
|
||||
0 1px 0 #fff,
|
||||
0 -1px 0 #fff;
|
||||
}
|
||||
.ai-result-md h2 {
|
||||
font-size: 1.02rem;
|
||||
color: var(--accent-2, var(--accent));
|
||||
margin: 14px 0 8px;
|
||||
padding-bottom: 4px;
|
||||
border-bottom: 1px solid var(--border-soft);
|
||||
}
|
||||
.ai-result-md h3,
|
||||
.ai-result-md h4 {
|
||||
font-size: 0.92rem;
|
||||
@@ -3624,7 +3663,16 @@ body.hub-page-ai #page-ai {
|
||||
}
|
||||
.ai-ac-name {
|
||||
min-width: 9rem;
|
||||
font-weight: 500;
|
||||
font-weight: 600;
|
||||
color: var(--red);
|
||||
-webkit-text-stroke: 0.35px #fff;
|
||||
paint-order: stroke fill;
|
||||
text-shadow:
|
||||
0 0 1px #fff,
|
||||
1px 0 0 #fff,
|
||||
-1px 0 0 #fff,
|
||||
0 1px 0 #fff,
|
||||
0 -1px 0 #fff;
|
||||
}
|
||||
.ai-ac-remark {
|
||||
color: var(--muted);
|
||||
@@ -3726,7 +3774,16 @@ body.hub-page-ai #page-ai {
|
||||
margin: 0 0 6px;
|
||||
font-size: 0.82rem;
|
||||
font-weight: 600;
|
||||
color: var(--accent-2, var(--accent));
|
||||
color: var(--red);
|
||||
-webkit-text-stroke: 0.45px #fff;
|
||||
paint-order: stroke fill;
|
||||
text-shadow:
|
||||
0 0 1px #fff,
|
||||
0 0 2px rgba(255, 255, 255, 0.9),
|
||||
1px 0 0 #fff,
|
||||
-1px 0 0 #fff,
|
||||
0 1px 0 #fff,
|
||||
0 -1px 0 #fff;
|
||||
}
|
||||
.ai-msg-attachments {
|
||||
display: flex;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Orbitron:wght@500;600;700&display=swap" rel="stylesheet" media="print" onload="this.media='all'" />
|
||||
<noscript><link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Orbitron:wght@500;600;700&display=swap" rel="stylesheet" /></noscript>
|
||||
<link rel="stylesheet" href="/assets/app.css?v=20260606-hub-ai3" />
|
||||
<link rel="stylesheet" href="/assets/app.css?v=20260607-hub-ai-v3" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="app-bg" aria-hidden="true"></div>
|
||||
|
||||
Reference in New Issue
Block a user