From 6d35b09d4d802fa8cf13f415c833fba5681a9229 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Wed, 1 Jul 2026 18:13:06 +0300 Subject: [PATCH] UI: swap dialog header mat-toolbar color=primary for .tb-dialog-header class Sweep every dialog-context (105 toolbars across 104 files) to , preserving any existing class list. Add a matching .tb-dialog-header rule to styles.scss with a 1px rgba(0,0,0,0.12) bottom border. Table row-selection toolbars (mat-mdc-table-toolbar) and the app shell / dashboard-page primary toolbars are intentionally left as-is. The two dialogs that placed a tb-toggle-select in the header switch from appearance="fill-invert" to "fill" now that the header is on a light background. --- .../home/components/ai-model/ai-model-dialog.component.html | 2 +- .../alarm-rules/alarm-rule-details-dialog.component.html | 2 +- .../components/alarm-rules/alarm-rule-dialog.component.html | 2 +- .../alarm-rules/cf-alarm-rule-condition-dialog.component.html | 2 +- .../alarm-rules/cf-alarm-schedule-dialog.component.html | 2 +- .../alarm-rule-complex-filter-predicate-dialog.component.html | 2 +- .../filter/alarm-rule-filter-dialog.component.html | 2 +- .../home/components/alarm/alarm-comment-dialog.component.html | 2 +- .../home/components/alarm/alarm-details-dialog.component.html | 2 +- .../home/components/alias/entity-alias-dialog.component.html | 2 +- .../components/alias/entity-aliases-dialog.component.html | 2 +- .../home/components/api-key/add-api-key-dialog.component.html | 2 +- .../api-key/api-key-generated-dialog.component.html | 2 +- .../components/api-key/api-keys-table-dialog.component.html | 2 +- .../components/attribute/add-attribute-dialog.component.html | 2 +- .../attribute/add-widget-to-dashboard-dialog.component.html | 2 +- .../audit-log/audit-log-details-dialog.component.html | 2 +- .../components/dialog/calculated-field-dialog.component.html | 2 +- .../calculated-field-script-test-dialog.component.html | 2 +- .../dashboard-page/add-widget-dialog.component.html | 4 ++-- .../dashboard-page/dashboard-image-dialog.component.html | 2 +- .../dashboard-page/dashboard-settings-dialog.component.html | 2 +- .../layout/add-new-breakpoint-dialog.component.html | 2 +- .../layout/manage-dashboard-layouts-dialog.component.html | 2 +- .../dashboard-page/layout/move-widgets-dialog.component.html | 2 +- .../states/dashboard-state-dialog.component.html | 2 +- .../states/manage-dashboard-states-dialog.component.html | 2 +- .../dashboard/select-target-layout-dialog.component.html | 2 +- .../dashboard/select-target-state-dialog.component.html | 2 +- .../home/components/entity/add-entity-dialog.component.html | 2 +- .../home/components/event/event-content-dialog.component.html | 2 +- .../filter/complex-filter-predicate-dialog.component.html | 2 +- .../home/components/filter/filter-dialog.component.html | 2 +- .../components/filter/filter-user-info-dialog.component.html | 2 +- .../home/components/filter/filters-dialog.component.html | 2 +- .../home/components/filter/key-filter-dialog.component.html | 2 +- .../home/components/filter/user-filter-dialog.component.html | 2 +- .../components/iot-hub/iot-hub-add-item-dialog.component.html | 2 +- .../profile/add-device-profile-dialog.component.html | 2 +- .../profile/alarm/alarm-rule-condition-dialog.component.html | 2 +- .../profile/alarm/alarm-schedule-dialog.component.html | 2 +- .../profile/alarm/edit-alarm-details-dialog.component.html | 2 +- .../components/profile/asset-profile-dialog.component.html | 2 +- .../components/profile/device-profile-dialog.component.html | 2 +- .../device/lwm2m/lwm2m-attributes-dialog.component.html | 2 +- .../lwm2m-bootstrap-add-config-server-dialog.component.html | 2 +- .../lwm2m/lwm2m-object-add-instances-dialog.component.html | 2 +- .../components/profile/tenant-profile-dialog.component.html | 2 +- .../rate-limits/rate-limits-details-dialog.component.html | 2 +- .../home/components/relation/relation-dialog.component.html | 2 +- .../home/components/resources/resources-dialog.component.html | 2 +- .../widget/action/manage-widget-actions-dialog.component.html | 2 +- .../widget/action/widget-action-dialog.component.html | 2 +- .../widget/dialog/embed-dashboard-dialog.component.html | 2 +- .../maps-legacy/dialogs/select-entity-dialog.component.html | 2 +- .../widget/lib/rpc/persistent-add-dialog.component.html | 2 +- .../widget/lib/rpc/persistent-details-dialog.component.html | 2 +- .../settings/common/key/data-key-config-dialog.component.html | 4 ++-- .../settings/common/map/map-data-layer-dialog.component.html | 2 +- .../components/wizard/device-wizard-dialog.component.html | 2 +- .../dialogs/add-entities-to-customer-dialog.component.html | 2 +- .../home/dialogs/add-entities-to-edge-dialog.component.html | 2 +- .../home/dialogs/assign-to-customer-dialog.component.html | 2 +- .../src/app/modules/home/dialogs/events-dialog.component.html | 2 +- .../pages/admin/oauth2/clients/client-dialog.component.html | 2 +- .../home/pages/admin/send-test-sms-dialog.component.html | 2 +- .../dashboard/import-dashboard-file-dialog.component.html | 2 +- .../dashboard/make-dashboard-public-dialog.component.html | 2 +- .../manage-dashboard-customers-dialog.component.html | 2 +- .../device/device-check-connectivity-dialog.component.html | 2 +- .../pages/device/device-credentials-dialog.component.html | 2 +- .../home/pages/edge/edge-instructions-dialog.component.html | 2 +- .../mobile/applications/mobile-app-dialog.component.html | 2 +- .../mobile/applications/remove-app-dialog.component.html | 2 +- .../bundes/layout/add-mobile-page-dialog.component.html | 2 +- .../bundes/mobile-app-configuration-dialog.component.html | 2 +- .../pages/mobile/bundes/mobile-bundle-dialog.component.html | 2 +- .../recipient/recipient-notification-dialog.component.html | 2 +- .../notification/rule/rule-notification-dialog.component.html | 2 +- .../pages/notification/sent/sent-error-dialog.component.html | 2 +- .../notification/sent/sent-notification-dialog.component.html | 2 +- .../template/template-notification-dialog.component.html | 2 +- .../home/pages/rulechain/add-note-dialog.component.html | 2 +- .../home/pages/rulechain/add-rule-node-dialog.component.html | 2 +- .../pages/rulechain/add-rule-node-link-dialog.component.html | 2 +- .../rulechain/create-nested-rulechain-dialog.component.html | 2 +- .../backup-code-auth-dialog.component.html | 2 +- .../authentication-dialog/email-auth-dialog.component.html | 2 +- .../authentication-dialog/sms-auth-dialog.component.html | 2 +- .../authentication-dialog/totp-auth-dialog.component.html | 2 +- .../home/pages/user/activation-link-dialog.component.html | 2 +- .../modules/home/pages/user/add-user-dialog.component.html | 2 +- .../pages/widget/save-widget-type-as-dialog.component.html | 2 +- .../pages/widget/select-widget-type-dialog.component.html | 2 +- .../home/pages/widget/widgets-bundle-dialog.component.html | 2 +- .../entity-conflict-dialog.component.html | 2 +- .../components/dialog/json-object-edit-dialog.component.html | 2 +- .../components/dialog/node-script-test-dialog.component.html | 2 +- .../shared/components/image/embed-image-dialog.component.html | 2 +- .../app/shared/components/image/image-dialog.component.html | 2 +- .../components/image/upload-image-dialog.component.html | 2 +- .../components/time/timewindow-config-dialog.component.html | 2 +- .../import-export/export-resource-dialog.component.html | 2 +- .../app/shared/import-export/import-dialog-csv.component.html | 2 +- .../src/app/shared/import-export/import-dialog.component.html | 2 +- ui-ngx/src/styles.scss | 4 ++++ 106 files changed, 111 insertions(+), 107 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html index 6802eaaf8b..d9471ef31d 100644 --- a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html @@ -15,7 +15,7 @@ limitations under the License. --> - +

{{ dialogTitle | translate }}

diff --git a/ui-ngx/src/app/modules/home/components/alarm-rules/alarm-rule-details-dialog.component.html b/ui-ngx/src/app/modules/home/components/alarm-rules/alarm-rule-details-dialog.component.html index 413b72e614..b7759bb49b 100644 --- a/ui-ngx/src/app/modules/home/components/alarm-rules/alarm-rule-details-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/alarm-rules/alarm-rule-details-dialog.component.html @@ -16,7 +16,7 @@ -->
- +

{{ 'alarm-rule.edit-alarm-rule-additional-info' | translate }}