#12845 fix styles events

This commit is contained in:
Jonathan 2024-02-05 17:24:52 +01:00
parent ab706be7e3
commit 59fd298215
3 changed files with 7 additions and 27 deletions

View File

@ -1257,8 +1257,8 @@ class WelcomeWindow extends Wizard
draggable: true, draggable: true,
modal: true, modal: true,
close: false, close: false,
height: 375, height: 400,
width: 480, width: 500,
overlay: { overlay: {
opacity: 0.5, opacity: 0.5,
background: "black" background: "black"
@ -1274,7 +1274,7 @@ class WelcomeWindow extends Wizard
draggable: true, draggable: true,
modal: true, modal: true,
close: false, close: false,
height: 265, height: 300,
width: 480, width: 480,
overlay: { overlay: {
opacity: 0.5, opacity: 0.5,

View File

@ -1601,9 +1601,7 @@ $(document).ajaxSend(function(event, jqXHR, ajaxOptions) {
// Add the minimize icon to the minimize button // Add the minimize icon to the minimize button
$("<span>", { $("<span>", {
class: "ui-button-icon ui-icon", class: "ui-button-icon ui-icon"
style:
"background-color: rgb(51, 51, 51); -webkit-mask: url('images/arrow-down-white.png') no-repeat / contain !important;"
}).appendTo(minimizeButton); }).appendTo(minimizeButton);
$("<span>", { $("<span>", {
@ -1617,23 +1615,9 @@ $(document).ajaxSend(function(event, jqXHR, ajaxOptions) {
class: class:
"ui-corner-all ui-widget ui-button-icon-only ui-dialog-titlebar-disengage disengage-buttom-image", "ui-corner-all ui-widget ui-button-icon-only ui-dialog-titlebar-disengage disengage-buttom-image",
type: "button", type: "button",
title: "Disengage", title: "Disengage"
style: "float: right; position:relative;"
}).insertBefore(minimizeButton); }).insertBefore(minimizeButton);
// Add the disengage icon to the disengage button
$("<span>", {
class: "ui-button-icon ui-icon",
style:
"background-color: rgb(51, 51, 51); -webkit-mask: url('images/dashboard.menu.png') no-repeat center / contain !important;"
}).appendTo(disengageButton);
$("<span>", {
class: "ui-button-icon-space"
})
.html(" ")
.appendTo(disengageButton);
minimizeButton.click(function(e) { minimizeButton.click(function(e) {
if ($("#minimize_arrow_event_sound").hasClass("arrow_menu_up")) { if ($("#minimize_arrow_event_sound").hasClass("arrow_menu_up")) {
$("#minimize_arrow_event_sound").removeClass("arrow_menu_up"); $("#minimize_arrow_event_sound").removeClass("arrow_menu_up");

View File

@ -61,15 +61,11 @@
} }
.ui-dialog .ui-dialog-titlebar-disengage { .ui-dialog .ui-dialog-titlebar-disengage {
position: absolute !important;
right: 50px;
top: -3px;
width: 40px;
margin: 0px 0 0 0; margin: 0px 0 0 0;
padding: 1px; padding: 1px;
height: 40px; height: 20px;
bottom: 30%; bottom: 30%;
background-color: #fff !important; background-color: white;
} }
.ui-dialog .ui-dialog-titlebar-disengage:hover { .ui-dialog .ui-dialog-titlebar-disengage:hover {