From 813953f1f564ff8cca336f8ddc53dcea7b61eb0a Mon Sep 17 00:00:00 2001
From: Kazgatari <56477241+Kazgatari@users.noreply.github.com>
Date: Sat, 1 Aug 2026 15:09:55 +0200
Subject: [PATCH] changed static colors to use new theme
---
.../modules/accounts/accounts.component.scss | 43 ++--
.../app-login/app-login.component.scss | 12 +-
.../bookmarks/bookmarks.component.scss | 20 +-
.../compare-authors.component.scss | 74 +++----
.../dashboard/dashboard.component.scss | 90 ++++----
.../dfg-topic-donut.component.scss | 2 +-
.../dfg-topic-donut.component.ts | 26 ++-
.../eu-project-status-chart.component.ts | 34 ++-
.../topic-wordcloud-dialog.component.scss | 127 ++++++------
.../error-page/error-page.component.scss | 19 +-
.../institution-patents.component.html | 2 +-
.../institution-patents.component.scss | 196 +++++++++---------
.../job-logs-dialog.component.scss | 55 ++---
.../src/app/modules/jobs/jobs.component.scss | 53 ++---
.../task-create-dialog.component.scss | 9 +-
.../task-edit-dialog.component.scss | 5 +-
.../task-schedule-dialog.component.scss | 18 +-
.../keywords-search.component.scss | 59 +++---
18 files changed, 427 insertions(+), 417 deletions(-)
diff --git a/webapp/src/app/modules/accounts/accounts.component.scss b/webapp/src/app/modules/accounts/accounts.component.scss
index dc24d512..bf3600bd 100644
--- a/webapp/src/app/modules/accounts/accounts.component.scss
+++ b/webapp/src/app/modules/accounts/accounts.component.scss
@@ -23,10 +23,11 @@ h1,
h2,
p {
margin: 0;
+ color: var(--sg-text);
}
.page-header p {
- color: #64748b;
+ color: var(--sg-text-muted);
margin-top: 6px;
}
@@ -46,19 +47,19 @@ p {
}
.table-panel {
- border: 1px solid #d7dde6;
+ border: 1px solid var(--sg-border);
border-radius: 8px;
- background: #fff;
+ background: var(--sg-card-bg);
}
.table-header {
justify-content: space-between;
padding: 16px;
- border-bottom: 1px solid #e5e7eb;
+ border-bottom: 1px solid var(--sg-border);
}
.table-header span {
- color: #64748b;
+ color: var(--sg-text-muted);
}
.table-wrap {
@@ -74,29 +75,29 @@ th,
td {
padding: 12px 16px;
text-align: left;
- border-bottom: 1px solid #edf1f7;
+ border-bottom: 1px solid var(--sg-border);
white-space: nowrap;
}
th {
- color: #475569;
+ color: var(--sg-text);
font-weight: 700;
- background: #f8fafc;
+ background: var(--sg-surface-muted);
}
tr.deleted {
- color: #94a3b8;
+ color: var(--sg-text-soft);
}
tr.deactivated:not(.deleted) {
- color: #64748b;
- background: #f8fafc;
+ color: var(--sg-text-muted);
+ background: var(--sg-surface-soft);
}
.link-button {
border: 0;
background: transparent;
- color: #1d4ed8;
+ color: var(--sg-blue-highlight);
padding: 0;
font: inherit;
cursor: pointer;
@@ -109,25 +110,25 @@ tr.deactivated:not(.deleted) {
min-height: 24px;
border-radius: 999px;
padding: 2px 10px;
- background: #eef2ff;
- color: #3730a3;
+ background: var(--sg-primary-soft);
+ color: var(--sg-blue-highlight);
font-size: 12px;
font-weight: 700;
}
.status {
- background: #dcfce7;
- color: #166534;
+ background: var(--sg-success-soft);
+ color: var(--sg-success);
}
.status--deleted {
- background: #fee2e2;
- color: #991b1b;
+ background: var(--sg-error-soft);
+ color: var(--sg-error);
}
.status--deactivated {
- background: #fef3c7;
- color: #92400e;
+ background: var(--sg-warning-soft);
+ color: var(--sg-warning);
}
.row-actions {
@@ -135,7 +136,7 @@ tr.deactivated:not(.deleted) {
}
.empty {
- color: #64748b;
+ color: var(--sg-text-muted);
text-align: center;
}
diff --git a/webapp/src/app/modules/app-login/app-login.component.scss b/webapp/src/app/modules/app-login/app-login.component.scss
index c09190d7..134c0d97 100644
--- a/webapp/src/app/modules/app-login/app-login.component.scss
+++ b/webapp/src/app/modules/app-login/app-login.component.scss
@@ -6,10 +6,14 @@
background:
radial-gradient(
circle at top left,
- rgba(61, 124, 255, 0.12),
+ rgba(61, 124, 255, 0.15),
transparent 34%
),
- linear-gradient(160deg, #f7f9ff 0%, #ffffff 64%);
+ linear-gradient(
+ 160deg,
+ var(--sg-surface-muted) 0%,
+ var(--sg-background) 64%
+ );
}
.login-panel {
@@ -80,7 +84,7 @@ p {
.step--active span {
background: var(--sg-primary);
border-color: var(--sg-primary);
- color: #ffffff;
+ color: var(--sg-background);
}
.step-line {
@@ -158,7 +162,7 @@ p {
}
.expiry--expired {
- color: #ba1a1a;
+ color: var(--sg-error);
}
@media (max-width: 560px) {
diff --git a/webapp/src/app/modules/bookmarks/bookmarks.component.scss b/webapp/src/app/modules/bookmarks/bookmarks.component.scss
index b6473b46..1f6b9dc1 100644
--- a/webapp/src/app/modules/bookmarks/bookmarks.component.scss
+++ b/webapp/src/app/modules/bookmarks/bookmarks.component.scss
@@ -16,15 +16,16 @@
h1 {
margin: 2px 0 6px;
font-size: 2rem;
+ color: var(--sg-text);
}
p {
margin: 0;
- color: #667085;
+ color: var(--sg-text-muted);
}
.eyebrow {
- color: #3f51b5;
+ color: var(--sg-primary);
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.12em;
@@ -38,21 +39,22 @@
align-items: center;
gap: 0 10px;
padding: 14px 18px;
- border: 1px solid #e4e7ec;
+ border: 1px solid var(--sg-border);
border-radius: 14px;
- background: white;
+ background: var(--sg-surface);
mat-icon {
grid-row: 1 / 3;
- color: #3f51b5;
+ color: var(--sg-primary);
}
strong {
font-size: 1.25rem;
+ color: var(--sg-text);
}
span {
- color: #667085;
+ color: var(--sg-text-muted);
font-size: 0.75rem;
}
}
@@ -71,19 +73,19 @@
align-items: center;
justify-content: center;
text-align: center;
- color: #667085;
+ color: var(--sg-text-muted);
}
.empty-state mat-icon {
width: 54px;
height: 54px;
font-size: 54px;
- color: #98a2b3;
+ color: var(--sg-text-soft);
}
.empty-state h2 {
margin: 16px 0 6px;
- color: #1d2939;
+ color: var(--sg-text);
}
@media (max-width: 700px) {
diff --git a/webapp/src/app/modules/compare-authors/compare-authors.component.scss b/webapp/src/app/modules/compare-authors/compare-authors.component.scss
index f05c3335..d1724a2f 100644
--- a/webapp/src/app/modules/compare-authors/compare-authors.component.scss
+++ b/webapp/src/app/modules/compare-authors/compare-authors.component.scss
@@ -18,7 +18,7 @@
margin: 0;
font-size: 24px;
font-weight: 700;
- color: var(--sg-text, #101a3d);
+ color: var(--sg-text);
}
}
@@ -34,16 +34,16 @@
gap: 6px;
padding: 4px 12px;
border-radius: 999px;
- background: var(--sg-surface-muted, #f7f9ff);
- border: 1px solid var(--sg-border, #dde5f2);
- color: var(--sg-text-muted, #64708f);
+ background: var(--sg-surface-muted);
+ border: 1px solid var(--sg-border);
+ color: var(--sg-text-muted);
font-size: 13px;
mat-icon {
font-size: 16px;
width: 16px;
height: 16px;
- color: var(--sg-text-soft, #8a95b3);
+ color: var(--sg-text-soft);
}
}
@@ -62,7 +62,7 @@
gap: 8px;
font-size: 14px;
font-weight: 600;
- color: var(--sg-text, #101a3d);
+ color: var(--sg-text);
}
.legend-swatch {
@@ -74,10 +74,10 @@
/* ---- cards ---- */
.card {
- background: #fff;
- border: 1px solid #d7e4ff;
+ background: var(--sg-card-bg);
+ border: 1px solid var(--sg-border);
border-radius: 16px;
- box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
+ box-shadow: var(--sg-shadow-sm);
padding: 20px 22px;
}
@@ -85,19 +85,19 @@
margin: 0;
font-size: 16px;
font-weight: 700;
- color: var(--sg-text, #101a3d);
+ color: var(--sg-text);
}
.card-sub {
margin: 4px 0 0;
font-size: 13px;
- color: var(--sg-text-muted, #64708f);
+ color: var(--sg-text-muted);
}
.compare-hint {
padding: 24px;
text-align: center;
- color: var(--sg-text-muted, #64708f);
+ color: var(--sg-text-muted);
}
/* ---- comparison table ---- */
@@ -114,7 +114,7 @@
thead th {
text-align: left;
padding: 0 16px 10px;
- border-bottom: 2px solid var(--sg-border, #dde5f2);
+ border-bottom: 2px solid var(--sg-border);
vertical-align: bottom;
}
@@ -127,12 +127,12 @@
align-items: center;
gap: 8px;
font-weight: 700;
- color: var(--sg-text, #101a3d);
+ color: var(--sg-text);
}
tbody tr + tr th,
tbody tr + tr td {
- border-top: 1px solid var(--sg-border, #dde5f2);
+ border-top: 1px solid var(--sg-border);
}
tbody th,
@@ -148,7 +148,7 @@
.metric-label {
display: block;
font-weight: 600;
- color: var(--sg-text, #101a3d);
+ color: var(--sg-text);
}
.metric-hint {
@@ -156,24 +156,24 @@
margin-top: 2px;
font-size: 12px;
font-weight: 400;
- color: var(--sg-text-soft, #8a95b3);
+ color: var(--sg-text-soft);
}
.value-cell {
text-align: right;
font-variant-numeric: tabular-nums;
- color: var(--sg-text, #101a3d);
+ color: var(--sg-text);
white-space: nowrap;
&.best {
font-weight: 700;
- color: var(--sg-primary, #0b1020);
- background: var(--sg-surface-soft, #f3f6fd);
+ color: var(--sg-primary);
+ background: var(--sg-surface-soft);
}
}
.value-empty {
- color: var(--sg-text-soft, #8a95b3);
+ color: var(--sg-text-soft);
}
/* author-position row: first / middle / last shown together, colour-coded */
@@ -186,49 +186,49 @@
font-variant-numeric: tabular-nums;
&.pos-first {
- color: #16a34a;
+ color: var(--sg-success);
}
&.pos-middle {
- color: #d97706;
+ color: var(--sg-warning);
}
&.pos-last {
- color: #2563eb;
+ color: var(--sg-primary);
}
&.rel-count {
- color: #7c3aed;
+ color: var(--sg-blue-highlight);
}
&.rel-avg {
- color: #0891b2;
+ color: var(--sg-blue-highlight);
}
&.cit-total {
- color: #b91c1c;
+ color: var(--sg-error);
}
&.cit-avg {
- color: #ea580c;
+ color: var(--sg-warning);
}
&.fwci-count {
- color: #4d7c0f;
+ color: var(--sg-success);
}
&.fwci-avg {
- color: #0d9488;
+ color: var(--sg-success);
}
&.year-from {
- color: #6d28d9;
+ color: var(--sg-primary);
}
&.year-to {
- color: #be185d;
+ color: var(--sg-primary);
}
&.ind-count {
- color: #92400e;
+ color: var(--sg-warning);
}
&.ind-share {
- color: #1d4ed8;
+ color: var(--sg-blue-highlight);
}
}
.pos-sep {
margin: 0 4px;
- color: var(--sg-text-soft, #b6bed6);
+ color: var(--sg-text-soft);
font-weight: 400;
}
@@ -244,13 +244,13 @@
margin: 18px 0 0;
font-size: 14px;
font-weight: 700;
- color: var(--sg-text, #101a3d);
+ color: var(--sg-text);
}
.chart-hint {
margin: 2px 0 8px;
font-size: 12px;
- color: var(--sg-text-muted, #64708f);
+ color: var(--sg-text-muted);
}
.profile-chart {
diff --git a/webapp/src/app/modules/dashboard/dashboard.component.scss b/webapp/src/app/modules/dashboard/dashboard.component.scss
index 9af762eb..789bfee7 100644
--- a/webapp/src/app/modules/dashboard/dashboard.component.scss
+++ b/webapp/src/app/modules/dashboard/dashboard.component.scss
@@ -1,8 +1,6 @@
-// src/app/modules/university-ranking/dashboard.component.scss
.dashboard-wrapper {
padding: 2rem;
- font-family: 'Inter', sans-serif;
- color: #333;
+ color: var(--sg-text);
.dashboard-period-filter {
display: flex;
@@ -16,22 +14,22 @@
display: inline-flex;
overflow: hidden;
flex: 0 0 auto;
- border: 1px solid #cbd5e1;
+ border: 1px solid var(--sg-border);
border-radius: 6px;
- background: #fff;
+ background: var(--sg-surface);
button {
padding: 0.55rem 0.8rem;
border: 0;
- border-right: 1px solid #cbd5e1;
+ border-right: 1px solid var(--sg-border);
background: transparent;
- color: #334155;
+ color: var(--sg-text);
cursor: pointer;
font: inherit;
&.active {
- background: #1d4ed8;
- color: #fff;
+ background: var(--sg-blue-highlight);
+ color: var(--sg-card-bg);
}
}
@@ -57,10 +55,10 @@
gap: 1rem;
min-height: 120px;
padding: 1.25rem;
- border: 1px solid #e2e8f0;
+ border: 1px solid var(--sg-border);
border-radius: 12px;
- background: #fff;
- box-shadow: 0 4px 14px rgb(15 23 42 / 6%);
+ background: var(--sg-card-bg);
+ box-shadow: var(--sg-shadow-sm);
color: inherit;
text-decoration: none;
transition:
@@ -69,13 +67,13 @@
transform 160ms ease;
&:hover {
- border-color: #93c5fd;
- box-shadow: 0 8px 24px rgb(15 23 42 / 12%);
+ border-color: var(--sg-card-hover-border);
+ box-shadow: var(--sg-shadow-md);
transform: translateY(-2px);
}
&:focus-visible {
- outline: 3px solid #93c5fd;
+ outline: 3px solid var(--sg-card-hover-border);
outline-offset: 3px;
}
@@ -86,13 +84,13 @@
span,
small {
display: block;
- color: #64748b;
+ color: var(--sg-text-muted);
}
strong {
display: block;
margin: 0.2rem 0;
- color: #0f172a;
+ color: var(--sg-text);
font-size: clamp(1.7rem, 3vw, 2.3rem);
line-height: 1.1;
}
@@ -105,38 +103,38 @@
height: 52px;
place-items: center;
border-radius: 12px;
- background: #dbeafe;
- color: #1d4ed8;
+ background: var(--sg-primary-soft);
+ color: var(--sg-blue-highlight);
&--persons {
- background: #dcfce7;
- color: #15803d;
+ background: var(--sg-success-soft);
+ color: var(--sg-success);
}
&--patents {
- background: #fee2e2;
- color: #b91c1c;
+ background: var(--sg-error-soft);
+ color: var(--sg-error);
}
&--eu-projects {
- background: #e0f2fe;
- color: #0369a1;
+ background: var(--sg-primary-soft);
+ color: var(--sg-blue-highlight);
}
&--bund-projects {
- background: #fef3c7;
- color: #b45309;
+ background: var(--sg-warning-soft);
+ color: var(--sg-warning);
}
&--dfg-projects {
- background: #f3e8ff;
- color: #7e22ce;
+ background: var(--sg-warning-soft);
+ color: var(--sg-warning);
}
}
.statistics-error {
margin: -1rem 0 2rem;
- color: #b91c1c;
+ color: var(--sg-error);
}
.top-authors-section {
@@ -146,9 +144,9 @@
.topic-heatmap-section {
margin-bottom: 2.5rem;
padding: 1.25rem;
- border: 1px solid #e2e8f0;
+ border: 1px solid var(--sg-border);
border-radius: 12px;
- background: #fff;
+ background: var(--sg-card-bg);
}
.topic-heatmap-header {
@@ -165,7 +163,7 @@
p {
margin-top: 0.35rem;
- color: #64748b;
+ color: var(--sg-text-muted);
}
@media (max-width: 820px) {
@@ -194,8 +192,8 @@
span {
padding: 0.35rem 0.65rem;
border-radius: 999px;
- background: #f1f5f9;
- color: #475569;
+ background: var(--sg-surface-muted);
+ color: var(--sg-text-muted);
font-size: 0.9rem;
font-weight: 600;
}
@@ -203,7 +201,7 @@
.dfg-topic-summary {
flex: 0 0 auto;
- color: #475569;
+ color: var(--sg-text-muted);
font-weight: 600;
}
@@ -221,7 +219,7 @@
p {
margin-top: 0.35rem;
- color: #64748b;
+ color: var(--sg-text-muted);
}
@media (max-width: 720px) {
@@ -246,16 +244,16 @@
.top-authors-chart {
padding: 1.25rem;
- border: 1px solid #e2e8f0;
+ border: 1px solid var(--sg-border);
border-radius: 12px;
- background: #fff;
+ background: var(--sg-card-bg);
h3 {
display: flex;
align-items: center;
gap: 0.5rem;
margin: 0 0 1rem;
- color: #0f172a;
+ color: var(--sg-text);
}
}
@@ -268,7 +266,7 @@
.author-rank {
flex: 0 0 1.4rem;
- color: #64748b;
+ color: var(--sg-text-muted);
font-size: 0.8rem;
text-align: center;
}
@@ -287,7 +285,7 @@
.author-name {
overflow: hidden;
- color: #1d4ed8;
+ color: var(--sg-blue-highlight);
font-weight: 600;
text-overflow: ellipsis;
white-space: nowrap;
@@ -306,7 +304,7 @@
&:focus-visible {
border-radius: 2px;
- outline: 2px solid #93c5fd;
+ outline: 2px solid var(--sg-card-hover-border);
outline-offset: 2px;
}
}
@@ -315,20 +313,20 @@
overflow: hidden;
height: 7px;
border-radius: 999px;
- background: #e2e8f0;
+ background: var(--sg-border);
}
.author-bar-fill {
display: block;
height: 100%;
border-radius: inherit;
- background: linear-gradient(90deg, #2563eb, #60a5fa);
+ background: var(--sg-primary);
transition: width 220ms ease;
}
.empty-chart {
margin: 2rem 0;
- color: #64748b;
+ color: var(--sg-text-muted);
text-align: center;
}
}
diff --git a/webapp/src/app/modules/dashboard/dfg-topic-donut/dfg-topic-donut.component.scss b/webapp/src/app/modules/dashboard/dfg-topic-donut/dfg-topic-donut.component.scss
index 73da71f3..6f698759 100644
--- a/webapp/src/app/modules/dashboard/dfg-topic-donut/dfg-topic-donut.component.scss
+++ b/webapp/src/app/modules/dashboard/dfg-topic-donut/dfg-topic-donut.component.scss
@@ -8,5 +8,5 @@
min-height: 260px;
margin: 0;
place-items: center;
- color: #64748b;
+ color: var(--sg-text-muted);
}
diff --git a/webapp/src/app/modules/dashboard/dfg-topic-donut/dfg-topic-donut.component.ts b/webapp/src/app/modules/dashboard/dfg-topic-donut/dfg-topic-donut.component.ts
index 2eb67e4a..0d65be22 100644
--- a/webapp/src/app/modules/dashboard/dfg-topic-donut/dfg-topic-donut.component.ts
+++ b/webapp/src/app/modules/dashboard/dfg-topic-donut/dfg-topic-donut.component.ts
@@ -1,6 +1,7 @@
-import { Component, Input, OnChanges } from '@angular/core';
+import { Component, Input, OnChanges, effect, inject } from '@angular/core';
import { EChartsOption } from 'echarts';
import { NgxEchartsDirective } from 'ngx-echarts';
+import { ChartThemeService } from '../../../shared/services/chart-theme.service';
import { DfgProjectTopic } from '../dashboard-statistics.service';
@@ -13,9 +14,22 @@ import { DfgProjectTopic } from '../dashboard-statistics.service';
export class DfgTopicDonutComponent implements OnChanges {
@Input() topics: DfgProjectTopic[] = [];
+ private chartTheme = inject(ChartThemeService);
options: EChartsOption = {};
+ constructor() {
+ effect(() => {
+ this.buildOptions();
+ });
+ }
+
ngOnChanges(): void {
+ this.buildOptions();
+ }
+
+ private buildOptions(): void {
+ const theme = this.chartTheme.colors();
+
this.options = {
color: [
'#7255d9',
@@ -29,9 +43,13 @@ export class DfgTopicDonutComponent implements OnChanges {
'#db2777',
'#9333ea',
],
+ backgroundColor: theme.backgroundColor,
tooltip: {
trigger: 'item',
confine: true,
+ backgroundColor: theme.tooltipBg,
+ borderColor: theme.tooltipBorder,
+ textStyle: { color: theme.tooltipTextColor },
formatter: (params: any) =>
`${this.escapeHtml(String(params.name ?? ''))}
${Number(params.value ?? 0).toLocaleString('de-DE')} DFG-Projekte`,
},
@@ -41,7 +59,7 @@ export class DfgTopicDonutComponent implements OnChanges {
top: 'middle',
right: 12,
width: '38%',
- textStyle: { color: '#334155' },
+ textStyle: { color: theme.textColor },
formatter: (name: string) => this.truncate(name, 42),
},
graphic: [
@@ -52,7 +70,7 @@ export class DfgTopicDonutComponent implements OnChanges {
style: {
text: `${this.topics.length}\nTopics`,
align: 'center',
- fill: '#0f172a',
+ fill: theme.textColor,
fontSize: 18,
fontWeight: 700,
lineHeight: 25,
@@ -68,7 +86,7 @@ export class DfgTopicDonutComponent implements OnChanges {
avoidLabelOverlap: true,
minAngle: 3,
itemStyle: {
- borderColor: '#ffffff',
+ borderColor: theme.cardBg,
borderWidth: 3,
borderRadius: 5,
},
diff --git a/webapp/src/app/modules/dashboard/eu-project-status-chart/eu-project-status-chart.component.ts b/webapp/src/app/modules/dashboard/eu-project-status-chart/eu-project-status-chart.component.ts
index d151b221..e3ac317e 100644
--- a/webapp/src/app/modules/dashboard/eu-project-status-chart/eu-project-status-chart.component.ts
+++ b/webapp/src/app/modules/dashboard/eu-project-status-chart/eu-project-status-chart.component.ts
@@ -1,6 +1,7 @@
-import { Component, Input, OnChanges } from '@angular/core';
+import { Component, Input, OnChanges, effect, inject } from '@angular/core';
import { EChartsOption } from 'echarts';
import { NgxEchartsDirective } from 'ngx-echarts';
+import { ChartThemeService } from '../../../shared/services/chart-theme.service';
import {
BmbfProjectStatusStatistics,
@@ -19,9 +20,23 @@ export class EuProjectStatusChartComponent implements OnChanges {
@Input({ required: true }) bmbfStatuses!: BmbfProjectStatusStatistics;
@Input({ required: true }) dfgStatuses!: DfgProjectStatusStatistics;
+ private chartTheme = inject(ChartThemeService);
options: EChartsOption = {};
+ constructor() {
+ effect(() => {
+ // Re-build options when theme colors signal changes
+ this.buildOptions();
+ });
+ }
+
ngOnChanges(): void {
+ this.buildOptions();
+ }
+
+ private buildOptions(): void {
+ const theme = this.chartTheme.colors();
+
const values = [
{
name: 'Laufend',
@@ -48,17 +63,21 @@ export class EuProjectStatusChartComponent implements OnChanges {
this.bmbfStatuses?.completed ?? 0,
this.dfgStatuses?.completed ?? 0,
],
- color: '#64748b',
+ color: theme.mutedTextColor,
},
];
this.options = {
color: values.map((item) => item.color),
animationDuration: 500,
+ backgroundColor: theme.backgroundColor,
tooltip: {
trigger: 'axis',
axisPointer: { type: 'shadow' },
confine: true,
+ backgroundColor: theme.tooltipBg,
+ borderColor: theme.tooltipBorder,
+ textStyle: { color: theme.tooltipTextColor },
valueFormatter: (value) =>
`${Number(value ?? 0).toLocaleString('de-DE')} Projekte`,
},
@@ -66,7 +85,7 @@ export class EuProjectStatusChartComponent implements OnChanges {
top: 0,
left: 'center',
data: values.map((item) => item.name),
- textStyle: { color: '#334155' },
+ textStyle: { color: theme.textColor },
},
grid: { top: 56, right: 24, bottom: 30, left: 24, containLabel: true },
xAxis: {
@@ -75,15 +94,16 @@ export class EuProjectStatusChartComponent implements OnChanges {
name: 'Anzahl Projekte',
nameLocation: 'middle',
nameGap: 28,
- axisLabel: { color: '#64748b' },
- splitLine: { lineStyle: { color: '#e2e8f0' } },
+ axisLabel: { color: theme.mutedTextColor },
+ nameTextStyle: { color: theme.mutedTextColor },
+ splitLine: { lineStyle: { color: theme.gridLineColor } },
},
yAxis: {
type: 'category',
data: ['EU-Projekte', 'Bund-Projekte', 'DFG-Projekte'],
axisTick: { show: false },
axisLine: { show: false },
- axisLabel: { color: '#334155', fontWeight: 600 },
+ axisLabel: { color: theme.textColor, fontWeight: 600 },
},
series: values.map((item, index) => ({
name: item.name,
@@ -96,7 +116,7 @@ export class EuProjectStatusChartComponent implements OnChanges {
position: 'inside',
formatter: (params) =>
Number(params.value ?? 0) > 0 ? String(params.value) : '',
- color: '#ffffff',
+ color: theme.labelColor,
fontWeight: 700,
},
itemStyle: {
diff --git a/webapp/src/app/modules/dashboard/topic-wordcloud-dialog/topic-wordcloud-dialog.component.scss b/webapp/src/app/modules/dashboard/topic-wordcloud-dialog/topic-wordcloud-dialog.component.scss
index 76d9a95e..c79a89dc 100644
--- a/webapp/src/app/modules/dashboard/topic-wordcloud-dialog/topic-wordcloud-dialog.component.scss
+++ b/webapp/src/app/modules/dashboard/topic-wordcloud-dialog/topic-wordcloud-dialog.component.scss
@@ -4,12 +4,12 @@
justify-content: space-between;
gap: 24px;
padding: 24px 28px 20px;
- border-bottom: 1px solid var(--sg-border, #dde5f2);
- background: linear-gradient(135deg, #ffffff 52%, #f6f0ff 100%);
+ border-bottom: 1px solid var(--sg-border);
+ background: var(--sg-card-bg);
h2 {
margin: 1px 0 3px;
- color: var(--sg-text, #101a3d);
+ color: var(--sg-text);
font-family: 'Montserrat', sans-serif;
font-size: 1.375rem;
font-weight: 700;
@@ -18,7 +18,7 @@
p {
margin: 0;
- color: var(--sg-text-muted, #64708f);
+ color: var(--sg-text-muted);
font-size: 0.8125rem;
font-weight: 400;
}
@@ -31,7 +31,7 @@
.dialog-eyebrow {
display: block;
- color: #7255d9;
+ color: var(--sg-primary);
font-size: 0.6875rem;
font-weight: 700;
letter-spacing: 0.08em;
@@ -41,18 +41,18 @@
.dialog-close {
flex: 0 0 auto;
- color: var(--sg-text-muted, #64708f);
+ color: var(--sg-text-muted);
&:hover {
- background: #f1f3f7;
- color: var(--sg-text, #101a3d);
+ background: var(--sg-surface-soft);
+ color: var(--sg-text);
}
}
mat-dialog-content {
min-height: 410px;
padding: 20px 28px 28px !important;
- background: #ffffff;
+ background: var(--sg-card-bg);
}
.topic-context-card {
@@ -62,9 +62,9 @@ mat-dialog-content {
gap: 12px;
margin-bottom: 18px;
padding: 12px;
- border: 1px solid var(--sg-border, #dde5f2);
+ border: 1px solid var(--sg-border);
border-radius: 12px;
- background: var(--sg-surface-muted, #f7f9ff);
+ background: var(--sg-surface-muted);
}
.topic-context-item {
@@ -91,21 +91,21 @@ mat-dialog-content {
}
.topic-context-icon--field {
- border: 1px solid #bdd4ff;
- background: #f0f6ff;
- color: #0b63ce;
+ border: 1px solid var(--sg-blue-highlight);
+ background: var(--sg-primary-soft);
+ color: var(--sg-blue-highlight);
}
.topic-context-icon--subfield {
- border: 1px solid #bdebcf;
- background: #effaf3;
- color: #24834f;
+ border: 1px solid var(--sg-success);
+ background: var(--sg-success-soft);
+ color: var(--sg-success);
}
.topic-context-icon--topic {
- border: 1px solid #d8cafe;
- background: #f6f0ff;
- color: #7255d9;
+ border: 1px solid var(--sg-primary);
+ background: var(--sg-primary-soft);
+ color: var(--sg-primary);
}
.topic-context-copy {
@@ -116,7 +116,7 @@ mat-dialog-content {
strong {
overflow: hidden;
- color: #334155;
+ color: var(--sg-text);
font-size: 0.8125rem;
font-weight: 600;
line-height: 1.35;
@@ -126,11 +126,11 @@ mat-dialog-content {
}
.topic-context-item--topic strong {
- color: #7255d9;
+ color: var(--sg-primary);
}
.topic-context-label {
- color: var(--sg-text-soft, #8a95b3);
+ color: var(--sg-text-soft);
font-size: 0.625rem;
font-weight: 700;
letter-spacing: 0.07em;
@@ -141,15 +141,15 @@ mat-dialog-content {
.topic-context-arrow {
width: 18px;
height: 18px;
- color: #a8b2c8;
+ color: var(--sg-text-soft);
font-size: 18px;
}
.word-cloud-panel {
overflow: hidden;
- border: 1px solid var(--sg-border, #dde5f2);
+ border: 1px solid var(--sg-border);
border-radius: 16px;
- background: #ffffff;
+ background: var(--sg-card-bg);
box-shadow: var(--sg-shadow-sm);
}
@@ -159,11 +159,11 @@ mat-dialog-content {
justify-content: space-between;
gap: 16px;
padding: 14px 18px;
- border-bottom: 1px solid #e8edf5;
+ border-bottom: 1px solid var(--sg-border);
h3 {
margin: 0 0 2px;
- color: var(--sg-text, #101a3d);
+ color: var(--sg-text);
font-family: 'Montserrat', sans-serif;
font-size: 0.9375rem;
font-weight: 700;
@@ -171,7 +171,7 @@ mat-dialog-content {
p {
margin: 0;
- color: var(--sg-text-muted, #64708f);
+ color: var(--sg-text-muted);
font-size: 0.75rem;
}
}
@@ -179,10 +179,10 @@ mat-dialog-content {
.word-count {
flex: 0 0 auto;
padding: 5px 9px;
- border: 1px solid #d8cafe;
+ border: 1px solid var(--sg-primary);
border-radius: 999px;
- background: #f6f0ff;
- color: #7255d9;
+ background: var(--sg-primary-soft);
+ color: var(--sg-primary);
font-size: 0.6875rem;
font-weight: 700;
}
@@ -193,20 +193,20 @@ mat-dialog-content {
align-items: center;
gap: 14px;
padding: 10px 14px;
- border-bottom: 1px solid #e8edf5;
- background: #f8faff;
+ border-bottom: 1px solid var(--sg-border);
+ background: var(--sg-surface-muted);
}
.keyword-toolbar-label {
display: flex;
align-items: center;
gap: 8px;
- color: #334155;
+ color: var(--sg-text);
> mat-icon {
width: 19px;
height: 19px;
- color: #7255d9;
+ color: var(--sg-primary);
font-size: 19px;
}
@@ -221,7 +221,7 @@ mat-dialog-content {
}
small {
- color: var(--sg-text-muted, #64708f);
+ color: var(--sg-text-muted);
font-size: 0.6875rem;
}
}
@@ -240,10 +240,10 @@ mat-dialog-content {
align-items: center;
gap: 4px;
padding: 4px 7px 4px 9px;
- border: 1px solid #c9bafa;
+ border: 1px solid var(--sg-primary);
border-radius: 999px;
- background: #f6f0ff;
- color: #6347c8;
+ background: var(--sg-primary-soft);
+ color: var(--sg-primary);
cursor: pointer;
font: inherit;
font-size: 0.6875rem;
@@ -256,13 +256,13 @@ mat-dialog-content {
}
&:hover {
- border-color: #a992ef;
- background: #eee7ff;
+ border-color: var(--sg-primary);
+ background: var(--sg-surface-soft);
}
}
.keyword-selection-empty {
- color: var(--sg-text-soft, #8a95b3);
+ color: var(--sg-text-soft);
font-size: 0.75rem;
font-style: italic;
}
@@ -286,7 +286,7 @@ mat-dialog-content {
}
.keyword-search--secondary {
- background: #ffffff;
+ background: var(--sg-card-bg);
}
.keyword-search--disabled {
@@ -303,18 +303,7 @@ mat-dialog-content {
justify-content: center;
gap: 14px 20px;
padding: 30px 34px;
- background:
- radial-gradient(
- circle at 15% 20%,
- rgba(114, 85, 217, 0.06),
- transparent 28%
- ),
- radial-gradient(
- circle at 85% 75%,
- rgba(11, 99, 206, 0.05),
- transparent 30%
- ),
- #ffffff;
+ background: var(--sg-card-bg);
}
.word-cloud-word {
@@ -332,20 +321,20 @@ mat-dialog-content {
background-color 150ms ease;
&:hover {
- background: rgba(241, 243, 247, 0.9);
+ background: var(--sg-surface-soft);
transform: translateY(-2px);
}
&:focus-visible {
- outline: 3px solid rgba(114, 85, 217, 0.25);
+ outline: 3px solid var(--sg-primary);
outline-offset: 2px;
}
}
.word-cloud-word--selected {
border-color: currentColor;
- background: #ffffff;
- box-shadow: 0 2px 8px rgba(51, 65, 85, 0.16);
+ background: var(--sg-card-bg);
+ box-shadow: var(--sg-shadow-md);
transform: translateY(-2px);
}
@@ -357,12 +346,12 @@ mat-dialog-content {
flex-direction: column;
gap: 6px;
padding: 24px;
- color: var(--sg-text-muted, #64708f);
+ color: var(--sg-text-muted);
text-align: center;
strong {
margin-top: 4px;
- color: var(--sg-text, #101a3d);
+ color: var(--sg-text);
font-size: 0.9375rem;
}
@@ -377,24 +366,24 @@ mat-dialog-content {
height: 46px;
place-items: center;
border-radius: 50%;
- background: #f1f3f7;
- color: #64708f;
+ background: var(--sg-surface-soft);
+ color: var(--sg-text-muted);
}
.state-icon--loading {
- background: #f6f0ff;
- color: #7255d9;
+ background: var(--sg-primary-soft);
+ color: var(--sg-primary);
animation: state-pulse 1.4s ease-in-out infinite;
}
.word-cloud-state--error .state-icon {
- background: #fff1f5;
- color: #d12f61;
+ background: var(--sg-error-soft);
+ color: var(--sg-error);
}
@keyframes state-pulse {
50% {
- box-shadow: 0 0 0 8px rgba(114, 85, 217, 0.08);
+ box-shadow: 0 0 0 8px var(--sg-primary-soft);
transform: scale(1.04);
}
}
diff --git a/webapp/src/app/modules/error-page/error-page.component.scss b/webapp/src/app/modules/error-page/error-page.component.scss
index b7c2bee1..2f4c1daa 100644
--- a/webapp/src/app/modules/error-page/error-page.component.scss
+++ b/webapp/src/app/modules/error-page/error-page.component.scss
@@ -1,6 +1,6 @@
.error-container {
min-height: 90vh;
- background-color: none !important;
+ background-color: transparent !important;
display: flex;
align-items: center;
justify-content: center;
@@ -11,9 +11,7 @@
.error-card {
max-width: 450px;
width: 100%;
- box-shadow:
- 0 4px 6px -1px rgb(0 0 0 / 0.05),
- 0 2px 4px -2px rgb(0 0 0 / 0.05) !important;
+ box-shadow: var(--sg-shadow-sm) !important;
}
.error-content {
@@ -33,7 +31,7 @@
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.05em;
- color: #94a3b8;
+ color: var(--sg-text-muted);
text-transform: uppercase;
}
@@ -41,7 +39,7 @@
margin: 0.5rem 0 1rem 0;
font-size: 1.75rem;
font-weight: 700;
- color: #1e293b;
+ color: var(--sg-text);
letter-spacing: -0.025em;
line-height: 1.2;
}
@@ -49,7 +47,7 @@
.error-message {
margin: 0 0 2rem 0;
font-size: 1rem;
- color: #475569;
+ color: var(--sg-text-muted);
line-height: 1.6;
}
@@ -68,17 +66,18 @@
.diagnostics-title {
font-size: 0.75rem !important;
font-weight: 600;
- color: #94a3b8;
+ color: var(--sg-text-muted);
letter-spacing: 0.05em;
}
.diagnostics-code {
margin-top: 0.5rem;
padding: 1rem;
- background-color: #0f172a;
+ background-color: var(--sg-surface-muted);
+ border: 1px solid var(--sg-border);
border-radius: 8px;
font-size: 0.75rem;
- color: #34d399;
+ color: var(--sg-success);
overflow-x: auto;
font-family: monospace;
text-align: left;
diff --git a/webapp/src/app/modules/institution-patents/institution-patents.component.html b/webapp/src/app/modules/institution-patents/institution-patents.component.html
index a80d0f90..eab62610 100644
--- a/webapp/src/app/modules/institution-patents/institution-patents.component.html
+++ b/webapp/src/app/modules/institution-patents/institution-patents.component.html
@@ -224,7 +224,7 @@
Patentdetails anzeigen
-
+
Abstract, Erfinder, Anmelder und IPC/CPC-Klassifikation diff --git a/webapp/src/app/modules/institution-patents/institution-patents.component.scss b/webapp/src/app/modules/institution-patents/institution-patents.component.scss index ec7cf852..2175e457 100644 --- a/webapp/src/app/modules/institution-patents/institution-patents.component.scss +++ b/webapp/src/app/modules/institution-patents/institution-patents.component.scss @@ -1,19 +1,19 @@ .message { padding: 16px; - color: #666; + color: var(--sg-text-muted); &.message-hint { padding-top: 0; font-size: 13px; - color: #888; + color: var(--sg-text-muted); code { display: inline-block; margin-top: 6px; padding: 4px 8px; border-radius: 6px; - background: #f5f5f5; - color: #333; + background: var(--sg-surface-soft); + color: var(--sg-text); font-size: 12px; } } @@ -60,30 +60,31 @@ th { text-align: left; padding: 10px 12px; - border-bottom: 2px solid #e0e0e0; + border-bottom: 2px solid var(--sg-border); font-weight: 600; - color: #333; + color: var(--sg-text); } tr { cursor: pointer; + color: var(--sg-text); &:hover { - background: #f5f5f5; + background: var(--sg-surface-soft); } &.selected { - background: #f0f0f0; + background: var(--sg-surface-muted); } } td { padding: 10px 12px; - border-bottom: 1px solid #f0f0f0; + border-bottom: 1px solid var(--sg-border); } .patent-title { - color: #333; + color: var(--sg-text); font-weight: 500; max-width: 280px; white-space: nowrap; @@ -96,7 +97,7 @@ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - color: #555; + color: var(--sg-text-muted); font-size: 13px; } @@ -118,26 +119,26 @@ font-weight: 700; &--institution { - background: #f5f3ff; - color: #6d28d9; - border: 1px solid #ddd6fe; + background: var(--sg-primary-soft); + color: var(--sg-primary); + border: 1px solid var(--sg-border); } &--name { - background: #fff7ed; - color: #c2410c; - border: 1px solid #fed7aa; + background: var(--sg-warning-soft); + color: var(--sg-warning); + border: 1px solid var(--sg-border); } &--both { - background: #ecfdf5; - color: #047857; - border: 1px solid #a7f3d0; + background: var(--sg-success-soft); + color: var(--sg-success); + border: 1px solid var(--sg-border); } } .author-link { - color: #2563eb; + color: var(--sg-blue-highlight); text-decoration: none; font-size: 0.82rem; @@ -155,30 +156,30 @@ font-weight: 700; &--epo { - background: #effaf3; - color: #24834f; - border: 1px solid #bdebcf; + background: var(--sg-success-soft); + color: var(--sg-success); + border: 1px solid var(--sg-border); } &--uspto { - background: #f0f6ff; - color: #0b63ce; - border: 1px solid #bdd4ff; + background: var(--sg-primary-soft); + color: var(--sg-blue-highlight); + border: 1px solid var(--sg-border); } } .patent-detail { width: 440px; - border: 1px solid #e0e0e0; + border: 1px solid var(--sg-border); border-radius: 8px; padding: 20px; - background: #fafafa; + background: var(--sg-surface-muted); &.empty { display: flex; align-items: center; justify-content: center; - color: #999; + color: var(--sg-text-muted); min-height: 200px; } @@ -190,13 +191,13 @@ .overview-title { font-size: 15px; font-weight: 600; - color: #333; + color: var(--sg-text); margin: 0; } .overview-subtitle { font-size: 13px; - color: #888; + color: var(--sg-text-muted); margin: 0; } @@ -208,8 +209,8 @@ } .overview-stat { - background: white; - border: 1px solid #e0e0e0; + background: var(--sg-card-bg); + border: 1px solid var(--sg-border); border-radius: 8px; padding: 12px 8px; text-align: center; @@ -218,48 +219,48 @@ display: block; font-size: 22px; font-weight: 700; - color: #333; + color: var(--sg-text); } .overview-label { display: block; font-size: 12px; - color: #888; + color: var(--sg-text-muted); margin-top: 4px; } &--total { .overview-value, .overview-label { - color: #0b63ce; + color: var(--sg-blue-highlight); } } &--institution { .overview-value, .overview-label { - color: #6d28d9; + color: var(--sg-primary); } } &--name { .overview-value, .overview-label { - color: #c2410c; + color: var(--sg-warning); } } &--both { .overview-value, .overview-label { - color: #047857; + color: var(--sg-success); } } } .overview-hint { font-size: 12px; - color: #aaa; + color: var(--sg-text-muted); margin: 0; } } @@ -267,7 +268,7 @@ h3 { margin: 0 0 16px 0; font-size: 16px; - color: #333; + color: var(--sg-text); line-height: 1.4; } } @@ -278,8 +279,8 @@ gap: 10px; .stat { - background: white; - border: 1px solid #e0e0e0; + background: var(--sg-card-bg); + border: 1px solid var(--sg-border); border-radius: 8px; padding: 10px; text-align: center; @@ -287,7 +288,7 @@ .stat-label { display: block; font-size: 11px; - color: #666; + color: var(--sg-text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.03em; @@ -297,7 +298,7 @@ display: block; font-size: 15px; font-weight: bold; - color: #333; + color: var(--sg-text); } } } @@ -306,7 +307,7 @@ margin: 14px 0 0; font-size: 13px; line-height: 1.55; - color: #555; + color: var(--sg-text-muted); } .patent-detail-action { @@ -317,10 +318,10 @@ width: 100%; margin-top: 16px; padding: 12px 14px; - border: 1px solid #bdd4ff; + border: 1px solid var(--sg-border); border-radius: 10px; - background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%); - color: #0b63ce; + background: var(--sg-surface-soft); + color: var(--sg-blue-highlight); font-size: 14px; font-weight: 600; cursor: pointer; @@ -330,9 +331,9 @@ box-shadow 0.15s; &:hover { - border-color: #0b63ce; - background: #f0f6ff; - box-shadow: 0 2px 8px rgba(11, 99, 206, 0.12); + border-color: var(--sg-blue-highlight); + background: var(--sg-primary-soft); + box-shadow: var(--sg-shadow-sm); } .material-icons { @@ -344,34 +345,34 @@ margin: 8px 0 0; font-size: 12px; line-height: 1.4; - color: #888; + color: var(--sg-text-muted); text-align: center; } .patent-full-detail { flex: 1; - border: 1px solid #e0e0e0; + border: 1px solid var(--sg-border); border-radius: 8px; padding: 20px; - background: #fafafa; + background: var(--sg-card-bg); h3 { margin: 0 0 4px 0; font-size: 16px; - color: #333; + color: var(--sg-text); line-height: 1.4; } h4 { margin: 16px 0 8px 0; font-size: 14px; - color: #555; + color: var(--sg-text-muted); font-weight: 600; } p { font-size: 13px; - color: #444; + color: var(--sg-text); line-height: 1.6; margin: 0; } @@ -386,11 +387,11 @@ margin-bottom: 1rem; padding: 0.5rem 0.85rem; - border: 1px solid #d6e3f8; + border: 1px solid var(--sg-border); border-radius: 999px; - background: #f8fbff; - color: #2563eb; + background: var(--sg-surface-soft); + color: var(--sg-blue-highlight); font-size: 0.9rem; font-weight: 600; @@ -403,14 +404,14 @@ box-shadow 0.15s ease; &:hover { - background: #eef5ff; - border-color: #bcd3f7; - color: #1d4ed8; - box-shadow: 0 1px 4px rgba(37, 99, 235, 0.12); + background: var(--sg-primary-soft); + border-color: var(--sg-blue-highlight); + color: var(--sg-blue-highlight); + box-shadow: var(--sg-shadow-sm); } &:focus-visible { - outline: 2px solid #93c5fd; + outline: 2px solid var(--sg-blue-highlight); outline-offset: 2px; } } @@ -418,7 +419,7 @@ .detail-section { margin-top: 12px; padding-top: 12px; - border-top: 1px solid #eee; + border-top: 1px solid var(--sg-border); } .patent-meta { @@ -428,10 +429,10 @@ &__list { margin: 0; - border: 1px solid #e2e8f4; + border: 1px solid var(--sg-border); border-radius: 12px; - background: linear-gradient(180deg, #fff 0%, #f8faff 100%); - box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); + background: var(--sg-card-bg); + box-shadow: var(--sg-shadow-sm); overflow: hidden; } @@ -441,7 +442,7 @@ gap: 12px 16px; align-items: center; padding: 11px 16px; - border-top: 1px solid #eef2f8; + border-top: 1px solid var(--sg-border); &:first-child { border-top: 0; @@ -451,7 +452,7 @@ margin: 0; font-size: 12px; font-weight: 500; - color: #64748b; + color: var(--sg-text-muted); line-height: 1.35; } @@ -459,7 +460,7 @@ margin: 0; font-size: 14px; font-weight: 600; - color: #1e293b; + color: var(--sg-text); line-height: 1.35; word-break: break-word; } @@ -483,32 +484,32 @@ .tag { padding: 4px 10px; border-radius: 999px; - background: #f0f6ff; - border: 1px solid #dbeafe; - color: #1e40af; + background: var(--sg-primary-soft); + border: 1px solid var(--sg-border); + color: var(--sg-blue-highlight); font-size: 0.8rem; line-height: 1.3; } .classification-section { &--ipc .classification-card { - background: #f0f6ff; - border-color: #bfdbfe; + background: var(--sg-primary-soft); + border-color: var(--sg-border); } &--ipc .classification-badge--system { - background: #dbeafe; - color: #1d4ed8; + background: var(--sg-surface-muted); + color: var(--sg-blue-highlight); } &--cpc .classification-card { - background: #f0fdf4; - border-color: #bbf7d0; + background: var(--sg-success-soft); + border-color: var(--sg-border); } &--cpc .classification-badge--system { - background: #dcfce7; - color: #15803d; + background: var(--sg-surface-muted); + color: var(--sg-success); } } @@ -521,7 +522,7 @@ .classification-card { padding: 12px 14px; border-radius: 10px; - border: 1px solid #dbeafe; + border: 1px solid var(--sg-border); } .classification-card__header { @@ -547,7 +548,7 @@ .classification-code { font-size: 0.9rem; font-weight: 700; - color: #0f172a; + color: var(--sg-text); } .classification-badge { @@ -562,15 +563,15 @@ } .classification-badge--level { - background: #e2e8f0; - color: #475569; + background: var(--sg-surface-muted); + color: var(--sg-text-muted); } .classification-summary { margin: 10px 0 0; font-size: 0.84rem; line-height: 1.5; - color: #334155; + color: var(--sg-text-muted); } .classification-toggle { @@ -578,7 +579,7 @@ padding: 0; border: 0; background: none; - color: #2563eb; + color: var(--sg-blue-highlight); font-size: 0.78rem; cursor: pointer; @@ -590,7 +591,7 @@ .classification-hierarchy { margin: 10px 0 0; padding-top: 10px; - border-top: 1px solid rgba(15, 23, 42, 0.08); + border-top: 1px solid var(--sg-border); } .classification-hierarchy__row { @@ -603,7 +604,7 @@ margin: 0; font-size: 0.72rem; font-weight: 700; - color: #64748b; + color: var(--sg-text-muted); text-transform: uppercase; letter-spacing: 0.03em; } @@ -612,7 +613,7 @@ margin: 0; font-size: 0.8rem; line-height: 1.45; - color: #334155; + color: var(--sg-text); } } @@ -625,9 +626,10 @@ button { padding: 4px 10px; - border: 1px solid #d0d0d0; + border: 1px solid var(--sg-border); border-radius: 6px; - background: white; + background: var(--sg-surface); + color: var(--sg-text); cursor: pointer; font-size: 12px; @@ -639,6 +641,6 @@ span { font-size: 12px; - color: #666; + color: var(--sg-text-muted); } } diff --git a/webapp/src/app/modules/jobs/job-logs-dialog/job-logs-dialog.component.scss b/webapp/src/app/modules/jobs/job-logs-dialog/job-logs-dialog.component.scss index b65b114c..18ae63d9 100644 --- a/webapp/src/app/modules/jobs/job-logs-dialog/job-logs-dialog.component.scss +++ b/webapp/src/app/modules/jobs/job-logs-dialog/job-logs-dialog.component.scss @@ -1,5 +1,5 @@ .no-logs { - color: #64748b; + color: var(--sg-text-muted); margin: 0; } @@ -8,15 +8,15 @@ align-items: center; gap: 10px; min-height: 120px; - color: #64748b; + color: var(--sg-text-muted); } .logs-error { margin: 0; padding: 16px; border-radius: 6px; - background: #fef2f2; - color: #991b1b; + background: var(--sg-error-soft); + color: var(--sg-error); } .logs-header { @@ -32,7 +32,7 @@ align-items: center; gap: 12px; font-size: 13px; - color: #64748b; + color: var(--sg-text-muted); } .logs-actions { @@ -54,28 +54,29 @@ } &--success { - color: #166534; + color: var(--sg-success); } &--failed { - color: #991b1b; + color: var(--sg-error); } &--running { - color: #92400e; + color: var(--sg-warning); } &--stopped { - color: #64748b; + color: var(--sg-text-muted); } &--idle { - color: #64748b; + color: var(--sg-text-muted); } } .logs-panel { - background: #0f172a; + background: var(--sg-surface); + border: 1px solid var(--sg-border); border-radius: 6px; padding: 12px 14px; min-width: 520px; @@ -83,32 +84,10 @@ min-height: 120px; max-height: 55vh; overflow: auto; - scrollbar-width: thin; - scrollbar-color: #64748b #1e293b; - - &::-webkit-scrollbar { - width: 12px; - height: 12px; - } - - &::-webkit-scrollbar-track { - background: #1e293b; - border-radius: 6px; - } - - &::-webkit-scrollbar-thumb { - background: #64748b; - border-radius: 6px; - border: 3px solid #0f172a; - } - - &::-webkit-scrollbar-thumb:hover { - background: #94a3b8; - } pre { margin: 0; - color: #e2e8f0; + color: var(--sg-text); font-family: 'Roboto Mono', ui-monospace, monospace; font-size: 12px; white-space: pre-wrap; @@ -116,7 +95,7 @@ } .logs-loading { - color: #cbd5e1; + color: var(--sg-text-muted); } } @@ -124,7 +103,7 @@ display: flex; align-items: center; gap: 10px; - color: #64748b; + color: var(--sg-text-muted); font-size: 13px; } @@ -134,13 +113,13 @@ } .logs-hint { - color: #94a3b8; + color: var(--sg-text-muted); font-size: 12px; } .run-duration { font-size: 13px; - color: #475569; + color: var(--sg-text-muted); } @media (max-width: 640px) { diff --git a/webapp/src/app/modules/jobs/jobs.component.scss b/webapp/src/app/modules/jobs/jobs.component.scss index 1777b492..8f726798 100644 --- a/webapp/src/app/modules/jobs/jobs.component.scss +++ b/webapp/src/app/modules/jobs/jobs.component.scss @@ -20,6 +20,7 @@ h1, p { margin: 0; + color: var(--sg-text); } .page-header h1 { @@ -28,7 +29,7 @@ p { } .page-header p { - color: #64748b; + color: var(--sg-text-muted); margin-top: 6px; } @@ -45,6 +46,8 @@ mat-paginator { .health-card { flex: 1 1 0; min-width: 0; + background: var(--sg-card-bg); + border: 1px solid var(--sg-border); } .health-content { @@ -69,21 +72,21 @@ mat-paginator { width: 12px; height: 12px; border-radius: 50%; - background: #94a3b8; + background: var(--sg-text-soft); flex-shrink: 0; &--ok { - background: #16a34a; + background: var(--sg-success); } &--error { - background: #dc2626; + background: var(--sg-error); } } .health-detail { font-size: 12px; - color: #64748b; + color: var(--sg-text-muted); } .health-title { @@ -95,7 +98,7 @@ mat-paginator { .health-host { font-size: 11px; - color: #64748b; + color: var(--sg-text-muted); word-break: break-all; } @@ -151,7 +154,7 @@ mat-paginator { border: none; background: none; cursor: pointer; - color: #64748b; + color: var(--sg-text-muted); opacity: 0; transition: opacity 0.15s ease; @@ -170,19 +173,19 @@ mat-paginator { .edit-name-action[disabled] { cursor: not-allowed; - color: #cbd5e1; + color: var(--sg-text-soft); } .task-description { font-size: 12px; - color: #64748b; + color: var(--sg-text-muted); } .task-index { width: fit-content; font-size: 11px; - color: #475569; - background: #f1f5f9; + color: var(--sg-text); + background: var(--sg-surface-muted); border-radius: 4px; padding: 1px 6px; } @@ -200,12 +203,12 @@ mat-paginator { font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace; font-size: 13px; - color: #334155; + color: var(--sg-text); } .next-run { font-size: 12px; - color: #64748b; + color: var(--sg-text-muted); } .enabled-badge { @@ -214,12 +217,12 @@ mat-paginator { font-weight: 700; padding: 1px 8px; border-radius: 999px; - background: #e2e8f0; - color: #64748b; + background: var(--sg-surface-soft); + color: var(--sg-text-muted); &--on { - background: #dcfce7; - color: #166534; + background: var(--sg-success-soft); + color: var(--sg-success); } } @@ -237,23 +240,23 @@ mat-paginator { } &--success { - color: #166534; + color: var(--sg-success); } &--failed { - color: #991b1b; + color: var(--sg-error); } &--running { - color: #92400e; + color: var(--sg-warning); } &--stopped { - color: #64748b; + color: var(--sg-text-muted); } &--idle { - color: #64748b; + color: var(--sg-text-muted); } } @@ -268,12 +271,12 @@ mat-paginator { .last-run-message { font-size: 12px; - color: #64748b; + color: var(--sg-text-muted); } .last-run-empty { font-size: 13px; - color: #64748b; + color: var(--sg-text-muted); } .row-actions { @@ -282,7 +285,7 @@ mat-paginator { } .delete-action:not(:disabled) { - color: #b91c1c; + color: var(--sg-error); } .actions-header { diff --git a/webapp/src/app/modules/jobs/task-create-dialog/task-create-dialog.component.scss b/webapp/src/app/modules/jobs/task-create-dialog/task-create-dialog.component.scss index e4d82bc2..2469e2a4 100644 --- a/webapp/src/app/modules/jobs/task-create-dialog/task-create-dialog.component.scss +++ b/webapp/src/app/modules/jobs/task-create-dialog/task-create-dialog.component.scss @@ -3,7 +3,6 @@ flex-direction: column; gap: 12px; min-width: 400px; - padding-top: 6px; } @@ -22,24 +21,24 @@ display: flex; align-items: center; gap: 8px; - color: #64748b; + color: var(--sg-text-muted); font-size: 14px; } .field-hint { margin: -6px 0 0; - color: #64748b; + color: var(--sg-text-muted); font-size: 12px; } .field-info { - color: #94a3b8; + color: var(--sg-text-muted); cursor: help; } .server-error { margin: 8px 0 0; - color: #b3261e; + color: var(--sg-error); font-size: 14px; } diff --git a/webapp/src/app/modules/jobs/task-edit-dialog/task-edit-dialog.component.scss b/webapp/src/app/modules/jobs/task-edit-dialog/task-edit-dialog.component.scss index 6f18c2d5..453fa371 100644 --- a/webapp/src/app/modules/jobs/task-edit-dialog/task-edit-dialog.component.scss +++ b/webapp/src/app/modules/jobs/task-edit-dialog/task-edit-dialog.component.scss @@ -3,7 +3,6 @@ flex-direction: column; gap: 12px; min-width: 400px; - padding-top: 6px; } @@ -19,13 +18,13 @@ } .field-info { - color: #94a3b8; + color: var(--sg-text-muted); cursor: help; } .server-error { margin: 8px 0 0; - color: #b3261e; + color: var(--sg-error); font-size: 14px; } diff --git a/webapp/src/app/modules/jobs/task-schedule-dialog/task-schedule-dialog.component.scss b/webapp/src/app/modules/jobs/task-schedule-dialog/task-schedule-dialog.component.scss index a684f79b..a297dd11 100644 --- a/webapp/src/app/modules/jobs/task-schedule-dialog/task-schedule-dialog.component.scss +++ b/webapp/src/app/modules/jobs/task-schedule-dialog/task-schedule-dialog.component.scss @@ -1,6 +1,6 @@ .task-description { margin: 0 0 16px; - color: #64748b; + color: var(--sg-text-muted); } .schedule-form { @@ -18,7 +18,7 @@ .field-hint { margin: -6px 0 0; - color: #64748b; + color: var(--sg-text-muted); font-size: 12px; } @@ -44,7 +44,7 @@ width: 36px; height: 20px; border-radius: 999px; - background: #cbd5e1; + background: var(--sg-border-strong); transition: background 0.15s ease; } @@ -55,13 +55,13 @@ width: 16px; height: 16px; border-radius: 50%; - background: #ffffff; - box-shadow: 0 1px 2px rgba(16, 26, 61, 0.3); + background: var(--sg-color-mix-base); + box-shadow: var(--sg-shadow-sm); transition: transform 0.15s ease; } .enabled-toggle--on .enabled-toggle__track { - background: #2259a8; + background: var(--sg-primary); } .enabled-toggle--on .enabled-toggle__thumb { @@ -70,11 +70,11 @@ .enabled-toggle__label { font-size: 14px; - color: var(--sg-text, #101a3d); + color: var(--sg-text); } .enabled-toggle:focus-visible { - outline: 2px solid #2259a8; + outline: 2px solid var(--sg-primary); outline-offset: 2px; border-radius: 4px; } @@ -82,7 +82,7 @@ .next-run-hint { margin: 0; font-size: 12px; - color: #64748b; + color: var(--sg-text-muted); } @media (max-width: 640px) { diff --git a/webapp/src/app/modules/keywords-search/keywords-search.component.scss b/webapp/src/app/modules/keywords-search/keywords-search.component.scss index 1acbbc26..470a8916 100644 --- a/webapp/src/app/modules/keywords-search/keywords-search.component.scss +++ b/webapp/src/app/modules/keywords-search/keywords-search.component.scss @@ -48,12 +48,12 @@ $touch-target: 44px; .keywords-toolbar { display: flex; flex-direction: column; - background: var(--sg-background-muted, #f4f5f7); + background: var(--sg-surface-muted); ::ng-deep app-topic-legend .topic-legend { width: 100%; - border: 1px solid var(--sg-divider, rgba(0, 0, 0, 0.8)); + border: 1px solid var(--sg-border); border-bottom: none; border-radius: 4px; margin: 0; @@ -65,17 +65,16 @@ $touch-target: 44px; justify-content: space-around; gap: 0.75rem; padding: 0.5rem 0.75rem; - background: var(--sg-background-muted, #f4f5f7); + background: var(--sg-surface-muted); } .toolbar-wrapper { display: grid; grid-template-columns: 3fr 1.3fr; - border: 1px solid var(--sg-divider, rgba(0, 0, 0, 0.8)); + border: 1px solid var(--sg-border); border-bottom: none; } .toolbar-controls--placeholder { - /* invisible spacer, preserves grid column width/position */ visibility: hidden; pointer-events: none; } @@ -109,7 +108,7 @@ $touch-target: 44px; } .toolbar-controls--placeholder { - display: none; /* no need for a spacer once stacked */ + display: none; } } @@ -117,7 +116,7 @@ $touch-target: 44px; display: flex; justify-content: center; gap: 0.5rem; - flex-wrap: nowrap; /* fixed: was invalid "no-wrap" */ + flex-wrap: nowrap; align-items: center; } @@ -141,7 +140,7 @@ $touch-target: 44px; .toolbar-divider { width: 1px; align-self: stretch; - background: var(--sg-divider, rgba(0, 0, 0, 0.12)); + background: var(--sg-border); } mat-button-toggle-group { @@ -214,7 +213,7 @@ mat-button-toggle-group { .keyword-card { padding: 0 !important; - background: var(--sg-background-muted, #f4f5f7); + background: var(--sg-surface-muted); .mat-card-header { padding: 0 0 0.5rem 0; } @@ -233,14 +232,14 @@ mat-button-toggle-group { } .table-head { - border: 1px solid var(--sg-divider, rgba(0, 0, 0, 0.8)); + border: 1px solid var(--sg-border); padding-top: 0.5rem; display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; column-gap: 1rem; - border-bottom: 1px solid var(--sg-divider, rgba(0, 0, 0, 0.8)); + border-bottom: 1px solid var(--sg-border); padding-bottom: 0.5rem; - background: var(--sg-background-muted, #f4f5f7); + background: var(--sg-surface-muted); } .head-cell { @@ -250,7 +249,7 @@ mat-button-toggle-group { .sub-cell { font-weight: 500; - color: var(--sg-text-secondary); + color: var(--sg-text-muted); font-size: clamp(0.8rem, 1.2vw, 1rem); text-transform: uppercase; letter-spacing: 0.05em; @@ -265,7 +264,6 @@ mat-button-toggle-group { column-gap: 1rem; row-gap: 0.4rem; align-items: start; - //border-left: 1px solid var(--sg-divider, rgba(0, 0, 0, 0.8)); } .table-col { @@ -274,7 +272,7 @@ mat-button-toggle-group { min-width: 0; padding: 0.5rem; height: 100%; - border-right: 1px solid var(--sg-divider, rgba(0, 0, 0, 0.8)); + border-right: 1px solid var(--sg-border); &:last-child { border-right: none; @@ -295,7 +293,7 @@ mat-button-toggle-group { } .thick-border { - border-right: 5px solid var(--sg-divider, rgba(0, 0, 0, 0.08)) !important; + border-right: 5px solid var(--sg-border) !important; } @container keyword-tool (max-width: #{$tablet}) { @@ -329,8 +327,8 @@ mat-button-toggle-group { margin-left: 0.35rem; font-size: 0.75rem; font-weight: 600; - color: var(--sg-text-secondary); - background: var(--sg-background-muted, #eceff1); + color: var(--sg-text-muted); + background: var(--sg-surface-muted); border-radius: 10px; padding: 0 6px; min-width: 18px; @@ -431,7 +429,7 @@ mat-button-toggle-group { .empty-state { text-align: center; - color: var(--sg-text-secondary); + color: var(--sg-text-muted); margin: 0; font-size: 0.85rem; padding: 0.35rem 0; @@ -490,10 +488,10 @@ mat-button-toggle-group { position: sticky; bottom: 0; z-index: 5; - background: var(--sg-background, #fff); + background: var(--sg-background); padding: 0.75rem 0.5rem; margin-top: 0.75rem; - box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08); + box-shadow: var(--sg-shadow-md); } .search-actions { @@ -567,9 +565,8 @@ mat-button-toggle-group { ============================================================ */ .source-expansion { margin: 0.5rem 1rem; - background: var(--sg-background-muted, #f5f5f5); + background: var(--sg-surface-muted); border-radius: 4px; - //border-left: 4px solid var(--sg-primary, #1976d2); .mat-expansion-panel-header { padding: 0.5rem 0.75rem; @@ -577,7 +574,7 @@ mat-button-toggle-group { min-height: 36px; font-size: 1rem; text-transform: uppercase; - color: var(--sg-text-secondary); + color: var(--sg-text-muted); letter-spacing: 0.05em; .mat-expansion-panel-header-title { @@ -594,7 +591,7 @@ mat-button-toggle-group { ::ng-deep .mat-expansion-panel-content { font-size: 0.85rem; line-height: 1.5; - color: var(--sg-text-primary); + color: var(--sg-text); } ::ng-deep .mat-expansion-panel-body { @@ -611,7 +608,7 @@ mat-button-toggle-group { } ::ng-deep .mat-expansion-panel-header:hover { - background: rgba(0, 0, 0, 0.03); + background: var(--sg-surface-soft); } } @@ -640,7 +637,7 @@ mat-button-toggle-group { 90deg, transparent 0%, transparent 35%, - #2196f3 50%, + var(--sg-primary) 50%, transparent 65%, transparent 100% ); @@ -649,8 +646,8 @@ mat-button-toggle-group { animation: border-loading 1.5s linear infinite; -webkit-mask: - linear-gradient(#fff 0 0) content-box, - linear-gradient(#fff 0 0); + linear-gradient(var(--sg-color-mix-base) 0 0) content-box, + linear-gradient(var(--sg-color-mix-base) 0 0); -webkit-mask-composite: xor; mask-composite: exclude; @@ -661,7 +658,7 @@ mat-button-toggle-group { align-self: center; margin-top: 0.5rem; font-size: 0.9rem; - color: var(--sg-text-secondary); + color: var(--sg-text-muted); text-align: center; font-weight: 500; } @@ -688,6 +685,6 @@ mat-button-toggle-group { button:focus-visible, .mat-button-toggle:focus-visible, ::ng-deep .mat-mdc-tab:focus-visible { - outline: 2px solid var(--sg-primary, #1976d2); + outline: 2px solid var(--sg-primary); outline-offset: 2px; }