diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc index 6abdf0f..aeea159 100644 Binary files a/core/__pycache__/views.cpython-311.pyc and b/core/__pycache__/views.cpython-311.pyc differ diff --git a/core/templates/core/blood_request_list.html b/core/templates/core/blood_request_list.html index 86d24d8..f76c069 100644 --- a/core/templates/core/blood_request_list.html +++ b/core/templates/core/blood_request_list.html @@ -11,10 +11,30 @@ font-size: 0.7rem; font-weight: 700; text-transform: uppercase; + display: inline-flex; + align-items: center; + gap: 5px; } - .bg-critical { background: #FF4D4D; color: #fff; } + .bg-critical { background: #FF4D4D; color: #fff; box-shadow: 0 0 10px rgba(255, 77, 77, 0.4); } .bg-urgent { background: #FFA500; color: #000; } .bg-normal { background: #4CAF50; color: #fff; } + + .request-card { + border-left: 5px solid transparent !important; + transition: all 0.3s ease; + } + .request-card.border-critical { border-left-color: #FF4D4D !important; } + .request-card.border-urgent { border-left-color: #FFA500 !important; } + .request-card.border-normal { border-left-color: #4CAF50 !important; } + + @keyframes pulse-red { + 0% { transform: scale(1); opacity: 1; } + 50% { transform: scale(1.1); opacity: 0.8; } + 100% { transform: scale(1); opacity: 1; } + } + .pulse-icon { + animation: pulse-red 2s infinite ease-in-out; + }