diff --git a/pandora_console/include/styles/dashboards.css b/pandora_console/include/styles/dashboards.css index 00a780be6d..fb53e37c35 100644 --- a/pandora_console/include/styles/dashboards.css +++ b/pandora_console/include/styles/dashboards.css @@ -450,7 +450,8 @@ li#search_input_widget { } div#dashboard-controls-slides { - width: 720px !important; + min-width: 720px; + text-wrap: nowrap; } div#dashboard-controls, diff --git a/pandora_console/include/styles/pandora_black.css b/pandora_console/include/styles/pandora_black.css index 80032efbb7..0d759395b8 100644 --- a/pandora_console/include/styles/pandora_black.css +++ b/pandora_console/include/styles/pandora_black.css @@ -1892,3 +1892,14 @@ a.link-bold { text-decoration: none; font-weight: bold; } + +div#dashboard-controls-slides { + background-color: #333; +} + +div#dashboard-controls-slides + .select2-container + .select2-selection--single + .select2-selection__rendered { + color: var(--text-color) !important; +} diff --git a/pandora_console/views/dashboard/slides.php b/pandora_console/views/dashboard/slides.php index eda18b0000..5c869fbdde 100644 --- a/pandora_console/views/dashboard/slides.php +++ b/pandora_console/views/dashboard/slides.php @@ -200,7 +200,10 @@ $output .= ''; $output .= html_print_image( 'images/control_prev.png', true, - ['title' => __('Previous')] + [ + 'title' => __('Previous'), + 'class' => 'invert_filter', + ] ); $output .= ''; $output .= ''; @@ -215,7 +218,10 @@ $output .= ''; $output .= html_print_image( 'images/control_stop.png', true, - ['title' => __('Stop')] + [ + 'title' => __('Stop'), + 'class' => 'invert_filter', + ] ); $output .= ''; $output .= ''; @@ -226,7 +232,10 @@ $output .= ''; $output .= html_print_image( 'images/control_pause.png', true, - ['title' => __('Pause')] + [ + 'title' => __('Pause'), + 'class' => 'invert_filter', + ] ); $output .= ''; $output .= ''; @@ -237,7 +246,10 @@ $output .= ''; $output .= html_print_image( 'images/control_next.png', true, - ['title' => __('Next')] + [ + 'title' => __('Next'), + 'class' => 'invert_filter', + ] ); $output .= ''; $output .= ''; @@ -249,14 +261,20 @@ if ($cellModeSlides === 0) { $output .= html_print_image( 'images/visual_console.png', true, - ['title' => __('Boxed mode')] + [ + 'title' => __('Boxed mode'), + 'class' => 'invert_filter', + ] ); $msg_tooltip = __('This mode will show the dashboard with all the widgets in the screen. Click to change to single screen mode.'); } else { $output .= html_print_image( 'images/dashboard.png', true, - ['title' => __('Single screen')] + [ + 'title' => __('Single screen'), + 'class' => 'invert_filter', + ] ); $msg_tooltip = __('This mode will show each widget in a screen, rotating between elements in each dashboard. Click to change to boxed mode.'); } @@ -275,5 +293,11 @@ $output .= '
'.$name.'
'; $output .= ''; $output .= ''; +$output .= ' + +'; echo $output;