fixed styles

This commit is contained in:
daniel 2023-03-17 13:20:58 +01:00
parent fd5347e893
commit 594d34931c
8 changed files with 22 additions and 41 deletions

View File

@ -925,7 +925,7 @@ if ($tab == 'tree') {
true,
[
'style' => '',
'class' => 'bot',
'class' => 'bot main_menu_icon invert_filter',
'alt' => io_safe_input($group['nombre']),
'title' => io_safe_input($group['nombre']),
],

View File

@ -1694,7 +1694,7 @@ $csvDividerInputs .= html_print_image(
true,
[
'id' => 'select_csv_divider',
'class' => 'invert_filter',
'class' => 'main_menu_icon invert_filter',
]
);

View File

@ -1885,7 +1885,7 @@ if ($create_alert || $update_alert) {
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->width = '100%';
$table->class = 'databox data';
$table->class = 'info_table';
$table->align = [];
$table->head[0] = '<span title="'.__('Position').'">'.__('P.').'</span>';
@ -1983,7 +1983,7 @@ if ($create_alert || $update_alert) {
[
'alt' => __('Duplicate'),
'title' => __('Duplicate'),
'class' => 'main_menu_icon invert_filter',
'class' => 'main_menu_icon',
]
),
],
@ -2001,7 +2001,7 @@ if ($create_alert || $update_alert) {
[
'alt' => __('Update'),
'border' => 0,
'class' => 'main_menu_icon invert_filter',
'class' => 'main_menu_icon',
]
),
],
@ -2031,6 +2031,7 @@ if ($create_alert || $update_alert) {
true,
[
'title' => __('Delete action'),
'class' => 'main_menu_icon',
]
),
'onClick' => 'delete_snmp_alert('.$row['id_as'].')',

View File

@ -2623,7 +2623,7 @@ function events_print_event_table(
$img,
true,
[
'class' => 'image_status',
'class' => 'image_status invert_filter main_menu_icon',
'title' => $title,
]
);

View File

@ -730,7 +730,7 @@ function ui_print_group_icon($id_group, $return=false, $path='', $style='', $lin
true,
[
'style' => $style,
'class' => 'main_menu_icon '.$class,
'class' => 'main_menu_icon invert_filter '.$class,
'alt' => groups_get_name($id_group, true),
'title' => groups_get_name($id_group, true),
],
@ -755,7 +755,7 @@ function ui_print_group_icon($id_group, $return=false, $path='', $style='', $lin
true,
[
'style' => $style,
'class' => 'main_menu_icon '.$class,
'class' => 'main_menu_icon invert_filter '.$class,
'alt' => groups_get_name($id_group, true),
'title' => groups_get_name($id_group, true),
],
@ -862,7 +862,7 @@ function ui_print_os_icon(
}
if (isset($options['class']) === false) {
$options['class'] = 'main_menu_icon';
$options['class'] = 'main_menu_icon invert_filter';
}
$no_in_meta = (is_metaconsole() === false);
@ -4374,34 +4374,6 @@ function ui_toggle(
$rotateA = '90deg';
$rotateB = '180deg';
if (empty($img_a) === false) {
$image_a = html_print_image(
$img_a,
true,
[
'class' => 'mrgn_right_10px',
'style' => 'rotate: '.$rotateA,
],
true
);
} else {
$image_a = '';
}
if (empty($img_b) === false) {
$image_b = html_print_image(
$img_b,
true,
[
'class' => 'mrgn_right_10px',
'style' => 'margin-right:10px; rotate: '.$rotateB,
],
true
);
} else {
$image_b = '';
}
// Options.
$style = 'overflow:hidden;width: -webkit-fill-available;width: -moz-available;';
$style = 'overflow:hidden;';
@ -4458,7 +4430,7 @@ function ui_toggle(
$original,
true,
[
'class' => 'float-left main_menu_icon mrgn_right_10px',
'class' => 'float-left main_menu_icon mrgn_right_10px invert_filter',
'style' => 'object-fit: contain; margin-right:10px; rotate:'.$imageRotate,
'title' => $title,
'id' => 'image_'.$uniqid,
@ -4490,7 +4462,7 @@ function ui_toggle(
$original,
true,
[
'class' => 'main_menu_icon mrgn_right_10px',
'class' => 'main_menu_icon mrgn_right_10px invert_filter',
'style' => 'object-fit: contain; float:right; margin-right:10px; rotate:'.$imageRotate,
'title' => $title,
'id' => 'image_'.$uniqid,

View File

@ -753,7 +753,6 @@ function flot_slicesbar_graph(
'return_img_base_64' => true,
'date_to' => $date_to,
'server_id' => $server_id,
'backgroundColor' => '#f6f7fb',
];
// TO-DO Cambiar esto para que se pase por POST, NO SE PUEDE PASAR POR GET.
update_config_token($tokem_config, json_encode($graph_data));

View File

@ -1525,3 +1525,12 @@ span.select2 {
#tips_window_modal > div.window > div.description > #text_tip {
color: white !important;
}
.agent_details_header span.subsection_header_title {
color: #fff;
}
pre code.hljs {
background-color: #222222;
color: #fff;
}

View File

@ -756,7 +756,7 @@ if (is_ajax() === true) {
true,
[
'title' => __('New event'),
'class' => 'forced-title main_menu_icon',
'class' => 'forced-title invert_filter main_menu_icon',
]
);
$state = 0;