feat: redesign Toolbox navigation and personalization

This commit is contained in:
2026-07-23 00:33:03 +02:00
parent 587aadb79b
commit 67ba5e3eca
25 changed files with 1075 additions and 427 deletions

View File

@@ -17,6 +17,10 @@
--shadow: 0 16px 44px rgba(24, 34, 68, 0.08);
}
:root[data-theme='light'] {
color-scheme: light;
}
:root[data-theme='dark'] {
color-scheme: dark;
--bg: #0f1422;
@@ -119,63 +123,13 @@ summary:focus-visible {
transform: translateY(0);
}
.site-header {
position: sticky;
z-index: 20;
top: 0;
border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
background: color-mix(in srgb, var(--bg) 88%, transparent);
backdrop-filter: blur(16px);
}
.header-inner,
.portal-header .toolbox-shell__bar,
main,
.site-footer {
width: min(1160px, calc(100% - 2.5rem));
margin-inline: auto;
}
.header-inner {
min-height: 74px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.brand {
display: inline-flex;
align-items: center;
gap: 0.65rem;
color: var(--text);
text-decoration: none;
}
.brand .logo {
color: var(--brand);
}
.brand > span {
display: grid;
line-height: 1.05;
}
.brand strong {
font-family: Inter, Avenir, 'Segoe UI', ui-sans-serif, sans-serif;
font-size: 1.03rem;
letter-spacing: -0.025em;
}
.brand small {
margin-top: 0.22rem;
color: var(--muted);
font-size: 0.68rem;
font-weight: 600;
letter-spacing: 0.17em;
text-transform: uppercase;
}
.settings-button,
.state-card button,
.preferences-actions button {
border: 1px solid var(--line);
@@ -185,11 +139,6 @@ main,
font-weight: 600;
}
.settings-button {
padding: 0.62rem 0.82rem;
}
.settings-button:hover,
.state-card button:hover,
.preferences-actions button:hover {
border-color: var(--brand);
@@ -201,8 +150,15 @@ main {
}
.hero {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(19rem, 26rem);
align-items: end;
gap: clamp(2rem, 6vw, 5rem);
padding: clamp(3.5rem, 7vw, 6.8rem) 0 clamp(2.5rem, 5vw, 4.2rem);
}
.hero-intro {
max-width: 750px;
padding: clamp(4.5rem, 9vw, 8.5rem) 0 clamp(3rem, 6vw, 5.2rem);
}
.eyebrow {
@@ -214,7 +170,7 @@ main {
text-transform: uppercase;
}
.hero h1 {
.hero h2 {
margin: 0;
font-family: Inter, Avenir, 'Segoe UI', ui-sans-serif, sans-serif;
font-size: clamp(2.65rem, 7vw, 5.65rem);
@@ -222,7 +178,7 @@ main {
letter-spacing: -0.065em;
}
.hero h1 span {
.hero h2 span {
color: var(--brand);
}
@@ -235,10 +191,14 @@ main {
}
.tool-controls {
display: flex;
align-items: center;
display: grid;
align-content: end;
gap: 0.75rem;
margin-bottom: 1.5rem;
padding: 1rem;
border: 1px solid var(--line);
border-radius: 1rem;
background: color-mix(in srgb, var(--surface) 88%, transparent);
box-shadow: var(--shadow);
}
.search-field,
@@ -252,7 +212,7 @@ main {
}
.search-field {
width: min(360px, 100%);
width: 100%;
padding: 0 0.85rem;
gap: 0.55rem;
}
@@ -275,7 +235,7 @@ main {
}
.category-field {
min-width: 175px;
width: 100%;
padding: 0 0.65rem;
}
@@ -287,7 +247,7 @@ main {
display: flex;
align-items: center;
gap: 0.45rem;
margin-left: auto;
margin: 0.15rem 0 0;
color: var(--muted);
cursor: pointer;
font-size: 0.88rem;
@@ -299,14 +259,56 @@ main {
accent-color: var(--brand);
}
.active-filter {
justify-self: start;
padding: 0.4rem 0.65rem;
border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line));
border-radius: 999px;
background: var(--brand-soft);
color: var(--brand);
font-size: 0.78rem;
font-weight: 700;
cursor: pointer;
}
.app-sections {
display: grid;
gap: 2.4rem;
}
.app-section__header {
display: flex;
align-items: baseline;
gap: 0.65rem;
margin-bottom: 0.85rem;
}
.app-section__header h2 {
margin: 0;
font-family: Inter, Avenir, 'Segoe UI', sans-serif;
font-size: 1.25rem;
letter-spacing: -0.025em;
}
.app-section__header span {
min-width: 1.55rem;
padding: 0.16rem 0.4rem;
border-radius: 999px;
background: var(--surface-soft);
color: var(--muted);
font-size: 0.72rem;
font-weight: 700;
text-align: center;
}
.app-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1.1rem;
padding-bottom: 2rem;
}
.app-card {
position: relative;
min-height: 340px;
display: flex;
flex-direction: column;
@@ -321,6 +323,12 @@ main {
box-shadow 180ms ease;
}
.app-card--dragging {
z-index: 5;
opacity: 0.82;
box-shadow: 0 24px 65px rgba(24, 34, 68, 0.22);
}
.app-card:hover {
border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
transform: translateY(-2px);
@@ -360,10 +368,21 @@ main {
}
.app-card__actions {
position: relative;
z-index: 2;
display: flex;
gap: 0.15rem;
}
.drag-handle {
touch-action: none;
cursor: grab;
}
.drag-handle:active {
cursor: grabbing;
}
.icon-button,
.close-button {
width: 32px;
@@ -400,15 +419,39 @@ main {
gap: 0.45rem;
}
.title-line h2 {
.title-line h3 {
margin: 0;
font-family: Inter, Avenir, 'Segoe UI', sans-serif;
font-size: 1.3rem;
letter-spacing: -0.025em;
}
.app-card__launch-link {
color: var(--text);
text-decoration: none;
}
.app-card__launch-link::after {
position: absolute;
z-index: 1;
inset: 0;
content: '';
}
.app-card__launch-link:focus-visible {
outline: none;
}
.app-card:has(.app-card__launch-link:focus-visible) {
outline: 3px solid color-mix(in srgb, var(--accent) 70%, var(--brand));
outline-offset: 3px;
}
.status-chip,
.tag-row span {
.tag-row button,
.category-row button {
position: relative;
z-index: 2;
border-radius: 999px;
background: var(--brand-soft);
color: var(--brand);
@@ -419,6 +462,7 @@ main {
.status-chip {
padding: 0.22rem 0.48rem;
text-transform: uppercase;
pointer-events: none;
}
.status-chip--muted {
@@ -442,17 +486,37 @@ main {
font-weight: 650;
}
.tag-row {
.tag-row,
.category-row {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
margin-top: 1rem;
}
.tag-row span {
.tag-row button,
.category-row button {
padding: 0.28rem 0.52rem;
border: 0;
background: var(--surface-soft);
color: var(--muted);
font: inherit;
cursor: pointer;
}
.category-row {
margin-top: 1rem;
}
.tag-row {
margin-top: 0.55rem;
}
.tag-row button:hover,
.category-row button:hover,
.tag-row button[aria-pressed='true'] {
background: var(--brand-soft);
color: var(--brand);
}
.app-card__footer {
@@ -477,28 +541,15 @@ main {
.source-link,
.site-footer a {
position: relative;
z-index: 2;
color: var(--brand);
}
.launch-button {
display: inline-flex;
align-items: center;
gap: 0.45rem;
padding: 0.62rem 0.82rem;
border-radius: 0.65rem;
background: var(--brand);
color: var(--surface);
.open-hint {
color: var(--brand);
font-size: 0.84rem;
font-weight: 700;
text-decoration: none;
}
:root[data-theme='dark'] .launch-button {
color: #11182a;
}
.launch-button:hover {
background: var(--brand-hover);
}
.state-card {
@@ -609,7 +660,8 @@ main {
backdrop-filter: blur(5px);
}
.preferences-panel {
.preferences-panel,
.help-panel {
width: min(560px, 100%);
max-height: calc(100vh - 2rem);
overflow: auto;
@@ -620,23 +672,47 @@ main {
box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}
.preferences-panel > header {
.preferences-panel > header,
.help-panel > header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1rem;
}
.preferences-panel h2 {
.preferences-panel h2,
.help-panel h2 {
margin: 0;
font-family: Inter, Avenir, 'Segoe UI', sans-serif;
letter-spacing: -0.025em;
}
.preferences-panel .eyebrow {
.preferences-panel .eyebrow,
.help-panel .eyebrow {
margin-bottom: 0.5rem;
}
.help-steps {
display: grid;
gap: 0.85rem;
margin-top: 1.4rem;
}
.help-steps p {
margin: 0;
padding: 0.9rem 1rem;
border: 1px solid var(--line);
border-radius: 0.75rem;
background: var(--surface-soft);
color: var(--muted);
font-size: 0.9rem;
line-height: 1.55;
}
.help-steps strong {
color: var(--text);
}
.close-button {
flex: 0 0 auto;
background: var(--surface-soft);
@@ -754,31 +830,19 @@ main {
}
@media (max-width: 700px) {
.header-inner,
.portal-header .toolbox-shell__bar,
main,
.site-footer {
width: min(100% - 1.4rem, 1160px);
}
.header-inner {
min-height: 66px;
}
.settings-button {
font-size: 0;
}
.settings-button span {
font-size: 1.15rem;
}
.hero {
grid-template-columns: 1fr;
padding-top: 3.8rem;
}
.tool-controls {
align-items: stretch;
flex-direction: column;
width: 100%;
}
.search-field,
@@ -790,6 +854,10 @@ main {
margin: 0.25rem 0;
}
.app-grid {
grid-template-columns: 1fr;
}
.app-card {
min-height: 320px;
}
@@ -802,6 +870,16 @@ main {
}
}
@media (min-width: 701px) and (max-width: 960px) {
.hero {
grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem);
}
.app-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,