mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#13527 Fixed dark theme styles sound console
This commit is contained in:
parent
3139b66152
commit
1b812155e7
@ -2541,7 +2541,7 @@ if ($drawConsoleSound === true) {
|
|||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'title' => __('No alerts discovered'),
|
'title' => __('No alerts discovered'),
|
||||||
'class' => 'invert_filter',
|
'class' => '',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
$output .= '<span class="text-discovered-alerts">';
|
$output .= '<span class="text-discovered-alerts">';
|
||||||
|
@ -1066,7 +1066,7 @@ function openSoundEventsDialog(settings, dialog_parameters) {
|
|||||||
resizable: false,
|
resizable: false,
|
||||||
modal: false,
|
modal: false,
|
||||||
width: 600,
|
width: 600,
|
||||||
height: 600,
|
height: 700,
|
||||||
dialogClass: "modal-sound",
|
dialogClass: "modal-sound",
|
||||||
open: function() {
|
open: function() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
@ -1102,24 +1102,8 @@ function openSoundEventsDialog(settings, dialog_parameters) {
|
|||||||
if (mode == 0) {
|
if (mode == 0) {
|
||||||
action = true;
|
action = true;
|
||||||
}
|
}
|
||||||
if ($("#button-start-search").hasClass("play")) {
|
if (!$("#button-start-search").hasClass("play")) {
|
||||||
$("#modal-sound").css({
|
$("#progressbar_time").empty();
|
||||||
height: "500px"
|
|
||||||
});
|
|
||||||
$("#modal-sound")
|
|
||||||
.parent()
|
|
||||||
.css({
|
|
||||||
height: "550px"
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
$("#modal-sound").css({
|
|
||||||
height: "450px"
|
|
||||||
});
|
|
||||||
$("#modal-sound")
|
|
||||||
.parent()
|
|
||||||
.css({
|
|
||||||
height: "500px"
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
action_events_sound(action, settings);
|
action_events_sound(action, settings);
|
||||||
|
@ -556,6 +556,11 @@ table#diagnostic_info tbody td div {
|
|||||||
color: var(--text-color) !important;
|
color: var(--text-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ui-widget-dialog-border,
|
||||||
|
.ui-dialog {
|
||||||
|
border: 1px solid #333 !important;
|
||||||
|
}
|
||||||
|
|
||||||
#cancel_btn_dialog {
|
#cancel_btn_dialog {
|
||||||
background-color: red;
|
background-color: red;
|
||||||
}
|
}
|
||||||
@ -1443,7 +1448,7 @@ button.submitButton {
|
|||||||
button.buttonButton.secondary,
|
button.buttonButton.secondary,
|
||||||
button.submitButton.secondary {
|
button.submitButton.secondary {
|
||||||
background-color: #999;
|
background-color: #999;
|
||||||
color: var(--text-color);
|
color: var(--text-color) !important;
|
||||||
border-color: #fff;
|
border-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ if ($config['style'] === 'pandora_black' && !is_metaconsole()) {
|
|||||||
|
|
||||||
echo '</head>';
|
echo '</head>';
|
||||||
echo '<body style="overflow: hidden;">';
|
echo '<body style="overflow: hidden;">';
|
||||||
$output = '<div id="tabs-sound-modal">';
|
$output = '<div id="tabs-sound-modal" class="ui-widget-dialog-border">';
|
||||||
// Header tabs.
|
// Header tabs.
|
||||||
$output .= '<ul class="tabs-sound-modal-options">';
|
$output .= '<ul class="tabs-sound-modal-options">';
|
||||||
$output .= '<li>';
|
$output .= '<li>';
|
||||||
@ -264,7 +264,7 @@ $output = '<div id="tabs-sound-modal">';
|
|||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'title' => __('No alerts discovered'),
|
'title' => __('No alerts discovered'),
|
||||||
'class' => 'invert_filter',
|
'class' => '',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
$output .= '<span class="text-discovered-alerts">';
|
$output .= '<span class="text-discovered-alerts">';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user