From b60f32a25b0c6baeb72a1ee6793c529283d85ad7 Mon Sep 17 00:00:00 2001
From: Ali <83188384+testA113@users.noreply.github.com>
Date: Sun, 24 Sep 2023 19:56:18 +0100
Subject: [PATCH] fix(be-teaser): mute styles [EE-6035] (#10350)
---
app/assets/css/theme.css | 6 +-
.../BEFeatureIndicator.html | 2 +-
.../porAccessManagementController.js | 2 +-
.../oauth-settings/oauth-settings.html | 202 ++++++++-----
app/portainer/react/components/index.ts | 3 +-
.../ldap/ad-settings/ad-settings.html | 7 +-
.../ldap-custom-admin-group.html | 124 ++++----
.../ldap-group-search-item.html | 150 +++++-----
.../ldap-settings-openldap.html | 7 +-
.../ldap-user-search-item.html | 176 ++++++-----
.../activity-logs-view.html | 14 +-
.../auth-logs-view/auth-logs-view.html | 14 +-
.../BEFeatureIndicator/BEFeatureIndicator.css | 10 +-
.../BEFeatureIndicator/BEFeatureIndicator.tsx | 6 +-
.../BEFeatureIndicator/BEOverlay.tsx | 17 +-
app/react/components/BETeaserButton.tsx | 8 +-
.../BoxSelector/BoxSelectorItem.module.css | 8 +-
.../BoxSelector/BoxSelectorItem.tsx | 13 +-
.../LimitedToBeBoxSelectorIndicator.tsx | 30 ++
.../BoxSelector/LimitedToBeIndicator.tsx | 37 ---
app/react/components/Tip/Tooltip/Tooltip.tsx | 31 +-
.../TooltipWithChildren.module.css | 6 +-
.../TooltipWithChildren.tsx | 2 +-
.../annotations/AnnotationsBeTeaser.tsx | 3 -
.../RestartApplicationButton.tsx | 3 -
.../WizardKubernetes/KubeConfigTeaserForm.tsx | 2 +-
.../WizardKubernetes/WizardKubernetes.tsx | 11 +-
.../portainer/feature-flags/feature-flags.css | 34 +--
.../BackupSettingsView/BackupS3Form.tsx | 277 +++++++++---------
.../settings/SettingsView/HelmCertPanel.tsx | 2 +-
.../UpgradeBEBanner/UpgradeBEBanner.tsx | 3 +-
31 files changed, 599 insertions(+), 611 deletions(-)
create mode 100644 app/react/components/BoxSelector/LimitedToBeBoxSelectorIndicator.tsx
delete mode 100644 app/react/components/BoxSelector/LimitedToBeIndicator.tsx
diff --git a/app/assets/css/theme.css b/app/assets/css/theme.css
index 68e4d1a00..87be93bc0 100644
--- a/app/assets/css/theme.css
+++ b/app/assets/css/theme.css
@@ -87,7 +87,7 @@
--orange-1: #e86925;
- --BE-only: var(--ui-warning-7);
+ --BE-only: var(--ui-gray-6);
--text-log-viewer-color-json-grey: var(--text-log-viewer-color);
--text-log-viewer-color-json-magenta: var(--text-log-viewer-color);
@@ -259,8 +259,7 @@
/* Dark Theme */
[theme='dark'] {
- --BE-only: var(--ui-blue-8);
- --bg-BE-only: rgba(225, 223, 223, 0.08);
+ --BE-only: var(--ui-gray-6);
--text-log-viewer-color-json-grey: var(--text-log-viewer-color);
--text-log-viewer-color-json-magenta: var(--text-log-viewer-color);
@@ -434,6 +433,7 @@
/* High Contrast Theme */
[theme='highcontrast'] {
+ --BE-only: var(--ui-gray-6);
--text-log-viewer-color-json-grey: var(--text-log-viewer-color);
--text-log-viewer-color-json-magenta: var(--text-log-viewer-color);
--text-log-viewer-color-json-yellow: var(--text-log-viewer-color);
diff --git a/app/portainer/components/BEFeatureIndicator/BEFeatureIndicator.html b/app/portainer/components/BEFeatureIndicator/BEFeatureIndicator.html
index 4637e8b3f..64a23c125 100644
--- a/app/portainer/components/BEFeatureIndicator/BEFeatureIndicator.html
+++ b/app/portainer/components/BEFeatureIndicator/BEFeatureIndicator.html
@@ -1,5 +1,5 @@