Fix dark theme contrast for onboarding port forwarding totals and warning boxes

Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/a017a6f3-2b07-4fa8-8815-84ae87f403bf

Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-03 21:36:07 +00:00
committed by GitHub
parent f0d22e698b
commit 72a756bfbf
2 changed files with 15 additions and 4 deletions

View File

@@ -284,7 +284,7 @@ async function loadStep3() {
html += '</div>';
// Totals
html += '<div class="onboarding-port-totals" style="margin-bottom:18px;padding:10px 14px;background:var(--color-bg-subtle,#f6f8fa);border-radius:6px;font-size:0.93em;">';
html += '<div class="onboarding-port-totals">';
html += '<strong>Total port openings: 4</strong> (without Element Calling)<br>';
html += '<strong>Total port openings: 9</strong> (with Element Calling — 4 required + 5 optional)';
html += '</div>';

View File

@@ -2066,13 +2066,24 @@ button.btn-reboot:hover:not(:disabled) {
margin-bottom: 12px;
}
.onboarding-port-totals {
background: var(--card-color);
border: 1px solid var(--border-color);
border-radius: 6px;
padding: 10px 14px;
font-size: 0.93em;
color: var(--text-primary);
margin-bottom: 18px;
line-height: 1.6;
}
.onboarding-port-warn {
background: rgba(229, 165, 10, 0.08);
border: 1px solid rgba(229, 165, 10, 0.3);
background: rgba(229, 165, 10, 0.15);
border: 1px solid rgba(229, 165, 10, 0.5);
border-radius: 8px;
padding: 12px 16px;
font-size: 0.88rem;
color: var(--text-secondary);
color: var(--text-primary);
margin-bottom: 14px;
line-height: 1.5;
}