feat(frontend): redesign the employer cabinet with step-by-step need and invitation forms

This commit is contained in:
shira committed 2026-10-10 03:01:36 +03:00
1 parent a0869d81a1
commit 15590d127c
45 files changed
+3600 -1983

No files matched your search

@@ -1,6 +1,6 @@
.content {
display: grid;
gap: var(--space-6);
gap: var(--space-5);
min-width: 0;
}
@@ -11,71 +11,47 @@
max-width: 28rem;
}
.selector label,
.basis legend {
.selector label {
font-size: var(--font-size-s);
font-weight: var(--font-weight-bold);
}
.selector select {
width: 100%;
min-width: 0;
min-height: 2.75rem;
padding: var(--space-2) var(--space-3);
border: var(--line-thin) solid var(--color-border-strong);
border-radius: var(--radius-s);
color: var(--color-text);
background: var(--color-surface);
}
.selector select:focus-visible {
outline: var(--line-strong) solid var(--color-accent);
outline-offset: 2px;
}
.workspace {
display: grid;
gap: var(--space-6);
gap: var(--space-5);
align-items: start;
min-width: 0;
}
/* The basis of the search: the segmented choice and, beside it on a wide
* screen, the need picker. */
.basis {
display: grid;
gap: var(--space-3);
gap: var(--space-3) var(--space-5);
align-items: end;
min-width: 0;
margin: 0;
padding: 0;
border: 0;
}
.basis legend {
padding: 0;
}
@media (width >= 48rem) {
.basis {
grid-template-columns: auto minmax(0, 1fr);
}
.choices {
display: flex;
flex-wrap: wrap;
gap: var(--space-1) var(--space-4);
}
.choice {
display: inline-flex;
gap: var(--space-2);
align-items: center;
min-height: 2.75rem;
}
.choice input {
width: 1.25rem;
height: 1.25rem;
margin: 0;
accent-color: var(--color-action);
.basis > p {
align-self: center;
}
}
.hint {
margin: 0;
color: var(--color-text-secondary);
font-size: var(--font-size-s);
font-size: var(--font-size-xs);
}
.results {
@@ -84,21 +60,6 @@
min-width: 0;
}
.idle {
margin: 0;
padding: var(--space-5);
border: var(--line-thin) dashed var(--color-border-strong);
border-radius: var(--radius-m);
background: var(--color-surface);
}
.load-more {
display: flex;
justify-content: center;
}
@media (width >= 64rem) {
.workspace {
grid-template-columns: minmax(19rem, 24rem) minmax(0, 1fr);
}
.results:focus-visible {
outline-offset: 4px;
}