LikeandCommentSave

This commit is contained in:
2026-01-28 21:01:03 +11:00
parent 39da3c825f
commit 109e463724
3 changed files with 268 additions and 2 deletions

View File

@@ -518,6 +518,88 @@ p {
color: var(--text-main);
}
/* Feed Interactions */
.icon-btn .heart-icon.liked {
fill: #EF4444;
stroke: #EF4444;
animation: likeBounce 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes likeBounce {
0% {
transform: scale(1);
}
50% {
transform: scale(1.3);
}
100% {
transform: scale(1);
}
}
/* Comment Section */
.comment-section {
padding: 0 15px 15px;
display: none;
/* Hidden by default */
}
.comment-section.active {
display: block;
animation: fadeIn 0.3s ease-out;
}
.comment-input-wrapper {
display: flex;
gap: 10px;
margin-top: 10px;
}
.comment-input {
flex: 1;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--glass-border);
border-radius: var(--radius-full);
padding: 8px 15px;
color: var(--text-main);
font-size: 13px;
outline: none;
}
.comment-input:focus {
border-color: var(--text-muted);
}
.post-btn {
background: none;
border: none;
color: #3B82F6;
/* Blue accent */
font-weight: 600;
font-size: 13px;
cursor: pointer;
}
.added-comments {
margin-top: 10px;
font-size: 13px;
color: var(--text-main);
display: flex;
flex-direction: column;
gap: 6px;
}
.comment-item {
line-height: 1.4;
}
.comment-user {
font-weight: 600;
margin-right: 5px;
}
/* Bottom Navigation */
.bottom-nav {
position: fixed;