From f813e211cb3446f10e9c32b785a3b3ae71e371c8 Mon Sep 17 00:00:00 2001
From: enriquecd <enrique.camargo@artica.com>
Date: Fri, 30 Jun 2017 10:49:22 +0200
Subject: [PATCH] Change pandorin dialog font color with black theme / 6 -
 #1061

---
 pandora_console/include/help/clippy/homepage.php | 4 ++--
 pandora_console/include/styles/pandora_black.css | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/pandora_console/include/help/clippy/homepage.php b/pandora_console/include/help/clippy/homepage.php
index 8ba7ac2f57..be52096875 100644
--- a/pandora_console/include/help/clippy/homepage.php
+++ b/pandora_console/include/help/clippy/homepage.php
@@ -55,12 +55,12 @@ function clippy_start_page_homepage() {
 	$return_tours['tours']['homepage']['steps'][] = array(
 		'element'=> '#clippy',
 		'intro' => 
-			'<div style="text-align: left; padding-left: 20px; padding-right: 20px;">'.
+			'<div class="clippy_body" style="text-align: left; padding-left: 20px; padding-right: 20px;">'.
 			__('Hi, can I help you?') . '<br/><br/>' .
 			__('Let me introduce my self: I am Pandorin, the annoying assistant of Pandora FMS. You can follow my steps to do basic tasks in Pandora FMS or you can close me and never see me again.') .
 			'<br /> ' .
 			'<br /> ' .
-			'<div style="font-size: 7pt;">' .
+			'<div class="clippy_body" style="font-size: 7pt;">' .
 				html_print_checkbox_extended
 					('clippy_is_annoying', 1, $clippy_is_annoying, false,
 					'set_clippy_annoying()', '', true) .
diff --git a/pandora_console/include/styles/pandora_black.css b/pandora_console/include/styles/pandora_black.css
index 2514e01abb..df3c7e8b19 100644
--- a/pandora_console/include/styles/pandora_black.css
+++ b/pandora_console/include/styles/pandora_black.css
@@ -2892,6 +2892,10 @@ table#policy_modules td * {
 	border-top-right-radius: 2px;
 }
 
+.clippy_body {
+	color: black;
+}
+
 #dialog-double_auth-container {
 	width: 100%;
 	text-align: center;