Style nav links as buttons across all three pages
Replace plain text/opacity links with bordered pill buttons that fill with accent color on hover — consistent across main app, conditions, and dashboard headers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
f67e38857e
commit
e4a5a9c4bb
3 files changed
+49
-15
No files matched your search
@@ -74,15 +74,23 @@ html, body {
|
|||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.2rem;
|
gap: 0.2rem;
|
||||||
font-size: 0.8rem;
|
font-size: 0.78rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
letter-spacing: 0.04em;
|
letter-spacing: 0.04em;
|
||||||
color: var(--accent);
|
color: var(--muted);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
transition: opacity .15s;
|
padding: 0.32rem 0.75rem;
|
||||||
|
border: 1px solid var(--border);
|
||||||
|
border-radius: 8px;
|
||||||
|
background: transparent;
|
||||||
|
transition: background .15s, border-color .15s, color .15s;
|
||||||
|
}
|
||||||
|
.hdr-back:hover {
|
||||||
|
background: var(--accent);
|
||||||
|
border-color: var(--accent);
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
.hdr-back:hover { opacity: .75; }
|
|
||||||
.hdr-sep {
|
.hdr-sep {
|
||||||
color: var(--border);
|
color: var(--border);
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
@@ -134,13 +142,20 @@ html, body {
|
|||||||
.hdr-dash-link {
|
.hdr-dash-link {
|
||||||
font-size: 0.78rem;
|
font-size: 0.78rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: var(--accent);
|
color: var(--muted);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
opacity: .85;
|
padding: 0.32rem 0.75rem;
|
||||||
transition: opacity .15s;
|
border: 1px solid var(--border);
|
||||||
|
border-radius: 8px;
|
||||||
|
background: transparent;
|
||||||
|
transition: background .15s, border-color .15s, color .15s;
|
||||||
|
}
|
||||||
|
.hdr-dash-link:hover {
|
||||||
|
background: var(--accent);
|
||||||
|
border-color: var(--accent);
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
.hdr-dash-link:hover { opacity: 1; }
|
|
||||||
|
|
||||||
/* ── Hero ────────────────────────────────────────────────── */
|
/* ── Hero ────────────────────────────────────────────────── */
|
||||||
.hero {
|
.hero {
|
||||||
|
|||||||
@@ -29,7 +29,22 @@ a { color: var(--cool); text-decoration: none; }
|
|||||||
.header .meta { font-size: 0.8rem; color: var(--ink-light); }
|
.header .meta { font-size: 0.8rem; color: var(--ink-light); }
|
||||||
.header-right { display: flex; align-items: center; gap: 1rem; font-size: 0.85rem; }
|
.header-right { display: flex; align-items: center; gap: 1rem; font-size: 0.85rem; }
|
||||||
.station-name { color: var(--cool); font-weight: 600; }
|
.station-name { color: var(--cool); font-weight: 600; }
|
||||||
.logout { color: var(--accent); }
|
.logout {
|
||||||
|
color: var(--ink-light);
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 0.78rem;
|
||||||
|
font-weight: 600;
|
||||||
|
padding: 0.32rem 0.75rem;
|
||||||
|
border: 1px solid var(--border);
|
||||||
|
border-radius: 8px;
|
||||||
|
background: transparent;
|
||||||
|
transition: background .15s, border-color .15s, color .15s;
|
||||||
|
}
|
||||||
|
.logout:hover {
|
||||||
|
background: var(--accent);
|
||||||
|
border-color: var(--accent);
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
/* ── Wrapper ── */
|
/* ── Wrapper ── */
|
||||||
.page { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
|
.page { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
|
||||||
|
|||||||
+10
-6
@@ -117,17 +117,21 @@ a:hover { text-decoration: underline; }
|
|||||||
.station-link {
|
.station-link {
|
||||||
font-size: 0.78rem;
|
font-size: 0.78rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
letter-spacing: 0.06em;
|
letter-spacing: 0.05em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: var(--card-sub);
|
color: var(--card-sub);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
opacity: .85;
|
padding: 0.35rem 0.85rem;
|
||||||
padding: 0.2rem 0.5rem;
|
|
||||||
border: 1px solid var(--border);
|
border: 1px solid var(--border);
|
||||||
border-radius: 5px;
|
border-radius: 8px;
|
||||||
transition: opacity .15s, background .15s;
|
background: transparent;
|
||||||
|
transition: background .15s, border-color .15s, color .15s;
|
||||||
|
}
|
||||||
|
.station-link:hover {
|
||||||
|
background: var(--accent);
|
||||||
|
border-color: var(--accent);
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
.station-link:hover { opacity: 1; background: var(--card-bg-soft); }
|
|
||||||
|
|
||||||
.settings-nav-links {
|
.settings-nav-links {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in new issue
Block a user