feat: добавить общий виртуальный счёт, справку и восстановление позиций
Offline regression tests / windows (3.11) (push) Canceled after 0s
Offline regression tests / windows (3.12) (push) Canceled after 0s
Offline regression tests / windows (3.13) (push) Canceled after 0s

This commit is contained in:
Igol committed 2026-10-22 23:07:50 +03:00
1 parent 6aa76064dc
commit c5aed5b970
29 files changed
+3600 -224

No files matched your search

+48
View File
@@ -4,6 +4,7 @@
--lead: #ff9f43; --follow: #4c8dff;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 13px/1.4 "Segoe UI", system-ui, sans-serif; }
header { background: var(--panel); border-bottom: 1px solid var(--line); padding: 10px 16px; }
.title { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
@@ -129,3 +130,50 @@ button.realon { background: rgba(255, 92, 92, 0.18); border-color: var(--red); c
.calcout .row2 { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.calcout .note { color: var(--muted); font-size: 11.5px; }
@media (max-width: 800px) { main { grid-template-columns: 1fr; } aside { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); } .tile { min-width: 200px; } }
.system-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--panel); }
.mode-status { color: #91baff; font-size: 12px; letter-spacing: .035em; }
.mode-status.mode-live { color: var(--red); }
.connection-status { font-size: 12px; }
.connection-status.connected { color: var(--muted); }
.connection-status.disconnected { color: var(--yellow); }
.command-notice { padding: 9px 16px; border-bottom: 1px solid var(--line); background: var(--panel2); overflow-wrap: anywhere; }
.paper-account { margin: 16px 18px 0; padding: 16px 18px; border: 1px solid #35517b; border-radius: 12px; background: linear-gradient(120deg, #172235, #151c28); }
.account-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.account-heading h2 { margin: 0; font-size: 17px; color: var(--text); letter-spacing: 0; text-transform: none; }
.paper-badge { font-size: 10px; font-weight: 700; color: #a9c8ff; border: 1px solid #35517b; padding: 3px 7px; border-radius: 5px; }
.account-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.account-metrics > div { display: flex; flex-direction: column; gap: 4px; }
.account-metrics span { color: #b1bdd0; font-size: 12px; }
.account-metrics strong { font-size: clamp(19px, 2vw, 26px); font-variant-numeric: tabular-nums; }
.account-metrics small { color: var(--muted); font-size: 11px; }
.paper-account .field input { width: 180px; }
.account-journal { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.account-journal summary { cursor: pointer; color: #b1c9ed; }
.account-journal .tablewrap { margin-top: 8px; max-height: 220px; }
.account-journal td:nth-child(2) { white-space: normal; min-width: 160px; }
.help-btn { margin-left: auto; align-self: center; margin-bottom: 6px; font-weight: 600; }
.calcbtn { margin-left: 0; }
.help-dialog { width: min(900px, calc(100vw - 28px)); max-height: min(90vh, 980px); padding: 24px; background: var(--panel); color: var(--text); border: 1px solid #3c5273; border-radius: 14px; box-shadow: 0 20px 100px #000a; overflow: auto; }
.help-dialog::backdrop { background: #030812bd; backdrop-filter: blur(3px); }
.help-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.help-heading h2 { margin: 0; font-size: 24px; }
.help-heading p { color: var(--muted); margin: 5px 0 20px; }
.help-close { font-size: 24px; padding: 0; width: 36px; height: 36px; flex: 0 0 auto; }
.help-search-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.help-search { width: 100%; padding: 11px 12px; color: var(--text); background: var(--panel2); border: 1px solid #3c5273; border-radius: 8px; font: inherit; }
.help-content h3 { margin: 22px 0 8px; color: #9fc4ff; font-size: 15px; }
.help-entry { padding: 12px 0; border-bottom: 1px solid var(--line); }
.help-entry h4 { margin: 0 0 5px; font-size: 13px; }
.help-entry p { margin: 0; color: #b8c2d2; line-height: 1.55; overflow-wrap: anywhere; }
.help-entry code { color: var(--muted); font-size: 11px; font-weight: 400; margin-left: 6px; overflow-wrap: anywhere; }
button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid #8db8ff; outline-offset: 3px; }
@media (max-width: 900px) { .tabs { flex-wrap: wrap; padding-bottom: 6px; } .tab { padding: 8px 10px; } .help-btn { margin-left: 0; } .title { flex-wrap: wrap; } }
@media (max-width: 620px) {
.account-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
.paper-account { margin: 12px 10px 0; padding: 14px; }
.help-dialog { padding: 18px; }
.check { white-space: normal; }
.field label { white-space: normal; max-width: 260px; }
.keygrid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }