From ac458d0daac08d9ed8b224ae7a9e549e4ebb14de Mon Sep 17 00:00:00 2001 From: Prabhat Khera <91852476+prabhat-org@users.noreply.github.com> Date: Mon, 23 Jan 2023 10:15:47 +1300 Subject: [PATCH] fix(ui): tooltip link color EE-4914 (#8365) --- app/assets/css/theme.css | 1 + .../git-form-auto-update-fieldset.html | 2 +- .../Tip/TooltipWithChildren/TooltipWithChildren.module.css | 4 ++++ .../Tip/TooltipWithChildren/TooltipWithChildren.tsx | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/assets/css/theme.css b/app/assets/css/theme.css index e4f6cf70e..732b4b41b 100644 --- a/app/assets/css/theme.css +++ b/app/assets/css/theme.css @@ -72,6 +72,7 @@ --blue-11: #3ea5ff; --blue-12: #41a6ff; --blue-14: #357ebd; + --blue-15: #36bffa; --red-1: #a94442; --red-2: #c7254e; diff --git a/app/portainer/components/forms/git-form/git-form-auto-update-fieldset/git-form-auto-update-fieldset.html b/app/portainer/components/forms/git-form/git-form-auto-update-fieldset/git-form-auto-update-fieldset.html index bc8aa28c9..eb8747b87 100644 --- a/app/portainer/components/forms/git-form/git-form-auto-update-fieldset/git-form-auto-update-fieldset.html +++ b/app/portainer/components/forms/git-form/git-form-auto-update-fieldset/git-form-auto-update-fieldset.html @@ -45,7 +45,7 @@ Webhook diff --git a/app/react/components/Tip/TooltipWithChildren/TooltipWithChildren.module.css b/app/react/components/Tip/TooltipWithChildren/TooltipWithChildren.module.css index 184493b8b..5232cbf69 100644 --- a/app/react/components/Tip/TooltipWithChildren/TooltipWithChildren.module.css +++ b/app/react/components/Tip/TooltipWithChildren/TooltipWithChildren.module.css @@ -25,6 +25,10 @@ font-size: 12px !important; } +.tooltip-message a { + color: var(--blue-15) !important; +} + .tooltip-heading { font-weight: 500; } diff --git a/app/react/components/Tip/TooltipWithChildren/TooltipWithChildren.tsx b/app/react/components/Tip/TooltipWithChildren/TooltipWithChildren.tsx index 853ad779c..978224c6b 100644 --- a/app/react/components/Tip/TooltipWithChildren/TooltipWithChildren.tsx +++ b/app/react/components/Tip/TooltipWithChildren/TooltipWithChildren.tsx @@ -54,7 +54,7 @@ export function TooltipWithChildren({ )} )} -
{message}
+
{message}
);