From 3f09fd16a757e678756334ea92b480239b063a21 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 16 Mar 2023 18:51:54 +0100 Subject: [PATCH] fixed styles --- pandora_console/godmode/setup/os.builder.php | 2 +- pandora_console/godmode/setup/os.list.php | 2 +- pandora_console/include/class/TipsWindow.class.php | 5 ++++- pandora_console/include/styles/pandora.css | 6 +++--- pandora_console/include/styles/tables.css | 9 ++++----- pandora_console/index.php | 2 -- pandora_console/operation/agentes/status_monitor.php | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/pandora_console/godmode/setup/os.builder.php b/pandora_console/godmode/setup/os.builder.php index f54eea5834..4c79ae4c07 100644 --- a/pandora_console/godmode/setup/os.builder.php +++ b/pandora_console/godmode/setup/os.builder.php @@ -55,7 +55,7 @@ $iconData[] = html_print_select( $iconData[] = html_print_div( [ 'id' => 'icon_image', - 'class' => 'inverse_filter main_menu_icon', + 'class' => 'invert_filter main_menu_icon', 'style' => 'margin-left: 10px', 'content' => ui_print_os_icon($idOS, false, true), ], diff --git a/pandora_console/godmode/setup/os.list.php b/pandora_console/godmode/setup/os.list.php index 2ae5096893..96223e8d09 100644 --- a/pandora_console/godmode/setup/os.list.php +++ b/pandora_console/godmode/setup/os.list.php @@ -133,7 +133,7 @@ foreach ($osList as $os) { $data[] = html_print_anchor( [ 'href' => $hrefDelete, - 'class' => 'inverse_filter main_menu_icon', + 'class' => 'invert_filter main_menu_icon', 'content' => html_print_image('images/delete.svg', true), ], true diff --git a/pandora_console/include/class/TipsWindow.class.php b/pandora_console/include/class/TipsWindow.class.php index 34e9ce3e27..81b3c92017 100644 --- a/pandora_console/include/class/TipsWindow.class.php +++ b/pandora_console/include/class/TipsWindow.class.php @@ -121,7 +121,10 @@ class TipsWindow } ui_require_css_file('tips_window'); - ui_require_css_file('pandora_black'); + if ($config['style'] === 'pandora_black' && is_metaconsole() === false) { + ui_require_css_file('pandora_black'); + } + ui_require_css_file('jquery.bxslider'); ui_require_javascript_file('tipsWindow'); ui_require_javascript_file('jquery.bxslider.min'); diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 862bc3d1ef..6516f34890 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -1423,7 +1423,7 @@ div#menu_container { div#menu { width: 45px; float: left; - z-index: 2; + z-index: 3; position: absolute; } @@ -1438,7 +1438,7 @@ div#head { min-width: 882px; background-color: #fff; color: #000; - z-index: 2; + z-index: 3; } .fixed_header { @@ -1795,7 +1795,7 @@ div.title_line { #menu_tab_frame_view_bc { position: sticky; top: 61px; - z-index: 1; + z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; diff --git a/pandora_console/include/styles/tables.css b/pandora_console/include/styles/tables.css index b4b4719088..4b13a2cd60 100644 --- a/pandora_console/include/styles/tables.css +++ b/pandora_console/include/styles/tables.css @@ -236,7 +236,8 @@ .table_action_buttons > a, .table_action_buttons > img, .table_action_buttons > button, -.table_action_buttons > form { +.table_action_buttons > form, +.table_action_buttons > div { visibility: hidden; } .info_table > tbody > tr:hover { @@ -248,7 +249,8 @@ .info_table > tbody > tr:hover .table_action_buttons > a, .info_table > tbody > tr:hover .table_action_buttons > img, .info_table > tbody > tr:hover .table_action_buttons > button, -.info_table > tbody > tr:hover .table_action_buttons > form { +.info_table > tbody > tr:hover .table_action_buttons > form, +.info_table > tbody > tr:hover .table_action_buttons > div { visibility: visible; } @@ -460,9 +462,6 @@ a.pandora_pagination.current:hover { .table_action_buttons input[type="image"], .action_button_img { border-radius: 4px; - /*border: 1px solid #dcdcdc !important;*/ - padding: 1px !important; - /*box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);*/ } /* This class is for only one icon to be a button type. */ diff --git a/pandora_console/index.php b/pandora_console/index.php index 9ba2482a85..441bcc63fa 100755 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -1522,8 +1522,6 @@ require 'include/php_to_js_values.php';