Files
dashboards/apps/business/src/components/BlogCommentsSection.module.css
T
Alireza HassaniandCursor f566387c61 Initial commit: Meshkee dashboards monorepo.
Includes business, customer, and super-admin apps with shared packages and production deploy scripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 13:48:53 +03:30

158 lines
2.5 KiB
CSS

.section {
background: var(--glass-bg);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
border-radius: var(--radius);
box-shadow: var(--glass-shadow);
padding: 24px;
}
.header {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
margin-bottom: 16px;
}
.title {
font-size: 18px;
font-weight: 600;
color: var(--text-primary);
}
.count {
font-size: 13px;
color: var(--text-secondary);
}
.emptyText {
font-size: 14px;
color: var(--text-muted);
text-align: center;
padding: 24px 12px;
}
.errorText {
font-size: 13px;
color: #dc2626;
margin-bottom: 12px;
}
.list {
display: flex;
flex-direction: column;
gap: 10px;
}
.comment {
padding: 14px 16px;
background: rgba(255, 255, 255, 0.6);
border: 1px solid rgba(148, 163, 184, 0.2);
border-radius: var(--radius-sm);
}
.commentApproved {
border-color: rgba(34, 197, 94, 0.35);
background: rgba(34, 197, 94, 0.04);
}
.commentHeader {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
margin-bottom: 8px;
}
.commentMeta {
min-width: 0;
}
.author {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
}
.dateTime {
font-size: 12px;
color: var(--text-muted);
margin-top: 2px;
}
.likes {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 12px;
color: var(--text-secondary);
flex-shrink: 0;
}
.text {
font-size: 14px;
line-height: 1.55;
color: var(--text-primary);
white-space: pre-wrap;
}
.commentActions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
}
.approveBtn,
.rejectBtn,
.removeBtn {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 5px 10px;
font-size: 12px;
font-weight: 500;
border-radius: var(--radius-sm);
transition: background 0.2s, color 0.2s;
}
.approveBtn {
color: #15803d;
background: rgba(34, 197, 94, 0.1);
}
.approveBtn:hover:not(:disabled) {
background: rgba(34, 197, 94, 0.18);
}
.rejectBtn {
color: #b45309;
background: rgba(251, 191, 36, 0.12);
}
.rejectBtn:hover:not(:disabled) {
background: rgba(251, 191, 36, 0.2);
}
.removeBtn {
color: #dc2626;
background: rgba(239, 68, 68, 0.08);
}
.removeBtn:hover:not(:disabled) {
background: rgba(239, 68, 68, 0.14);
}
.approveBtn:disabled,
.rejectBtn:disabled,
.removeBtn:disabled {
opacity: 0.55;
cursor: not-allowed;
}
.paginationWrap {
margin-top: 16px;
}