✨ user comments
This commit is contained in:
@@ -263,3 +263,97 @@
|
||||
background: var(--accent);
|
||||
color: var(--bg-base);
|
||||
}
|
||||
|
||||
/* ── Comment input modal ───────────────────────────────── */
|
||||
.comment-modal-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 100;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: rgba(0, 0, 0, 0.35);
|
||||
}
|
||||
|
||||
.comment-modal {
|
||||
background: var(--message-bg);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
padding: 14px 16px;
|
||||
width: 340px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
.comment-modal-excerpt {
|
||||
font-family: var(--font-serif);
|
||||
font-size: 12px;
|
||||
font-style: italic;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.5;
|
||||
border-left: 2px solid rgba(240, 100, 180, 0.65);
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
.comment-modal-input {
|
||||
background: var(--input-bg, rgba(255, 255, 255, 0.05));
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 5px;
|
||||
color: var(--text-primary);
|
||||
font-family: var(--font-sans);
|
||||
font-size: 13px;
|
||||
line-height: 1.55;
|
||||
padding: 7px 10px;
|
||||
resize: vertical;
|
||||
outline: none;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.comment-modal-input:focus {
|
||||
border-color: rgba(240, 100, 180, 0.65);
|
||||
}
|
||||
|
||||
.comment-modal-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.comment-modal-cancel {
|
||||
background: none;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
color: var(--text-muted);
|
||||
font-size: 12px;
|
||||
padding: 4px 12px;
|
||||
cursor: pointer;
|
||||
transition: color 0.15s;
|
||||
}
|
||||
|
||||
.comment-modal-cancel:hover {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.comment-modal-save {
|
||||
background: rgba(240, 100, 180, 0.85);
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
color: #1a0a12;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
padding: 4px 14px;
|
||||
cursor: pointer;
|
||||
transition: opacity 0.15s;
|
||||
}
|
||||
|
||||
.comment-modal-save:hover:not(:disabled) {
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.comment-modal-save:disabled {
|
||||
opacity: 0.35;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user