13414-Fix multiselect2 dark theme

This commit is contained in:
Pablo Aragon 2024-04-11 15:22:40 +02:00
parent da6d1f7e1b
commit 39b75cf946
4 changed files with 29 additions and 4 deletions

View File

@ -1208,7 +1208,7 @@ $createModuleTable->data[1][] = html_print_label_input_block(
html_print_anchor( html_print_anchor(
[ [
'href' => 'https://pandorafms.com/Library/Library/', 'href' => 'https://pandorafms.com/Library/Library/',
'class' => 'color-black-grey invert_filter', 'class' => 'color-black-grey',
'content' => __('Get more modules on Monitoring Library'), 'content' => __('Get more modules on Monitoring Library'),
], ],
true true

View File

@ -442,7 +442,7 @@ $tableBasicThresholds->rowclass = [];
$tableBasicThresholds->data = []; $tableBasicThresholds->data = [];
// WARNING THRESHOLD. // WARNING THRESHOLD.
$tableBasicThresholds->rowclass['caption_warning_threshold'] = 'field_half_width pdd_t_10px'; $tableBasicThresholds->rowclass['caption_warning_threshold'] = 'field_half_width';
$tableBasicThresholds->rowclass['warning_threshold'] = 'field_half_width'; $tableBasicThresholds->rowclass['warning_threshold'] = 'field_half_width';
$tableBasicThresholds->data['caption_warning_threshold'][0] .= __('Warning threshold').' '; $tableBasicThresholds->data['caption_warning_threshold'][0] .= __('Warning threshold').' ';
@ -617,7 +617,7 @@ $tableBasicThresholds->data['critical_threshold'][0] .= html_print_input_text(
$classdisabledBecauseInPolicy $classdisabledBecauseInPolicy
); );
$table_simple->rowstyle['thresholds_table'] = 'margin-top: 15px;height: 400px;width: 100%'; $table_simple->rowstyle['thresholds_table'] = 'margin-top: 15px;height: 450px;width: 100%';
$table_simple->cellclass['thresholds_table'][0] = 'table_section half_section_left'; $table_simple->cellclass['thresholds_table'][0] = 'table_section half_section_left';
$table_simple->data['thresholds_table'][0] = html_print_table($tableBasicThresholds, true); $table_simple->data['thresholds_table'][0] = html_print_table($tableBasicThresholds, true);
if (modules_is_string_type($id_module_type) === false || (bool) $edit === true) { if (modules_is_string_type($id_module_type) === false || (bool) $edit === true) {
@ -896,7 +896,7 @@ $tagsAvailableData .= html_print_image(
[ [
'id' => 'right', 'id' => 'right',
'title' => __('Add tags to module'), 'title' => __('Add tags to module'),
'class' => 'main_menu_icon invert_filter clickable mrgn_lft_5px', 'class' => 'main_menu_icon invert_filter clickable mrgn_lft_5px black-and-white',
] ]
); );

View File

@ -14197,3 +14197,11 @@ table#snmp_console tbody .datos_orange * {
background-color: var(--events-priority-bg-orange); background-color: var(--events-priority-bg-orange);
color: var(--events-priority-text-orange) !important; color: var(--events-priority-text-orange) !important;
} }
.black-and-white {
filter: saturate(0);
}
.invert_filter.black-and-white {
filter: invert(1) saturate(0) !important;
}

View File

@ -2005,6 +2005,23 @@ div.show_result_interpreter {
border-top: 0; border-top: 0;
} }
.switch_radio_button input:checked + label {
color: var(--text-color) !important;
}
.tags_selected_container > span.select2 {
background-color: #111 !important;
}
.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
border-color: #707070 !important;
}
.select2-container.select2-container--focus .select2-selection--multiple {
border-color: #8a96a6 !important;
}
th { th {
border-bottom: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
} }