Fix issue with ugly buttons :hover css
This commit is contained in:
Andy Dixon
2024-10-09 20:44:46 +01:00
parent 3a87bf104a
commit c848926cd9
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -73,6 +73,7 @@ body {
.blueButton:hover {
background: linear-gradient(to bottom, #415989 5%, #2e466e 100%);
background-color: #415989;
color: #ffffff;
}
.greenButton {
@@ -94,6 +95,7 @@ body {
.greenButton:hover {
background: linear-gradient(to bottom, #72b352 5%, #77b55a 100%);
background-color: #72b352;
color: #ffffff;
}
.greenButton:active {
+3 -3
View File
@@ -119,7 +119,7 @@ $(document).ready(function () {
} else {
showMessage("New page Created", "success");
$('#frameContainer').contents().get(0).location.href = response.url;
$("#newPageForm").dialog("close"); // Close the modal on success
$('.ui-dialog-content').dialog('close');
}
},
error: function () {
@@ -169,7 +169,7 @@ $(document).ready(function () {
// Add click event to list items to redirect
$("#fileList li").click(function () {
$('#frameContainer').contents().get(0).location.href = $(this).data("url"); // Redirect to the clicked file's URL
$("#fileListDialog").dialog("close"); // Close the modal
$('.ui-dialog-content').dialog('close');
});
},
error: function () {
@@ -186,7 +186,7 @@ $(document).ready(function () {
width: 500,
buttons: {
Close: function () {
$(this).dialog("close");
$('.ui-dialog-content').dialog('close');
}
}
});