Release 2.1.0: recolor secondary buttons for clearer UX.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Navis
2026-07-29 07:18:12 +03:00
co-authored by Cursor
parent b49339b9d3
commit 37e31ae742
10 changed files with 55 additions and 37 deletions
+29 -14
View File
@@ -281,16 +281,30 @@
display: grid;
place-items: center;
border-radius: 14px;
border: 1px solid var(--line);
background: rgba(255,255,255,.78);
color: var(--ink);
border: 1px solid rgba(8, 90, 68, 0.22);
background: linear-gradient(180deg, #d2efe4, #bfe6d6);
color: var(--accent-deep);
font-size: 1.15rem;
font-weight: 700;
cursor: pointer;
transition: background .15s, border-color .15s, color .15s;
transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
box-shadow: 0 4px 12px rgba(8, 90, 68, 0.08);
}
.icon-btn:hover {
background: linear-gradient(180deg, #c5e9db, #aedfcb);
border-color: rgba(8, 90, 68, 0.38);
color: #05553f;
box-shadow: 0 6px 14px rgba(8, 90, 68, 0.14);
}
.icon-btn.danger {
color: #9e2a22;
background: linear-gradient(180deg, #f8d8d4, #efc4bf);
border-color: rgba(158, 42, 34, 0.28);
}
.icon-btn.danger:hover {
background: linear-gradient(180deg, #f3c5bf, #e8aea7);
color: #7f1f19;
}
.icon-btn:hover { background: #fff; border-color: rgba(13,138,102,.35); color: var(--accent); }
.icon-btn.danger { color: var(--danger); }
.icon-btn.wide {
width: auto;
padding: 0 14px;
@@ -405,15 +419,16 @@
background: linear-gradient(145deg, #b8342b, #e0574b);
}
.secondary {
background: linear-gradient(180deg, #ffffff, #eef6f2);
color: var(--ink);
border: 1px solid rgba(11, 28, 24, 0.12);
box-shadow: 0 6px 14px rgba(11, 28, 24, 0.05);
background: linear-gradient(180deg, #2f6f5f, #25584b);
color: #f2fff9;
border: 1px solid rgba(12, 48, 40, 0.35);
box-shadow: 0 8px 18px rgba(20, 70, 56, 0.18);
}
.secondary:hover:not(:disabled) {
background: #fff;
border-color: rgba(13,138,102,.35);
color: var(--accent);
background: linear-gradient(180deg, #37806d, #2c6757);
color: #ffffff;
border-color: rgba(12, 48, 40, 0.45);
box-shadow: 0 10px 22px rgba(20, 70, 56, 0.24);
}
.cta {
width: 100%;
@@ -573,7 +588,7 @@
<div class="brand-wrap">
<div class="brand-row">
<h1 class="brand">Navis</h1>
<span class="badge-ver">2.0</span>
<span class="badge-ver">2.1</span>
</div>
<p class="tagline">Быстрый клиент · Naive · Hy2 · AWG · Xray</p>
</div>
+1 -1
View File
@@ -17,7 +17,7 @@ import (
)
// CurrentVersion is the shipped client version.
const CurrentVersion = "2.0.0"
const CurrentVersion = "2.1.0"
// DefaultManifestURL is the update feed (hosted in the project git repo).
const DefaultManifestURL = "https://git.evilfox.cc/test2/navi/raw/branch/main/dist/update.json"