Add clear canvas button on navigation menu

This commit is contained in:
BrunoMatosTech 2025-04-30 14:12:40 +00:00
parent 4a60fe3d22
commit d423b0c330
8 changed files with 1482 additions and 1921 deletions

View file

@ -115,3 +115,46 @@
}
}
}
.confirm-dialog {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
background-color: rgba(0, 0, 0, 0.5); /* Backdrop */
z-index: 1000; /* Ensure it appears above other elements */
}
.confirm-dialog-content {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
text-align: center;
}
.confirm-dialog-content h3 {
margin: 0 0 10px;
}
.confirm-dialog-content button {
margin: 5px;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
.confirm-dialog-content button:first-of-type {
background-color: #007bff;
color: white;
}
.confirm-dialog-content button:last-of-type {
background-color: #f8f9fa;
color: #212529;
}