From 8f324b942b41f94d16eea157d8fd38d7f02e459b Mon Sep 17 00:00:00 2001 From: Marcos Alconada Date: Mon, 10 May 2021 09:16:19 +0000 Subject: [PATCH] fixed visual error black theme event modal --- pandora_console/include/functions_events.php | 16 +++++++++------- pandora_console/include/styles/pandora_black.css | 3 +++ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index e36e2f16e3..1f838f34ba 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -4318,10 +4318,6 @@ function events_page_details($event, $server='') $table_class = 'table_modal_alternate'; - if ($config['style'] === 'pandora_black') { - $table_class = 'black_table_modal_alternate'; - } - // Details. $table_details = new stdClass; $table_details->width = '100%'; @@ -4526,7 +4522,7 @@ function events_page_details($event, $server='') $link = "winopeng_var('".$url.'?'.$graph_params_str."','".$win_handle."', 800, 480)"; $data[1] = ''; - $data[1] .= html_print_image('images/chart_curve.png', true); + $data[1] .= html_print_image('images/chart_curve.png', true, ['class' => 'invert_filter']); $data[1] .= ''; $table_details->data[] = $data; } @@ -4546,13 +4542,19 @@ function events_page_details($event, $server='') $data[1] .= html_print_image( 'images/bell.png', true, - ['title' => __('Go to data overview')] + [ + 'title' => __('Go to data overview'), + 'class' => 'invert_filter', + ] ); } else { $data[1] .= html_print_image( 'images/bell_pause.png', true, - ['title' => __('Go to data overview')] + [ + 'title' => __('Go to data overview'), + 'class' => 'invert_filter', + ] ); } diff --git a/pandora_console/include/styles/pandora_black.css b/pandora_console/include/styles/pandora_black.css index 49d669fd0d..b3342794cf 100644 --- a/pandora_console/include/styles/pandora_black.css +++ b/pandora_console/include/styles/pandora_black.css @@ -1000,3 +1000,6 @@ table.databox { .tactical_set { border-color: #707070; } +li.ui-tabs-tab.ui-corner-top.ui-state-default.ui-tab { + border: 1px solid #707070; +}