diff --git a/pandora_console/include/graphs/functions_flot.php b/pandora_console/include/graphs/functions_flot.php index 04d668a6b9..e0d318e2b1 100644 --- a/pandora_console/include/graphs/functions_flot.php +++ b/pandora_console/include/graphs/functions_flot.php @@ -118,6 +118,7 @@ function flot_area_graph( $array_events_alerts ) { global $config; + global $is_mobile; // Get a unique identifier to graph. $graph_id = uniqid('graph_'); @@ -145,7 +146,7 @@ function flot_area_graph( break; } - if ($config['style'] === 'pandora_black' && ($params['pdf'] === false || $params['pdf'] === null ) + if ($config['style'] === 'pandora_black' && ($params['pdf'] === false || $params['pdf'] === null) && (isset($is_mobile) === false || $is_mobile === false) ) { $background_style = '#222'; $params['grid_color'] = '#fff'; diff --git a/pandora_console/mobile/include/style/main.css b/pandora_console/mobile/include/style/main.css index 17188f60bc..f9a1ac86f4 100755 --- a/pandora_console/mobile/include/style/main.css +++ b/pandora_console/mobile/include/style/main.css @@ -1,3 +1,37 @@ +/** + * + * Default mobile theme + * + * @category Stylesheet + * @package Pandora FMS + * @subpackage Community + * @version 1.0.0 + * @license See below + * + * ______ ___ _______ _______ ________ + * | __ \.-----.--.--.--| |.-----.----.-----. | ___| | | __| + * | __/| _ | | _ || _ | _| _ | | ___| |__ | + * |___| |___._|__|__|_____||_____|__| |___._| |___| |__|_|__|_______| + * + * ============================================================================ + * Copyright (c) 2005-2021 Artica Soluciones Tecnologicas + * Please see http://pandorafms.org for full contribution list + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation for version 2. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * ============================================================================ + */ + +@font-face { + font-family: "lato"; + src: url("../../../fonts/lato.woff2") format("woff"); + font-weight: 400; +} + * { text-decoration: none !important; font-size: 12px; @@ -11,6 +45,8 @@ body { margin: 0; text-align: left; vertical-align: top; + font-weight: 400; + font-family: "Lato"; } .small {