Skip to content
This repository was archived by the owner on Jul 15, 2026. It is now read-only.

Commit ba3a4d5

Browse files
authored
Follow up changes to universal nav bar and adjustment of brand color according to CD (#150)
1 parent d72dc30 commit ba3a4d5

3 files changed

Lines changed: 12 additions & 22 deletions

File tree

src/css/universal-nav.css

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -94,18 +94,6 @@
9494
background: var(--universal-nav-accent-current);
9595
}
9696

97-
.universal-nav__dot--site {
98-
background: var(--universal-nav-accent-site);
99-
}
100-
101-
.universal-nav__dot--docs {
102-
background: var(--universal-nav-accent-docs);
103-
}
104-
105-
.universal-nav__dot--hub {
106-
background: var(--universal-nav-accent-hub);
107-
}
108-
10997
.universal-nav__icon {
11098
display: inline-flex;
11199
align-items: center;
@@ -221,6 +209,11 @@
221209
height: 9px;
222210
border-radius: 50%;
223211
flex: none;
212+
background: rgba(255, 255, 255, 0.3);
213+
}
214+
215+
.universal-nav__sheet-row.is-current .universal-nav__sheet-dot {
216+
background: var(--universal-nav-accent-current);
224217
}
225218

226219
.universal-nav__sheet-text {

src/css/vars.css

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
--color-smoke-70: #e8edf4;
66
--color-gray-10: #c1c1c1;
77
--color-gray-30: #8e8e8f;
8-
--color-brand-primary: #1880bd;
9-
--color-brand-secondary: #b80069;
8+
--color-brand-primary: #1680bd;
9+
--color-brand-secondary: #b80068;
1010
--color-text: #182c3d;
1111
--color-text-semi-muted: #6d7c8b;
1212
--color-text-muted: #afbbc8;
@@ -52,9 +52,6 @@
5252
--universal-nav-duration-fast: 160ms;
5353
--universal-nav-duration-med: 220ms;
5454
--universal-nav-accent-current: #d4107d;
55-
--universal-nav-accent-site: var(--color-brand-secondary);
56-
--universal-nav-accent-docs: var(--color-brand-primary);
57-
--universal-nav-accent-hub: #3d5266;
5855
/* nav */
5956
--nav-background: var(--color-white);
6057
--nav-border-color: var(--panel-background);

src/partials/universal-nav.hbs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<a class="universal-nav__icon" href="https://github.com/stackabletech" target="_blank" rel="noopener" aria-label="Stackable on GitHub">
3030
<svg width="15" height="15" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56v-2c-3.2.7-3.87-1.36-3.87-1.36-.52-1.32-1.27-1.67-1.27-1.67-1.04-.71.08-.7.08-.7 1.15.08 1.76 1.18 1.76 1.18 1.02 1.75 2.68 1.25 3.33.96.1-.75.4-1.25.73-1.54-2.55-.29-5.24-1.28-5.24-5.69 0-1.26.45-2.29 1.18-3.1-.12-.29-.51-1.46.11-3.04 0 0 .97-.31 3.18 1.18a11 11 0 015.79 0c2.21-1.49 3.18-1.18 3.18-1.18.62 1.58.23 2.75.11 3.04.74.81 1.18 1.84 1.18 3.1 0 4.42-2.69 5.39-5.25 5.68.41.36.78 1.06.78 2.14v3.17c0 .31.21.68.8.56C20.21 21.39 23.5 17.08 23.5 12 23.5 5.65 18.35.5 12 .5z"/></svg>
3131
</a>
32-
<a class="universal-nav__cta" href="https://stackable.tech">Get started (free)</a>
32+
<a class="universal-nav__cta" href="https://stackable.tech/en/first-steps/">Get started (free)</a>
3333

3434
<button type="button" class="universal-nav__disclosure" aria-expanded="false" aria-controls="universal-nav-sheet">
3535
<span class="universal-nav__dot" aria-hidden="true"></span>
@@ -42,30 +42,30 @@
4242
<div id="universal-nav-sheet" class="universal-nav__sheet" hidden>
4343
<nav aria-label="Switch Stackable property">
4444
<a class="universal-nav__sheet-row" href="https://stackable.tech">
45-
<span class="universal-nav__sheet-dot universal-nav__dot--site" aria-hidden="true"></span>
45+
<span class="universal-nav__sheet-dot" aria-hidden="true"></span>
4646
<span class="universal-nav__sheet-text">
4747
<span class="universal-nav__sheet-name">Stackable</span>
4848
<span class="universal-nav__sheet-host">stackable.tech</span>
4949
</span>
5050
<span class="universal-nav__ext" aria-hidden="true">{{> universal-nav-icon-external}}</span>
5151
</a>
5252
<a class="universal-nav__sheet-row is-current" href="https://docs.stackable.tech" aria-current="page">
53-
<span class="universal-nav__sheet-dot universal-nav__dot--docs" aria-hidden="true"></span>
53+
<span class="universal-nav__sheet-dot" aria-hidden="true"></span>
5454
<span class="universal-nav__sheet-text">
5555
<span class="universal-nav__sheet-name">Documentation</span>
5656
<span class="universal-nav__sheet-host">docs.stackable.tech</span>
5757
</span>
5858
<span class="universal-nav__here">You are here</span>
5959
</a>
6060
<a class="universal-nav__sheet-row" href="https://hub.stackable.tech">
61-
<span class="universal-nav__sheet-dot universal-nav__dot--hub" aria-hidden="true"></span>
61+
<span class="universal-nav__sheet-dot" aria-hidden="true"></span>
6262
<span class="universal-nav__sheet-text">
6363
<span class="universal-nav__sheet-name">Hub</span>
6464
<span class="universal-nav__sheet-host">hub.stackable.tech</span>
6565
</span>
6666
<span class="universal-nav__ext" aria-hidden="true">{{> universal-nav-icon-external}}</span>
6767
</a>
6868
</nav>
69-
<a class="universal-nav__cta universal-nav__sheet-cta" href="https://stackable.tech">Get started (free)</a>
69+
<a class="universal-nav__cta universal-nav__sheet-cta" href="https://stackable.tech/en/first-steps/">Get started (free)</a>
7070
</div>
7171
</div>

0 commit comments

Comments
 (0)