Refactored stuff into new files, added a test modal for adding critters

This commit is contained in:
2026-08-05 22:48:44 -05:00
parent 9e96151a42
commit 11fe8ca54d
9 changed files with 414 additions and 232 deletions

View File

@@ -266,3 +266,52 @@ progress-value {
display: none;
}
/* ===================================
Specific app stuff
=================================== */
/* Critter cards */
/* Modals */
.modal-overlay {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
}
.modal-content {
background-color: #2b2b2b;
color: #ffffff;
padding: 20px;
border-radius: 8px;
width: 350px;
}
.modal-content label {
display: block;
margin-top: 8px;
}
.modal-content input {
width: 100%;
margin-bottom: 8px;
}
.error {
color: #ff5555;
font-weight: bold;
}
.modal-buttons {
margin-top: 15px;
display: flex;
justify-content: space-between;
}