The Conti e posizioni screen follows mockup 02: totals split by strategy, one card per account with key permissions and the last reconciliation, positions with a per-account filter and CSV export, pending stops (Alpaca grouped into permanent and day stops), residues, and exposure by currency. It shows one world only, real accounts when there are any, so simulated and real money never add up. Position values are rounded to the cent per row, as the table shows them, so the figures add up on screen. Settings gain "Conti e chiavi": practice keys are asked to the broker before they are saved and refused when they may withdraw or cannot trade; they are never shown again and the engine restarts to use them. The capital entrusted to each broker is set there in euro. Until any capital is set, the overview points to that section as the first step. The overview now reads one world, nets capital flows out of its results and uses the time-weighted index; open orders exclude protective stops. The demo seed gains cash rows, closed trades, stops, the ECB rate and the reconciliation state, so the ledger itself computes the mockup's figures. Screenshots now capture the whole page and include Conti. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d2441df592
commit
4c4f848d80
18 files changed
+1472
-33
No files matched your search
@@ -325,6 +325,67 @@ legend { display: flex; align-items: center; gap: 10px; font-size: 17px; font-we
|
||||
.chart-table summary { color: var(--link); cursor: pointer; }
|
||||
.chart-table .table-wrap { max-height: 280px; overflow: auto; margin-top: 8px; }
|
||||
|
||||
/* ---- Conti e posizioni ---- */
|
||||
.muted { color: var(--text-3); font-weight: 400; }
|
||||
.attention { color: var(--attention); }
|
||||
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 12px; }
|
||||
.panel-head h2 { margin: 0; }
|
||||
.panel-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
|
||||
.totals { padding: 24px 28px; }
|
||||
.totals-cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
|
||||
.total-value { font-size: 30px; line-height: 36px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
|
||||
.cell-note { color: var(--text-3); font-size: 13px; }
|
||||
.split-bar { display: flex; gap: 3px; height: 12px; margin-top: 24px; }
|
||||
.split-bar span { border-radius: 3px; min-width: 3px; }
|
||||
.split-bar.slim { height: 12px; margin: 16px 0 12px; }
|
||||
.split-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 12px 0 0; padding: 0; color: var(--text-2); font-size: 13.5px; }
|
||||
.split-legend li { display: inline-flex; align-items: center; gap: 8px; }
|
||||
.split-legend strong { color: var(--text); font-weight: 600; }
|
||||
.swatch { display: inline-block; width: 11px; height: 11px; border-radius: 2px; flex: none; margin-right: 8px; vertical-align: -1px; }
|
||||
.swatch.round { width: 8px; height: 8px; border-radius: 50%; }
|
||||
.split-legend .swatch { margin-right: 0; }
|
||||
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 20px; }
|
||||
.account { display: flex; flex-direction: column; padding: 22px 26px; }
|
||||
.account-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
|
||||
.account-head h2 { display: flex; align-items: center; gap: 10px; }
|
||||
.tag { padding: 2px 8px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); font-size: 13px; font-weight: 500; line-height: 20px; }
|
||||
.link-state { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 13.5px; }
|
||||
.link-state.down .dot { background: var(--loss); }
|
||||
.account-value { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 14px 0 12px; }
|
||||
.account-equity { font-size: 32px; line-height: 40px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
|
||||
.account-native, .native { color: var(--text-3); font-size: 13.5px; font-weight: 400; }
|
||||
.native { margin-left: 0.35em; }
|
||||
.account-lines { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 0; font-variant-numeric: tabular-nums; }
|
||||
.account-lines dt, .account-lines dd { padding: 9px 0; border-top: 1px solid var(--rule-inner); margin: 0; }
|
||||
.account-lines dt { color: var(--text-2); }
|
||||
.account-lines dd { text-align: right; }
|
||||
.account-lines strong { font-weight: 600; }
|
||||
.account-facts { list-style: none; margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; background: var(--surface-2); display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--text-2); }
|
||||
.account-facts li { display: flex; align-items: flex-start; gap: 10px; }
|
||||
.account-facts .icon { margin-top: 2px; color: var(--text-3); }
|
||||
.account-facts .loss .icon, .account-facts .attention .icon { color: inherit; }
|
||||
.prudent { margin-top: 16px; }
|
||||
.prudent > div { display: flex; flex-direction: column; gap: 8px; }
|
||||
.differences { margin: 0; padding-left: 18px; }
|
||||
.choices { display: flex; gap: 8px; flex-wrap: wrap; }
|
||||
.choices form { margin: 0; }
|
||||
.positions th[scope="row"] { font-weight: 400; text-align: left; white-space: nowrap; }
|
||||
.positions th[scope="row"] strong { font-weight: 650; }
|
||||
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
|
||||
.table tfoot th, .table tfoot td { padding: 12px 12px 4px 0; border-top: 2px solid var(--text); text-align: left; }
|
||||
.table tfoot .num { text-align: right; }
|
||||
.table th[scope="row"] { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule-inner); vertical-align: top; }
|
||||
.pending th[scope="row"], .positions th[scope="row"] { color: var(--text); }
|
||||
.pending th[scope="row"] { font-weight: 400; text-align: left; }
|
||||
.pending th[scope="row"] strong { font-weight: 650; }
|
||||
.order-state { display: inline-flex; align-items: center; gap: 8px; }
|
||||
.order-state .icon { color: var(--text-3); }
|
||||
.aside { margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: var(--surface-2); color: var(--text-2); font-size: 13.5px; }
|
||||
.currency-lines { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; margin: 0 0 12px; font-variant-numeric: tabular-nums; }
|
||||
.currency-lines dt { display: flex; align-items: center; color: var(--text-2); }
|
||||
.currency-lines dd { margin: 0; text-align: right; }
|
||||
.fx-warning { margin-top: 16px; }
|
||||
|
||||
/* ---- Service pages ---- */
|
||||
.service { min-height: 100vh; display: flex; justify-content: center; padding: 48px 16px; }
|
||||
.service-box { width: 100%; max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
|
||||
@@ -362,6 +423,16 @@ legend { display: flex; align-items: center; gap: 10px; font-size: 17px; font-we
|
||||
.statement { font-size: 18px; line-height: 26px; margin-top: 12px; }
|
||||
.columns { grid-template-columns: 1fr; }
|
||||
.row { grid-template-columns: 1fr; }
|
||||
.totals { padding: 18px; }
|
||||
.totals-cells { grid-template-columns: 1fr 1fr; gap: 14px; }
|
||||
.total-value { font-size: 22px; line-height: 28px; }
|
||||
.split-legend { gap: 6px 16px; }
|
||||
.account-grid { grid-template-columns: 1fr; gap: 14px; }
|
||||
.account { padding: 18px; }
|
||||
.account-equity { font-size: 28px; line-height: 34px; }
|
||||
.positions .wide { display: none; }
|
||||
.account-value .cell-change { display: inline-flex; flex-basis: 100%; }
|
||||
.panel-tools { width: 100%; justify-content: space-between; }
|
||||
.facts { grid-template-columns: 1fr; gap: 2px; }
|
||||
.facts dd { margin-bottom: 8px; }
|
||||
.bottombar {
|
||||
|
||||
Reference in new issue
Block a user