fixed styles

This commit is contained in:
daniel 2023-03-22 11:13:56 +01:00
parent 6e8eb9800f
commit 5eaa4a10bb
4 changed files with 48 additions and 25 deletions

View File

@ -866,7 +866,6 @@ if ($agents !== false) {
// Operating System icon column.
$osIconColumn = html_print_div(
[
'class' => 'main_menu_icon invert_filter',
'content' => ui_print_os_icon($agent['id_os'], false, true),
],
true
@ -885,7 +884,6 @@ if ($agents !== false) {
// Group icon and name column.
$agentGroupIconColumn = html_print_div(
[
'class' => 'main_menu_icon invert_filter',
'content' => ui_print_group_icon($agent['id_grupo'], true),
],
true

View File

@ -959,15 +959,39 @@ function ui_print_type_agent_icon(
if ((int) $id_os === SATELLITE_OS_ID) {
// Satellite.
$options['title'] = __('Satellite');
$output = html_print_image('images/satellite@os.svg', true, ['class' => 'main_menu_icon invert_filter'], false, false, false, true);
$output = html_print_image(
'images/satellite@os.svg',
true,
['class' => 'main_menu_icon invert_filter'],
false,
false,
false,
true
);
} else if ($remote_contact === $contact && $remote === 0 && empty($version) === true) {
// Network.
$options['title'] = __('Network');
$output = html_print_image('images/network-server@os.svg', true, ['class' => 'main_menu_icon invert_filter'], false, false, false, true);
$output = html_print_image(
'images/network-server@os.svg',
true,
['class' => 'main_menu_icon invert_filter'],
false,
false,
false,
true
);
} else {
// Software.
$options['title'] = __('Software');
$output = html_print_image('images/data-server@svg.svg', true, ['class' => 'main_menu_icon invert_filter'], false, false, false, true);
$output = html_print_image(
'images/data-server@svg.svg',
true,
['class' => 'main_menu_icon invert_filter'],
false,
false,
false,
true
);
}
return $output;

View File

@ -1297,8 +1297,9 @@ a.pandora_pagination:hover {
filter: brightness(0) contrast(50%) !important;
}
input[type="image"] {
input:not(div.login_pass > input):not(div.login_nick > input[type="image"]) {
background-color: transparent !important;
color: inherit !important;
}
.databox_color {

View File

@ -280,25 +280,25 @@ if ($pure === false) {
$class_delete = 'delete_item delete_min';
$class_copy = 'copy_item';
if ($config['style'] === 'pandora_black' && is_metaconsole() === false) {
$class_camera = 'camera_min_white link-create-item';
$class_percentile = 'percentile_item_min_white link-create-item';
$class_module_graph = 'graph_min_white link-create-item';
$class_donut = 'donut_graph_min_white link-create-item';
$class_bars = 'bars_graph_min_white link-create-item';
$class_value = 'binary_min_white link-create-item';
$class_sla = 'auto_sla_graph_min_white link-create-item';
$class_label = 'label_min_white link-create-item';
$class_icon = 'icon_min_white link-create-item';
$class_clock = 'clock_min_white link-create-item';
$class_group = 'group_item_min_white link-create-item';
$class_box = 'box_item_white link-create-item';
$class_line = 'line_item_white link-create-item';
$class_cloud = 'color_cloud_min_white link-create-item';
$class_nlink = 'network_link_min_white link-create-item';
$class_odometer = 'odometer_min_white link-create-item';
$class_basic_chart = 'basic_chart_min_white link-create-item';
$class_delete = 'delete_item_white delete_min_white';
$class_copy = 'copy_item_white';
$class_camera .= ' invert_filter';
$class_percentile .= ' invert_filter';
$class_module_graph .= ' invert_filter';
$class_donut .= ' invert_filter';
$class_bars .= ' invert_filter';
$class_value .= ' invert_filter';
$class_sla .= ' invert_filter';
$class_label .= ' invert_filter';
$class_icon .= ' invert_filter';
$class_clock .= ' invert_filter';
$class_group .= ' invert_filter';
$class_box .= ' invert_filter';
$class_line .= ' invert_filter';
$class_cloud .= ' invert_filter';
$class_nlink .= ' invert_filter';
$class_odometer .= ' invert_filter';
$class_basic_chart .= ' invert_filter';
$class_delete .= ' invert_filter';
$class_copy .= ' invert_filter';
}
visual_map_print_button_editor_refactor(