Bug somewhere
Some checks failed
Build, Push, and Deploy to Nomad / docker-nomad (push) Failing after 4m38s

This commit is contained in:
Henrik Jess
2024-12-17 17:10:37 +01:00
parent 1cb9e066ab
commit 7072e7e099
9 changed files with 122 additions and 146 deletions

View File

@@ -0,0 +1,43 @@
// Variables
$modal-bg: rgba(0, 0, 0, 0.3);
$modal-blur: 8px;
$modal-z-index: 999999;
$modal-content-z-index: 50000;
$modal-content-bg: #fff;
$modal-content-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
// Modal background with blur effect
.modal {
display: none; // Hidden by default
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: $modal-bg; // Semi-transparent dark background
backdrop-filter: blur($modal-blur); // Blurs everything behind the modal
display: flex;
justify-content: center;
align-items: center;
z-index: $modal-z-index; // Ensure it stays on top
}
// Modal content
.modal-content {
background-color: $modal-content-bg;
padding: 20px;
border-radius: 5px;
box-shadow: $modal-content-shadow;
width: 400px;
text-align: center;
z-index: $modal-content-z-index; // Content stays above the blurred overlay
}
// Rotating buttons
.open {
transform: rotate(15deg); // Rotates button 15 degrees clockwise
}
.open_inv {
transform: rotate(-15deg); // Rotates button 15 degrees counterclockwise
}