From 44852fb5d5fcdb61491c9349e59ac32b13d6e581 Mon Sep 17 00:00:00 2001 From: Scott Aslan Date: Thu, 11 Apr 2024 11:39:37 -0400 Subject: [PATCH] [NIFI-13022] rename semantic color classes to avoid conflict with angular material class names (#8628) * [NIFI-13022] rename semantic color classes to avoid conflict with angular material class names * remove need for !important * rename default material sementic color classes This closes #8628 --- .../feature/access-policies.component.html | 2 +- ...add-tenant-to-policy-dialog.component.html | 4 +- .../policy-table/policy-table.component.html | 7 +- ...onent-access-policies.component-theme.scss | 33 --- .../component-access-policies.component.html | 16 +- .../global-access-policies.component.html | 8 +- .../feature/bulletins.component.html | 2 +- .../bulletin-board.component.html | 7 +- .../counters/feature/counters.component.html | 2 +- .../counter-listing.component.html | 4 +- .../counter-table.component.html | 4 +- .../flow-configuration-history.component.html | 2 +- .../action-details.component.html | 6 +- ...nfiguration-history-listing.component.html | 6 +- ...configuration-history-table.component.html | 2 +- .../service/canvas-utils.service.ts | 2 +- .../service/manager/port-manager.service.ts | 4 +- .../manager/process-group-manager.service.ts | 24 +- .../manager/processor-manager.service.ts | 2 +- .../remote-process-group-manager.service.ts | 2 +- .../ui/canvas/_canvas.component-theme.scss | 4 - .../footer/_footer.component-theme.scss | 2 - .../ui/canvas/footer/footer.component.html | 2 +- .../_navigation-control.component-theme.scss | 9 +- .../navigation-control.component.html | 14 +- .../_operation-control.component-theme.scss | 21 +- .../operation-control.component.html | 27 ++- .../_flow-status.component-theme.scss | 5 - .../flow-status/flow-status.component.html | 34 +-- .../flow-status/flow-status.component.ts | 12 +- .../search/_search.component-theme.scss | 3 - .../header/search/search.component.html | 4 +- .../destination-funnel.component.html | 4 +- .../destination-output-port.component.html | 4 +- .../destination-process-group.component.html | 2 +- .../destination-processor.component.html | 4 +- ...nation-remote-process-group.component.html | 2 +- .../_prioritizers.component-theme.scss | 2 - .../prioritizers/prioritizers.component.html | 9 +- .../source-funnel.component.html | 4 +- .../source-input-port.component.html | 4 +- .../source-process-group.component.html | 2 +- .../source-processor.component.html | 4 +- ...source-remote-process-group.component.html | 2 +- .../change-version-dialog.html | 10 +- .../change-version-progress-dialog.html | 6 +- .../import-from-registry.component.html | 2 +- .../local-changes-table.html | 7 +- .../save-version-dialog.component.html | 8 +- .../create-process-group.component.html | 4 +- .../edit-processor.component.html | 6 +- .../relationship-settings.component.html | 2 +- .../run-duration-slider.component.html | 4 +- .../edit-remote-process-group.component.html | 4 +- .../controller-services.component.html | 8 +- .../edit-remote-port.component.html | 2 +- .../manage-remote-ports.component.html | 16 +- .../ui/login-form/login-form.component.html | 8 +- .../feature/parameter-contexts.component.html | 2 +- .../edit-parameter-context.component.html | 8 +- ...r-context-inheritance.component-theme.scss | 1 - ...rameter-context-inheritance.component.html | 6 +- .../parameter-context-listing.component.html | 6 +- .../parameter-context-table.component.html | 16 +- .../parameter-table.component.html | 20 +- .../process-group-references.component.html | 2 +- .../feature/provenance.component.html | 2 +- .../lineage/lineage.component.ts | 2 +- .../provenance-event-table.component.html | 20 +- .../flowfile-dialog.component.html | 18 +- .../flowfile-table.component.html | 12 +- .../queue-listing.component.html | 4 +- .../settings/feature/settings.component.html | 2 +- .../edit-flow-analysis-rule.component.html | 6 +- .../flow-analysis-rule-table.component.html | 30 ++- .../flow-analysis-rule-table.component.ts | 2 +- .../flow-analysis-rules.component.html | 6 +- ...agement-controller-services.component.html | 6 +- .../edit-parameter-provider.component.html | 6 +- ...rameter-provider-parameters.component.html | 46 ++-- .../parameter-groups-table.component.html | 4 +- ...ameter-providers-references.component.html | 6 +- .../parameter-providers-table.component.html | 16 +- .../parameter-providers.component.html | 5 +- .../edit-registry-client.component.html | 4 +- .../registry-client-table.component.html | 12 +- .../registry-clients.component.html | 6 +- .../edit-reporting-task.component.html | 6 +- .../reporting-task-table.component.html | 37 +++- .../reporting-task-table.component.ts | 2 +- .../reporting-tasks.component.html | 6 +- .../summary/feature/summary.component.html | 2 +- .../cluster-summary-dialog.component.html | 4 +- .../port-cluster-table.component.ts | 2 +- .../processor-cluster-table.component.ts | 2 +- ...e-process-group-cluster-table.component.ts | 2 +- .../port-status-table.component.html | 8 +- .../port-status-table.component.ts | 2 +- .../summary-table-filter.component.html | 2 +- .../connection-status-table.component.html | 10 +- .../process-group-status-table.component.html | 12 +- ...rocessor-status-table.component-theme.scss | 2 - .../processor-status-table.component.html | 14 +- .../processor-status-table.component.ts | 2 +- ...-process-group-status-table.component.html | 10 +- ...te-process-group-status-table.component.ts | 2 +- .../pages/users/feature/users.component.html | 2 +- .../user-access-policies.component.html | 6 +- .../user-listing/user-listing.component.html | 4 +- .../user-table/user-table.component.html | 15 +- .../component-context.component.html | 6 +- .../component-state.component.html | 8 +- .../_context-menu.component-theme.scss | 8 - .../context-menu/context-menu.component.html | 12 +- ...ntroller-service-references.component.html | 18 +- ...controller-service-references.component.ts | 4 +- .../controller-service-table.component.html | 18 +- .../controller-service-table.component.ts | 4 +- .../disable-controller-service.component.html | 16 +- .../edit-controller-service.component.html | 8 +- .../enable-controller-service.component.html | 14 +- .../_extension-creation.component-theme.scss | 34 --- .../extension-creation.component.html | 6 +- .../_navigation.component-theme.scss | 15 +- .../navigation/navigation.component.html | 32 +-- .../parameter-references.component.html | 18 +- .../parameter-references.component.ts | 4 +- .../property-table.component.html | 19 +- .../provenance-event-dialog.component.html | 24 +- .../ui/common/spinner/spinner.component.ts | 2 +- .../status-history.component.html | 14 +- .../system-diagnostics-dialog.component.html | 38 ++-- .../src/main/nifi/src/assets/styles/_app.scss | 207 ++++++++---------- .../src/assets/styles/_listing-table.scss | 10 +- .../main/nifi/src/assets/themes/material.scss | 2 +- .../src/main/nifi/src/styles.scss | 18 +- 136 files changed, 674 insertions(+), 721 deletions(-) delete mode 100644 nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/component-access-policies/_component-access-policies.component-theme.scss delete mode 100644 nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/extension-creation/_extension-creation.component-theme.scss diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/feature/access-policies.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/feature/access-policies.component.html index 46839dc1d7..e0d211888d 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/feature/access-policies.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/feature/access-policies.component.html @@ -20,7 +20,7 @@
-

Access Policies

+

Access Policies

diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/common/add-tenant-to-policy-dialog/add-tenant-to-policy-dialog.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/common/add-tenant-to-policy-dialog/add-tenant-to-policy-dialog.component.html index ad87780129..69a1973ce1 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/common/add-tenant-to-policy-dialog/add-tenant-to-policy-dialog.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/common/add-tenant-to-policy-dialog/add-tenant-to-policy-dialog.component.html @@ -36,14 +36,14 @@ @for (userGroup of filteredUserGroups; track userGroup) { - {{ userGroup.component.identity }} + {{ userGroup.component.identity }} }
} @if (filteredUsers.length === 0 && filteredUserGroups.length === 0) { -
All users and groups are assigned to this policy.
+
All users and groups are assigned to this policy.
} @if ({ value: (saving$ | async)! }; as saving) { diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/common/policy-table/policy-table.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/common/policy-table/policy-table.component.html index 60fe975412..c515f49795 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/common/policy-table/policy-table.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/common/policy-table/policy-table.component.html @@ -29,7 +29,7 @@ User @if (item.tenantType === 'userGroup') { - + } {{ item.user }} @@ -40,7 +40,10 @@
@if (canRemove()) { -
+
}
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/component-access-policies/_component-access-policies.component-theme.scss b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/component-access-policies/_component-access-policies.component-theme.scss deleted file mode 100644 index dccef6865d..0000000000 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/component-access-policies/_component-access-policies.component-theme.scss +++ /dev/null @@ -1,33 +0,0 @@ -/*! - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@use 'sass:map'; -@use '@angular/material' as mat; -@use '../../../../../assets/utils.scss' as utils; - -@mixin generate-theme($nifi-theme) { - // Get the color config from the theme. - $nifi-theme-color-config: mat.get-color-config($nifi-theme); - - $on-surface: utils.get-on-surface($nifi-theme-color-config); - - .component-access-policies { - .operation-context-name { - color: $on-surface; - } - } -} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/component-access-policies/component-access-policies.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/component-access-policies/component-access-policies.component.html index 8c706bde44..e32c4d5f87 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/component-access-policies/component-access-policies.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/component-access-policies/component-access-policies.component.html @@ -24,7 +24,7 @@ @if (policyComponentState$ | async; as policyComponentState) { @if (flowConfiguration$ | async; as flowConfiguration) {
-
+
@switch (accessPolicyState.policyStatus) { @case (PolicyStatus.NotFound) { @@ -57,11 +57,13 @@
-
{{ policyComponentState.label }}
-
+
+ {{ policyComponentState.label }} +
+
{{ getContextType() }}
@@ -93,6 +95,7 @@
Last updated:
-
+
{{ accessPolicyState.loadedTimestamp }}
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/global-access-policies/global-access-policies.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/global-access-policies/global-access-policies.component.html index 751d17d645..77f8a8bc02 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/global-access-policies/global-access-policies.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/global-access-policies/global-access-policies.component.html @@ -23,7 +23,7 @@ } @else { @if (flowConfiguration$ | async; as flowConfiguration) {
-
+
@switch (accessPolicyState.policyStatus) { @case (PolicyStatus.NotFound) { @@ -109,6 +109,7 @@
Last updated:
-
+
{{ accessPolicyState.loadedTimestamp }}
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/bulletins/feature/bulletins.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/bulletins/feature/bulletins.component.html index ae982b948c..dc47c52572 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/bulletins/feature/bulletins.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/bulletins/feature/bulletins.component.html @@ -20,7 +20,7 @@
-

NiFi Bulletin Board

+

NiFi Bulletin Board

diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/bulletins/ui/bulletin-board/bulletin-board.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/bulletins/ui/bulletin-board/bulletin-board.component.html index dd13917d86..634734e00b 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/bulletins/ui/bulletin-board/bulletin-board.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/bulletins/ui/bulletin-board/bulletin-board.component.html @@ -34,11 +34,14 @@ >Auto-refresh
-
Last updated:
-
+
{{ bulletinBoardState.loadedTimestamp }}
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/counters/feature/counters.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/counters/feature/counters.component.html index 44c2c316e1..0d901ec5c8 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/counters/feature/counters.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/counters/feature/counters.component.html @@ -20,7 +20,7 @@
-

NiFi Counters

+

NiFi Counters

diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/counters/ui/counter-listing/counter-listing.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/counters/ui/counter-listing/counter-listing.component.html index c6401a2d99..2720d7b7ee 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/counters/ui/counter-listing/counter-listing.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/counters/ui/counter-listing/counter-listing.component.html @@ -32,11 +32,11 @@ }
-
Last updated:
-
+
{{ counterListingState.loadedTimestamp }}
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/counters/ui/counter-listing/counter-table/counter-table.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/counters/ui/counter-listing/counter-table/counter-table.component.html index f5cf411edd..6d3424f6cb 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/counters/ui/counter-listing/counter-table/counter-table.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/counters/ui/counter-listing/counter-table/counter-table.component.html @@ -16,7 +16,7 @@ -->
-
Displaying {{ filteredCount }} of {{ totalCount }}
+
Displaying {{ filteredCount }} of {{ totalCount }}
@@ -77,7 +77,7 @@
@if (canModifyCounters) {
} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-configuration-history/feature/flow-configuration-history.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-configuration-history/feature/flow-configuration-history.component.html index 94a8c1b9d0..b597529906 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-configuration-history/feature/flow-configuration-history.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-configuration-history/feature/flow-configuration-history.component.html @@ -20,7 +20,7 @@
-

Flow Configuration History

+

Flow Configuration History

diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-configuration-history/ui/flow-configuration-history-listing/action-details/action-details.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-configuration-history/ui/flow-configuration-history-listing/action-details/action-details.component.html index 78477bc912..d975353a11 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-configuration-history/ui/flow-configuration-history-listing/action-details/action-details.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-configuration-history/ui/flow-configuration-history-listing/action-details/action-details.component.html @@ -22,7 +22,7 @@
Id
-
{{ actionEntity.sourceId }}
+
{{ actionEntity.sourceId }}
@if (actionEntity.action; as action) { @@ -197,9 +197,9 @@
Empty string set
} @else { @if (title == null) { -
{{ value }}
+
{{ value }}
} @else { -
+
{{ value }}
} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-configuration-history/ui/flow-configuration-history-listing/flow-configuration-history-listing.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-configuration-history/ui/flow-configuration-history-listing/flow-configuration-history-listing.component.html index 823eb23833..ab130b8092 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-configuration-history/ui/flow-configuration-history-listing/flow-configuration-history-listing.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-configuration-history/ui/flow-configuration-history-listing/flow-configuration-history-listing.component.html @@ -93,7 +93,7 @@
@if ((currentUser$ | async)?.controllerPermissions?.canWrite) {
-
@@ -111,11 +111,11 @@
-
Last updated:
-
{{ state.loadedTimestamp }}
+
{{ state.loadedTimestamp }}
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-configuration-history/ui/flow-configuration-history-listing/flow-configuration-history-table/flow-configuration-history-table.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-configuration-history/ui/flow-configuration-history-listing/flow-configuration-history-table/flow-configuration-history-table.component.html index 50e6381b92..e9e8b664d8 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-configuration-history/ui/flow-configuration-history-listing/flow-configuration-history-table/flow-configuration-history-table.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-configuration-history/ui/flow-configuration-history-listing/flow-configuration-history-table/flow-configuration-history-table.component.html @@ -32,7 +32,7 @@
@if (canRead(item)) {
} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/canvas-utils.service.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/canvas-utils.service.ts index dbb8522542..dd838697ed 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/canvas-utils.service.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/canvas-utils.service.ts @@ -1265,7 +1265,7 @@ export class CanvasUtils { if (terminatedThreads > 0) { return `active-thread-count-icon mat-warn`; } else { - return `active-thread-count-icon mat-primary`; + return `active-thread-count-icon primary-color`; } }) .style('display', 'block') diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/port-manager.service.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/port-manager.service.ts index 10af874e2b..553c516994 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/port-manager.service.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/port-manager.service.ts @@ -386,7 +386,7 @@ export class PortManager { updated .select('text.run-status-icon') .attr('class', function (d: any) { - let clazz = 'mat-primary'; + let clazz = 'primary-color'; if (d.status.aggregateSnapshot.runStatus === 'Invalid') { clazz = 'invalid'; @@ -452,7 +452,7 @@ export class PortManager { .classed('transmitting nifi-success-default', function (d: any) { return d.status.transmitting === true; }) - .classed('not-transmitting', function (d: any) { + .classed('not-transmitting primary-color', function (d: any) { return d.status.transmitting !== true; }); diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/process-group-manager.service.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/process-group-manager.service.ts index 007204cda1..8883e49119 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/process-group-manager.service.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/process-group-manager.service.ts @@ -738,7 +738,7 @@ export class ProcessGroupManager { .classed('nifi-success-default', function (d: any) { return d.permissions.canRead && d.activeRemotePortCount > 0; }) - .classed('zero', function (d: any) { + .classed('zero primary-color-lighter', function (d: any) { return d.permissions.canRead && d.activeRemotePortCount === 0; }); const transmittingCount = details @@ -759,10 +759,10 @@ export class ProcessGroupManager { // update not transmitting const notTransmitting = details .select('text.process-group-not-transmitting') - .classed('not-transmitting', function (d: any) { + .classed('not-transmitting primary-color', function (d: any) { return d.permissions.canRead && d.inactiveRemotePortCount > 0; }) - .classed('zero', function (d: any) { + .classed('zero primary-color-lighter', function (d: any) { return d.permissions.canRead && d.inactiveRemotePortCount === 0; }) .attr('x', function () { @@ -794,7 +794,7 @@ export class ProcessGroupManager { .classed('nifi-success-lighter', function (d: any) { return d.permissions.canRead && d.component.runningCount > 0; }) - .classed('zero', function (d: any) { + .classed('zero primary-color-lighter', function (d: any) { return d.permissions.canRead && d.component.runningCount === 0; }) .attr('x', function () { @@ -826,7 +826,7 @@ export class ProcessGroupManager { .classed('nifi-warn-lighter', function (d: any) { return d.permissions.canRead && d.component.stoppedCount > 0; }) - .classed('zero', function (d: any) { + .classed('zero primary-color-lighter', function (d: any) { return d.permissions.canRead && d.component.stoppedCount === 0; }) .attr('x', function () { @@ -858,7 +858,7 @@ export class ProcessGroupManager { .classed('invalid', function (d: any) { return d.permissions.canRead && d.component.invalidCount > 0; }) - .classed('zero', function (d: any) { + .classed('zero primary-color-lighter', function (d: any) { return d.permissions.canRead && d.component.invalidCount === 0; }) .attr('x', function () { @@ -890,7 +890,7 @@ export class ProcessGroupManager { .classed('disabled', function (d: any) { return d.permissions.canRead && d.component.disabledCount > 0; }) - .classed('zero', function (d: any) { + .classed('zero primary-color-lighter', function (d: any) { return d.permissions.canRead && d.component.disabledCount === 0; }) .attr('x', function () { @@ -922,7 +922,7 @@ export class ProcessGroupManager { .classed('nifi-success-default', function (d: any) { return d.permissions.canRead && d.component.upToDateCount > 0; }) - .classed('zero', function (d: any) { + .classed('zero primary-color-lighter', function (d: any) { return d.permissions.canRead && d.component.upToDateCount === 0; }); const upToDateCount = details @@ -946,7 +946,7 @@ export class ProcessGroupManager { .classed('nifi-surface-default', function (d: any) { return d.permissions.canRead && d.component.locallyModifiedCount > 0; }) - .classed('zero', function (d: any) { + .classed('zero primary-color-lighter', function (d: any) { return d.permissions.canRead && d.component.locallyModifiedCount === 0; }) .attr('x', function () { @@ -978,7 +978,7 @@ export class ProcessGroupManager { .classed('nifi-warn-lighter', function (d: any) { return d.permissions.canRead && d.component.staleCount > 0; }) - .classed('zero', function (d: any) { + .classed('zero primary-color-lighter', function (d: any) { return d.permissions.canRead && d.component.staleCount === 0; }) .attr('x', function () { @@ -1010,7 +1010,7 @@ export class ProcessGroupManager { .classed('nifi-warn-lighter', function (d: any) { return d.permissions.canRead && d.component.locallyModifiedAndStaleCount > 0; }) - .classed('zero', function (d: any) { + .classed('zero primary-color-lighter', function (d: any) { return d.permissions.canRead && d.component.locallyModifiedAndStaleCount === 0; }) .attr('x', function () { @@ -1044,7 +1044,7 @@ export class ProcessGroupManager { .classed('nifi-surface-default', function (d: any) { return d.permissions.canRead && d.component.syncFailureCount > 0; }) - .classed('zero', function (d: any) { + .classed('zero primary-color-lighter', function (d: any) { return d.permissions.canRead && d.component.syncFailureCount === 0; }) .attr('x', function () { diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/processor-manager.service.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/processor-manager.service.ts index dc05a35530..6f293fe89a 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/processor-manager.service.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/processor-manager.service.ts @@ -670,7 +670,7 @@ export class ProcessorManager { updated .select('text.run-status-icon') .attr('class', function (d: any) { - let clazz = 'mat-primary'; + let clazz = 'primary-color'; if (d.status.aggregateSnapshot.runStatus === 'Validating') { clazz = 'validating nifi-surface-default'; diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/remote-process-group-manager.service.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/remote-process-group-manager.service.ts index 69e5cd58f5..343628f52e 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/remote-process-group-manager.service.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/service/manager/remote-process-group-manager.service.ts @@ -616,7 +616,7 @@ export class RemoteProcessGroupManager { .classed('transmitting nifi-success-default', function (d: any) { return !self.hasIssues(d) && d.status.transmissionStatus === 'Transmitting'; }) - .classed('not-transmitting', function (d: any) { + .classed('not-transmitting primary-color', function (d: any) { return !self.hasIssues(d) && d.status.transmissionStatus !== 'Transmitting'; }) .each(function (this: any, d: any) { diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/_canvas.component-theme.scss b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/_canvas.component-theme.scss index 4db62a0826..066c78eba4 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/_canvas.component-theme.scss +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/_canvas.component-theme.scss @@ -441,10 +441,6 @@ stroke: $nifi-theme-success-palette-A700; } - text.process-group-contents-icon { - fill: $material-theme-primary-palette-default; - } - /* remote process group */ rect.remote-process-group-stats-border { diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/footer/_footer.component-theme.scss b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/footer/_footer.component-theme.scss index 9a84ed3e99..8a72fa993b 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/footer/_footer.component-theme.scss +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/footer/_footer.component-theme.scss @@ -29,13 +29,11 @@ // Get hues from palette $nifi-theme-surface-palette-A200: mat.get-color-from-palette($nifi-theme-surface-palette, 'A200'); $surface: utils.get-surface($nifi-theme-color-config); - $on-surface: utils.get-on-surface($nifi-theme-color-config); $on-surface-lighter: utils.get-on-surface($nifi-theme-color-config, lighter); .breadcrumb-container { box-shadow: 0 1px 6px $nifi-theme-surface-palette-A200; background-color: $surface; border-top: 1px solid $on-surface-lighter; - color: $on-surface; } } diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/footer/footer.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/footer/footer.component.html index ad39551472..c09de72fa9 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/footer/footer.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/footer/footer.component.html @@ -16,7 +16,7 @@ -->