redThread / client /src /components /SkeletonCard.css
3v324v23's picture
Initial commit of RedThread project
0dd2082
.skeleton-card {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
padding: 1.25rem 1.5rem;
}
.skeleton-line {
border-radius: 4px;
background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 75%);
background-size: 400% 100%;
animation: shimmer 1.5s infinite;
}
.skeleton-header {
display: flex;
justify-content: space-between;
margin-bottom: 0.6rem;
}
.skeleton-title {
width: 55%;
height: 18px;
}
.skeleton-badge {
width: 40px;
height: 18px;
}
.skeleton-address {
width: 70%;
height: 12px;
margin-bottom: 0.35rem;
}
.skeleton-price {
width: 30%;
height: 14px;
margin-bottom: 0.75rem;
}
.skeleton-tags {
display: flex;
gap: 0.375rem;
margin-bottom: 0.75rem;
}
.skeleton-tag {
width: 60px;
height: 22px;
border-radius: 20px;
}
.skeleton-review {
width: 100%;
height: 12px;
margin-bottom: 0.35rem;
}
.skeleton-review-short {
width: 65%;
height: 12px;
}