modified: app.py

modified:   static/styleIndex.css
	modified:   templates/index.html
This commit is contained in:
2026-02-26 21:08:41 -03:00
parent 80bf539484
commit 4faee03762
3 changed files with 171 additions and 0 deletions

View File

@@ -179,4 +179,83 @@ th {
transform: translateY(0);
opacity: 1;
}
}
#bulk-action-bar {
display: none;
/* Controlled by JS */
background: var(--accent);
padding: 12px 20px;
border-radius: 8px;
margin-bottom: 20px;
color: white;
align-items: center;
gap: 15px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
animation: slideDown 0.3s ease;
}
#bulk-action-bar span {
font-weight: bold;
font-size: 0.9em;
white-space: nowrap;
}
#bulk-action-bar input[type="number"] {
width: 120px;
margin: 0;
height: 38px;
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.3);
color: white;
}
/* Ensure the parent container can hold the absolute bar */
.column {
position: relative;
}
#bulk-action-bar {
display: none;
position: absolute;
top: 0;
left: 25px; /* Matches card padding */
right: 25px;
z-index: 10;
background: var(--accent);
padding: 12px 20px;
border-radius: 8px;
color: white;
align-items: center;
gap: 15px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
animation: slideIn 0.2s ease-out;
}
@keyframes slideIn {
from { transform: translateY(-10px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
.btn-bulk-save {
background: #2ecc71;
/* A more professional green */
color: white;
flex-grow: 1;
font-weight: bold;
height: 38px;
}
.btn-bulk-save:hover {
background: #27ae60;
}
.btn-bulk-del {
background: rgba(255, 255, 255, 0.2);
color: white;
height: 38px;
}
.btn-bulk-del:hover {
background: var(--danger);
}