From f7fa93e0db566d5213bbc6816612ce950cfa2b44 Mon Sep 17 00:00:00 2001 From: Kirtan Thakkar Date: Mon, 2 Nov 2026 19:16:45 +0530 Subject: [PATCH] fix(web): unify toolbar and component sizing, spacing and contrast Toolbars: sm-toolbar and icon-toolbar are now one 34px box with 10px padding, per-page overrides are gone, and controls sit 8px apart across Logs, Metrics and Traces. Contrast: darken the default primary to #5A64DB so white labels pass 4.5:1, use primary-700 for active tabs, raise label and muted text, log punctuation and dark pagination, and replace opacity on text with tokens. Components: 28px table footer and row actions, matching button and input borders, stat tile padding, one-row Alerts tiles with stacked labels, centred header checkbox, and aligned Settings fields. --- web/src/assets/styles/log-highlighting.css | 7 +- web/src/components/DateTime.vue | 4 +- web/src/components/alerts/AddAlert.vue | 2 +- web/src/components/alerts/AlertHistory.vue | 4 +- web/src/components/alerts/AlertList.vue | 9 +- web/src/components/alerts/AlertSummary.vue | 2 +- .../alerts/AlertsDestinationList.vue | 6 +- .../alerts/ExternalAlertSourcesList.vue | 8 +- .../alerts/IncidentDetailDrawer.vue | 1 - web/src/components/alerts/IncidentList.vue | 6 +- .../alerts/PipelinesDestinationList.vue | 4 +- web/src/components/alerts/PreviewAlert.vue | 2 +- .../components/alerts/QueryEditorDialog.vue | 14 +-- web/src/components/alerts/TemplateList.vue | 8 +- .../alerts/downtimes/DowntimeList.vue | 10 +-- web/src/components/alerts/steps/Advanced.vue | 4 +- .../dashboards/PublicLinksTable.vue | 12 +-- .../dashboards/VariablesValueSelector.vue | 11 +-- .../functions/EnrichmentTableList.vue | 8 +- web/src/components/functions/FunctionList.vue | 8 +- .../serviceAccounts/ServiceAccountsList.vue | 6 +- .../components/iam/users/InvitationList.vue | 2 +- web/src/components/iam/users/User.vue | 8 +- web/src/components/oncall/OnCallCoverList.vue | 2 +- .../components/oncall/OnCallRoutingList.vue | 2 +- web/src/components/pipeline/PipelinesList.vue | 14 +-- .../components/pipelines/BackfillJobsList.vue | 14 +-- web/src/components/queries/QueryList.vue | 2 +- .../components/queries/RunningQueriesList.vue | 6 +- web/src/components/queries/SummaryList.vue | 4 +- web/src/components/reports/ReportList.vue | 10 +-- .../settings/AnnouncementBannerList.vue | 6 +- web/src/components/settings/General.vue | 34 ++++--- .../settings/ModelPricingEditor.vue | 14 +-- .../components/settings/ModelPricingList.vue | 27 +++--- .../components/settings/RegexPatternList.vue | 6 +- .../settings/ServiceIdentitySetup.vue | 4 +- .../settings/SyntheticsLocationsList.vue | 8 +- .../settings/TestModelMatchDialog.vue | 24 ++--- .../synthetic-monitoring/MonitorTable.vue | 10 +-- .../variables/SyntheticsVariablesList.vue | 12 +-- .../components/workflows/WorkflowsList.vue | 10 +-- web/src/constants/themes.ts | 2 +- web/src/lib/core/Button/OButton.vue | 8 +- web/src/lib/core/Code/OCodeBlock.vue | 4 +- web/src/lib/core/PageHeader/OPageHeader.vue | 4 +- .../lib/core/RefreshButton/ORefreshButton.vue | 2 - .../sub-components/OTableColumnToggle.vue | 4 +- .../Table/sub-components/OTablePagination.vue | 10 +-- .../sub-components/OTableSelectCheckbox.vue | 1 + .../lib/core/ToggleGroup/OToggleGroupItem.vue | 8 +- web/src/lib/data/StatStrip/OStatCard.vue | 9 +- web/src/lib/data/StatStrip/OStatStrip.vue | 3 + web/src/lib/styles/tokens/component.css | 4 +- .../lib/styles/tokens/contrast-manifest.ts | 12 --- web/src/lib/styles/tokens/dark.css | 6 +- web/src/lib/styles/tokens/semantic.css | 4 +- web/src/plugins/logs/IndexList.vue | 2 +- .../logs/SearchBar.drillDownToggle.spec.ts | 4 +- .../logs/SearchBar.savedViewsPinned.spec.ts | 18 ++-- .../logs/SearchBar.toolbarHeight.spec.ts | 17 ++-- .../logs/SearchBar.toolbarSpacing.spec.ts | 14 ++- web/src/plugins/logs/SearchBar.vue | 88 +++++++++---------- web/src/plugins/logs/SearchResult.vue | 17 ++-- web/src/plugins/logs/SyntaxGuide.spec.ts | 6 +- web/src/plugins/logs/SyntaxGuide.vue | 4 +- .../metrics/explorer/LabelFilterBar.vue | 4 +- .../metrics/explorer/MetricsExplorer.vue | 6 +- web/src/plugins/traces/SearchBar.spec.ts | 9 +- web/src/plugins/traces/SearchBar.vue | 48 +++++----- web/src/plugins/traces/SearchResult.vue | 7 +- web/src/plugins/traces/SpanBlock.spec.ts | 7 +- web/src/plugins/traces/SpanBlock.vue | 4 +- web/src/plugins/traces/TraceDAG.vue | 9 +- web/src/plugins/traces/TraceDetails.vue | 4 +- web/src/views/About.vue | 6 +- web/src/views/Dashboards/Dashboards.vue | 6 +- web/src/views/Dashboards/ViewDashboard.vue | 6 +- web/src/views/Error404.vue | 2 +- web/src/views/HomeView.vue | 4 +- web/src/views/Ingestion.vue | 10 +-- web/src/views/LogStream.vue | 12 +-- web/src/views/OverviewTab.vue | 8 +- web/src/views/slos/SloList.vue | 12 +-- .../status-pages/StatusPagesList.vue | 6 +- 85 files changed, 396 insertions(+), 380 deletions(-) diff --git a/web/src/assets/styles/log-highlighting.css b/web/src/assets/styles/log-highlighting.css index 462eb228c2..d68df0ee83 100644 --- a/web/src/assets/styles/log-highlighting.css +++ b/web/src/assets/styles/log-highlighting.css @@ -30,7 +30,7 @@ } .log-separator { - color: #9ca3af; + color: #6b7280; } /* `.log-key`/`.log-separator` are applied to generated log HTML injected via @@ -41,7 +41,7 @@ font-weight: normal; } .log-object-brace { - color: #9ca3af; + color: #6b7280; } @@ -100,7 +100,8 @@ color: #6EE7B7; /* Soft mint green */ } -.dark .log-separator { +.dark .log-separator, +.dark .log-object-brace { color: #999; } .dark .log-number { diff --git a/web/src/components/DateTime.vue b/web/src/components/DateTime.vue index 3edd152d1f..f5dd2e4b7a 100644 --- a/web/src/components/DateTime.vue +++ b/web/src/components/DateTime.vue @@ -298,7 +298,9 @@ along with this program. If not, see . @update:pending-date="pendingDay = $event" /> -
{{ t("common.datetimeMessage") }}
+
+ {{ t("common.datetimeMessage") }} +
. : t("alerts.wouldNotTrigger") }} - {{ activeEvaluationStatus.reason }} + {{ activeEvaluationStatus.reason }}
diff --git a/web/src/components/alerts/AlertHistory.vue b/web/src/components/alerts/AlertHistory.vue index 8d56088880..393d479f26 100644 --- a/web/src/components/alerts/AlertHistory.vue +++ b/web/src/components/alerts/AlertHistory.vue @@ -521,7 +521,7 @@ along with this program. If not, see .
-
+
{{ t("alerts.errorSummary") }}
. :items="summaryStats" :loading="loading" compact + stacked selectable :selected-key="stateFilter" default-key="total" @@ -592,7 +593,7 @@ along with this program. If not, see . :data-test="`alert-list-${row.name}-pause-start-alert`" class="ms-1 max-md:hidden" :variant="row.enabled ? 'ghost-destructive' : 'ghost-success'" - size="icon-sm" + size="icon-xs-sq" :icon-left="row.enabled ? 'pause' : 'play-arrow'" @click.stop="toggleAlertState(row)" > @@ -606,7 +607,7 @@ along with this program. If not, see . data-row-action="edit" :data-test="`alert-list-${row.name}-update-alert`" variant="ghost" - size="icon-sm" + size="icon-xs-sq" icon-left="edit" class="max-md:hidden" @click.stop="editAlert(row)" @@ -631,7 +632,7 @@ along with this program. If not, see . .