added feature about unsaved changes

This commit is contained in:
2025-08-20 16:49:10 +04:00
parent 939a4fe03e
commit 47762a8557
2 changed files with 62 additions and 7 deletions
+20
View File
@@ -145,4 +145,24 @@
padding: 0.1rem 0.3rem;
font-size: 0.8rem;
}
/* ნორმალური Save ღილაკი */
#savePhotoBtn {
transition: all 0.3s ease-in-out;
}
/* დაუმახსოვრებელი ცვლილებები */
#savePhotoBtn.unsaved {
background-color: #dc3545 !important; /* წითელი */
border-color: #dc3545 !important;
color: white !important;
animation: pulse 1.2s infinite;
}
/* ლამაზი პულსაცია */
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
70% { box-shadow: 0 0 10px 15px rgba(220, 53, 69, 0); }
100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}
</style>