Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions frontend/src/pages/SearchResults/SearchResultsPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
margin: 0 0 12px;
color: var(--text-accent);
font-family: var(--font-mono);
font-size: 11px;
font-size: 0.6875rem;
font-weight: 500;
letter-spacing: 0.12em;
text-transform: uppercase;
Expand All @@ -77,7 +77,7 @@
/* Hovedtittel. */
.search-results-header h1 {
margin: 0 0 12px;
font-size: clamp(32px, 4vw, 48px);
font-size: clamp(2rem, 4vw, 3rem);
font-weight: 500;
letter-spacing: -0.04em;
line-height: 1.15;
Expand All @@ -96,7 +96,7 @@
margin: 0;
color: var(--text-muted);
font-family: var(--font-mono);
font-size: 11px;
font-size: 0.6875rem;
letter-spacing: 0.08em;
text-transform: uppercase;
}
Expand Down Expand Up @@ -148,7 +148,7 @@
/* Overskrift for produktlisten. */
.search-results-toolbar h2 {
margin: 0;
font-size: 14px;
font-size: 0.875rem;
font-weight: 600;
}

Expand All @@ -175,7 +175,7 @@
padding: 8px;
background: transparent;
color: var(--text-accent);
font: 500 11px var(--font-mono);
font: 500 0.6875rem var(--font-mono);
cursor: pointer;
}

Expand All @@ -200,7 +200,7 @@
.search-results-shopping-list h2 {
margin: 0 0 12px;
color: var(--note-ink);
font-size: 16px;
font-size: 1rem;
}

.search-results-shopping-list p {
Expand Down Expand Up @@ -288,7 +288,7 @@

/* Mindre tittel som bryter lange søkeord. */
.search-results-header h1 {
font-size: 28px;
font-size: 1.75rem;
overflow-wrap: anywhere;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
/* Etikett */

.search-empty-state-label {
font: 500 10px var(--font-mono);
font: 500 0.625rem var(--font-mono);
letter-spacing: 0.12em;
color: var(--text-accent);
}
Expand All @@ -57,7 +57,7 @@
.search-empty-state-title {
margin: 0;
font-family: var(--font-ui);
font-size: clamp(22px, 3vw, 30px);
font-size: clamp(1.375rem, 3vw, 1.875rem);
font-weight: 500;
letter-spacing: -0.03em;
}
Expand All @@ -68,7 +68,7 @@
.search-empty-state-hint {
max-width: 420px;
color: var(--text-secondary);
font-size: 13px;
font-size: 0.8125rem;
line-height: 1.6;
}

Expand All @@ -83,14 +83,14 @@

.search-empty-state-alternatives h4 {
margin: 0 0 8px;
font-size: 15px;
font-size: 0.9375rem;
font-weight: 600;
}

.search-empty-state-alternatives > p {
margin-bottom: 16px;
color: var(--text-muted);
font-size: 12px;
font-size: 0.75rem;
}

/* Liste over alternative butikker */
Expand All @@ -114,7 +114,7 @@
border-radius: 7px;
background: var(--bg-page);
color: var(--text-primary);
font: 500 13px var(--font-ui);
font: 500 0.8125rem var(--font-ui);
text-align: left;
cursor: pointer;
}
Expand All @@ -129,7 +129,7 @@
.search-empty-state-store-count {
margin-left: auto;
color: var(--text-muted);
font: 500 10px var(--font-mono);
font: 500 0.625rem var(--font-mono);
}

/* Nullstill filtre */
Expand All @@ -141,7 +141,7 @@
border-radius: 7px;
background: var(--bg-surface);
color: var(--text-brand);
font: 500 12px var(--font-ui);
font: 500 0.75rem var(--font-ui);
cursor: pointer;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
border-bottom: 1px solid var(--border-hairline);
color: var(--text-primary);
font-family: var(--font-mono);
font-size: 11px;
font-size: 0.6875rem;
font-weight: 500;
letter-spacing: 0.12em;
text-transform: uppercase;
Expand Down Expand Up @@ -66,7 +66,7 @@
border-radius: 7px;
background: var(--bg-surface);
color: var(--text-primary);
font: 500 12px var(--font-mono);
font: 500 0.75rem var(--font-mono);
text-align: left;
cursor: pointer;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
margin: 24px 0 12px;
color: var(--text-muted);
font-family: var(--font-mono);
font-size: 11px;
font-size: 0.6875rem;
letter-spacing: 0.04em;
}

Expand Down Expand Up @@ -43,7 +43,7 @@
border-radius: 7px;
background: var(--bg-surface);
color: var(--text-primary);
font: 500 12px var(--font-mono);
font: 500 0.75rem var(--font-mono);
cursor: pointer;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

.search-sort-label {
font-family: var(--font-mono);
font-size: 10px;
font-size: 0.625rem;
font-weight: 500;
letter-spacing: 0.06em;
text-transform: uppercase;
Expand Down Expand Up @@ -47,7 +47,7 @@

color: var(--text-primary);
font-family: var(--font-mono);
font-size: 11px;
font-size: 0.6875rem;
cursor: pointer;
}

Expand Down Expand Up @@ -85,7 +85,7 @@
color: var(--text-primary);

font-family: var(--font-mono);
font-size: 11px;
font-size: 0.6875rem;
font-weight: 500;
text-align: left;

Expand Down Expand Up @@ -155,7 +155,7 @@
color: var(--text-primary);

font-family: var(--font-mono);
font-size: 11px;
font-size: 0.6875rem;
text-align: left;

cursor: pointer;
Expand All @@ -175,7 +175,7 @@

.search-sort-check {
color: var(--text-accent);
font-size: 14px;
font-size: 0.875rem;
font-weight: 600;
}

Expand Down
4 changes: 2 additions & 2 deletions frontend/src/pages/shoppingLists/ShoppingListsPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,15 @@
max-width: 244px;
gap: 6px;
font-family: var(--font-mono);
font-size: 11px;
font-size: 0.6875rem;
color: var(--text-muted);
}

.shopping-lists-page__search input {
width: 100%;
padding: 10px 14px;
font-family: var(--font-ui);
font-size: 13px;
font-size: 0.8125rem;
color: var(--text-primary);
background: var(--bg-surface);
border: 1px solid var(--border-hairline);
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ body {
/* Små etiketter i monospace, f.eks. «01 · KATEGORIER» */
.label {
font-family: var(--font-mono);
font-size: 12px;
font-size: 0.75rem;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-muted);
Expand Down Expand Up @@ -189,6 +189,6 @@ h2 em {
border: 1px solid var(--border-strong);
border-radius: 999px;
padding: 6px 12px;
font: 500 13px var(--font-mono);
font: 500 0.8125rem var(--font-mono);
cursor: pointer;
}