1
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:
listik committed 2026-10-23 20:49:12 +03:00
1 parent 2ea1a79bda
commit 85425483c0
50 files changed
+6468 -1854

No files matched your search

+179
View File
@@ -0,0 +1,179 @@
:root {
--bg: #0f1218; --panel: #161b23; --panel2: #1c222c; --line: #2a3240; --text: #e6e9ef; --muted: #8b95a7;
--accent: #4c8dff; --green: #2ecc71; --red: #ff5c5c; --yellow: #f5c542; --yellow-bg: rgba(245, 197, 66, 0.14);
--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; }
.title h1 { font-size: 16px; margin: 0; font-weight: 600; }
.title .hint { color: var(--muted); }
.settings { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 3px; }
.field label { color: var(--muted); font-size: 11px; white-space: nowrap; }
.field input, .field select { background: var(--panel2); border: 1px solid var(--line); color: var(--text); border-radius: 6px;
padding: 5px 7px; width: 92px; font: inherit; }
.field select { width: 230px; }
.check { display: flex; align-items: center; gap: 6px; color: var(--text); font-size: 12px; padding-bottom: 6px; white-space: nowrap; }
.more { display: none; margin-top: 8px; }
.more.open { display: flex; }
button { background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px;
font: inherit; cursor: pointer; }
button:hover { border-color: var(--accent); }
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
button.start { background: rgba(46, 204, 113, 0.15); border-color: var(--green); color: var(--green); font-weight: 600; }
button.stop { background: rgba(255, 92, 92, 0.12); border-color: var(--red); color: var(--red); font-weight: 600; }
button:disabled { opacity: 0.35; cursor: default; }
#settingsMsg { color: var(--muted); margin-left: 8px; }
main { display: grid; grid-template-columns: 270px 1fr; min-height: calc(100vh - 120px); }
aside { border-right: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
aside h2, section h2 { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 4px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; position: relative; }
.tile:hover { border-color: #3a4558; }
.tile.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.tile .sym { font-size: 16px; font-weight: 700; }
.tabs { display: flex; gap: 4px; padding: 8px 16px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.tab { border-radius: 8px 8px 0 0; border-bottom: none; padding: 8px 18px; font-weight: 600; color: var(--muted); }
.tab.on { background: var(--panel); color: var(--text); border-color: var(--line); }
#arbRows tr { cursor: pointer; }
td.plancell { white-space: normal; min-width: 380px; max-width: 460px; vertical-align: top; cursor: default; }
div.plancell { white-space: normal; padding: 4px 2px 6px; font-size: 12px; position: sticky; left: 0;
max-width: min(1200px, calc(100vw - 60px)); }
div.plancell ol.plan { font-size: 12.5px; margin-top: 4px; }
.planbtn { font-size: 11px; padding: 2px 8px; white-space: nowrap; cursor: pointer; }
ol.plan { margin: 0; padding-left: 18px; font-size: 11.5px; line-height: 1.45; }
ol.plan li { margin-bottom: 2px; }
#arbRows tr.detail td { background: var(--panel2); cursor: default; }
th[data-s] { cursor: pointer; }
th[data-s].sorted { color: var(--accent); }
.exname { font-weight: 600; }
.links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.links a { color: var(--accent); text-decoration: none; font-size: 12px; border: 1px solid var(--line); border-radius: 6px;
padding: 2px 8px; background: var(--panel2); }
.links a:hover { border-color: var(--accent); }
.cex { font-size: 11px; font-weight: 600; border-radius: 4px; padding: 1px 6px; vertical-align: middle;
background: rgba(76, 141, 255, 0.15); color: var(--accent); border: 1px solid rgba(76, 141, 255, 0.4); }
.fit { font-size: 11px; border-radius: 6px; padding: 3px 7px; margin: 4px 0 6px; }
.fit-check { color: var(--muted); background: rgba(139, 149, 167, 0.1); }
.fit-no { color: var(--red); background: rgba(255, 92, 92, 0.1); }
.fit-near { color: var(--yellow); background: var(--yellow-bg); }
.fit-ok, .fit-new { color: var(--green); background: rgba(46, 204, 113, 0.14); font-weight: 600; }
.tile.fit-ok, .tile.fit-new { border-color: rgba(46, 204, 113, 0.6); box-shadow: 0 0 10px rgba(46, 204, 113, 0.25); }
.tile.fit-new { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 18px rgba(46, 204, 113, 0.65); } }
.tile.fit-ok.active, .tile.fit-new.active { border-color: var(--accent); }
.tile.plus { border-style: dashed; text-align: center; padding: 14px 12px 10px; }
.tile.plus .plusicon { font-size: 30px; line-height: 30px; color: var(--accent); font-weight: 300; }
button.add { background: rgba(76, 141, 255, 0.15); border-color: var(--accent); color: var(--accent); padding: 3px 10px; }
tr.leadrow td { background: rgba(46, 204, 113, 0.07); }
.tile .route { color: var(--muted); font-size: 11px; margin: 2px 0 6px; }
.tile .row { display: flex; justify-content: space-between; font-size: 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; position: absolute; top: 12px; right: 34px; background: #555; }
.tile .del { position: absolute; top: 5px; right: 6px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 6px;
background: transparent; color: var(--muted); font-size: 16px; line-height: 22px; cursor: pointer; }
.tile .del:hover { background: rgba(231, 76, 60, 0.18); color: var(--red, #e74c3c); }
.dot.run { background: var(--green); box-shadow: 0 0 6px var(--green); }
.badge { background: var(--yellow-bg); color: var(--yellow); border-radius: 10px; padding: 0 7px; font-size: 11px; }
.pos { color: var(--green); } .neg { color: var(--red); } .mut { color: var(--muted); }
section.center { padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.coinhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.coinhead .name { font-size: 18px; font-weight: 700; }
.coinhead .feeds { color: var(--muted); font-size: 12px; }
.chartbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; gap: 10px; flex-wrap: wrap; }
.legend { display: flex; gap: 16px; font-size: 12px; }
.legend i { display: inline-block; width: 14px; height: 3px; vertical-align: middle; margin-right: 6px; border-radius: 2px; }
.range button { padding: 3px 9px; font-size: 12px; }
.range button.on { border-color: var(--accent); color: var(--accent); }
canvas { width: 100%; height: 240px; display: block; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.stat { background: var(--panel2); border-radius: 8px; padding: 8px 10px; }
.stat .k { color: var(--muted); font-size: 11px; }
.stat .v { font-size: 17px; font-weight: 600; margin-top: 2px; }
.controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.statusline { color: var(--muted); font-size: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { text-align: left; color: var(--muted); font-weight: 500; padding: 6px 8px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); }
td { padding: 6px 8px; border-bottom: 1px solid #222a35; white-space: nowrap; }
td.why { white-space: normal; color: var(--muted); max-width: 320px; }
tr.open td { background: var(--yellow-bg); }
tr.open td:first-child { border-left: 3px solid var(--yellow); }
tr.flash td { animation: flash 1.5s ease-out; }
@keyframes flash { from { background: rgba(245, 197, 66, 0.45); } }
.x { background: transparent; border: 1px solid var(--red); color: var(--red); border-radius: 50%; width: 22px; height: 22px;
padding: 0; line-height: 18px; font-weight: 700; }
.x:hover { background: var(--red); color: #fff; }
.tablewrap { max-height: 46vh; overflow: auto; }
.empty { color: var(--muted); padding: 30px; text-align: center; }
.realbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; padding: 6px 10px;
border: 1px dashed var(--line); border-radius: 8px; }
.realbar.on { border: 1px solid var(--red); background: rgba(255, 92, 92, 0.08); }
.realtag { background: var(--red); color: #fff; border-radius: 4px; padding: 0 5px; font-size: 10px; font-weight: 700; }
.keygrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; }
.keycard { background: var(--panel2); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.keycard input { background: var(--panel); border: 1px solid var(--line); color: var(--text); border-radius: 6px; padding: 5px 8px; }
button.realon { background: rgba(255, 92, 92, 0.18); border-color: var(--red); color: var(--red); font-weight: 700; }
.calcbtn { margin-left: auto; align-self: center; margin-bottom: 6px; border-color: var(--accent); color: var(--accent);
background: rgba(76, 141, 255, 0.12); font-weight: 600; }
.calcbtn.on { background: var(--accent); color: #fff; }
.calcpanel { position: fixed; top: 52px; right: 16px; z-index: 50; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 70px);
overflow-y: auto; background: var(--panel); border: 1px solid var(--accent); border-radius: 10px; padding: 12px 14px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.calchead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; }
.calcgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.calcgrid .field input { width: 100%; }
.calcout { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.calcout .big { background: var(--panel2); border-radius: 8px; padding: 8px 10px; }
.calcout .big b { font-size: 18px; color: var(--green); }
.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; } }