From 4394314a20792329d55aba5643fcefa7794588f4 Mon Sep 17 00:00:00 2001 From: Anton Dosov Date: Tue, 6 Oct 2020 13:15:32 +0200 Subject: [PATCH 1/2] Add strike-through line for disable filter in warning state --- src/plugins/data/public/ui/filter_bar/_global_filter_item.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/data/public/ui/filter_bar/_global_filter_item.scss b/src/plugins/data/public/ui/filter_bar/_global_filter_item.scss index 73ec14de82b43..716abc3152b2f 100644 --- a/src/plugins/data/public/ui/filter_bar/_global_filter_item.scss +++ b/src/plugins/data/public/ui/filter_bar/_global_filter_item.scss @@ -33,14 +33,13 @@ } .globalFilterItem-isError, .globalFilterItem-isWarning { - text-decoration: none; - .globalFilterLabel__value { font-weight: $euiFontWeightBold; } } .globalFilterItem-isError { + text-decoration: none; .globalFilterLabel__value { color: makeHighContrastColor($euiColorDangerText, $euiColorLightShade); } From cc9b628da7f0c8b94dd4b7fd83b94e68573a8f1d Mon Sep 17 00:00:00 2001 From: Anton Dosov Date: Wed, 7 Oct 2020 12:02:01 +0200 Subject: [PATCH 2/2] the strikethrough for all disabled pills no matter the error/warning states --- src/plugins/data/public/ui/filter_bar/_global_filter_item.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/data/public/ui/filter_bar/_global_filter_item.scss b/src/plugins/data/public/ui/filter_bar/_global_filter_item.scss index 716abc3152b2f..b79b7c038f9cc 100644 --- a/src/plugins/data/public/ui/filter_bar/_global_filter_item.scss +++ b/src/plugins/data/public/ui/filter_bar/_global_filter_item.scss @@ -39,7 +39,6 @@ } .globalFilterItem-isError { - text-decoration: none; .globalFilterLabel__value { color: makeHighContrastColor($euiColorDangerText, $euiColorLightShade); }