#13527 Fixed dark theme styles sound console

This commit is contained in:
Jorge Rincon 2024-04-29 10:15:02 +02:00
parent 3139b66152
commit 1b812155e7
4 changed files with 12 additions and 23 deletions

View File

@ -2541,7 +2541,7 @@ if ($drawConsoleSound === true) {
true,
[
'title' => __('No alerts discovered'),
'class' => 'invert_filter',
'class' => '',
]
);
$output .= '<span class="text-discovered-alerts">';

View File

@ -1066,7 +1066,7 @@ function openSoundEventsDialog(settings, dialog_parameters) {
resizable: false,
modal: false,
width: 600,
height: 600,
height: 700,
dialogClass: "modal-sound",
open: function() {
$.ajax({
@ -1102,24 +1102,8 @@ function openSoundEventsDialog(settings, dialog_parameters) {
if (mode == 0) {
action = true;
}
if ($("#button-start-search").hasClass("play")) {
$("#modal-sound").css({
height: "500px"
});
$("#modal-sound")
.parent()
.css({
height: "550px"
});
} else {
$("#modal-sound").css({
height: "450px"
});
$("#modal-sound")
.parent()
.css({
height: "500px"
});
if (!$("#button-start-search").hasClass("play")) {
$("#progressbar_time").empty();
}
action_events_sound(action, settings);

View File

@ -556,6 +556,11 @@ table#diagnostic_info tbody td div {
color: var(--text-color) !important;
}
.ui-widget-dialog-border,
.ui-dialog {
border: 1px solid #333 !important;
}
#cancel_btn_dialog {
background-color: red;
}
@ -1443,7 +1448,7 @@ button.submitButton {
button.buttonButton.secondary,
button.submitButton.secondary {
background-color: #999;
color: var(--text-color);
color: var(--text-color) !important;
border-color: #fff;
}

View File

@ -96,7 +96,7 @@ if ($config['style'] === 'pandora_black' && !is_metaconsole()) {
echo '</head>';
echo '<body style="overflow: hidden;">';
$output = '<div id="tabs-sound-modal">';
$output = '<div id="tabs-sound-modal" class="ui-widget-dialog-border">';
// Header tabs.
$output .= '<ul class="tabs-sound-modal-options">';
$output .= '<li>';
@ -264,7 +264,7 @@ $output = '<div id="tabs-sound-modal">';
true,
[
'title' => __('No alerts discovered'),
'class' => 'invert_filter',
'class' => '',
]
);
$output .= '<span class="text-discovered-alerts">';