댓글 UI 톤 정리

This commit is contained in:
2026-04-07 13:45:50 +09:00
parent d5575d3028
commit 9f143d4a89
5 changed files with 86 additions and 19 deletions

View File

@@ -371,6 +371,8 @@ onBeforeUnmount(() => {
.commentsCard__desc {
margin: 0;
color: var(--theme-text-muted);
font-size: 12px;
line-height: 1.55;
}
.commentsCard__count {
@@ -393,19 +395,13 @@ onBeforeUnmount(() => {
color: var(--theme-text);
}
.commentsComposer,
.commentsLoginCta,
.commentItem,
.commentItem--reply {
border: 1px solid var(--theme-card-border);
background: var(--theme-surface);
}
.commentsComposer,
.commentsLoginCta {
margin-bottom: 18px;
padding: 16px;
border-radius: 22px;
background: color-mix(in srgb, var(--theme-surface) 88%, var(--theme-surface-soft));
box-shadow: inset 0 1px 0 color-mix(in srgb, white 5%, transparent);
}
.commentsComposer__input {
@@ -414,11 +410,13 @@ onBeforeUnmount(() => {
resize: vertical;
padding: 14px 16px;
border-radius: 18px;
border: 1px solid var(--theme-field-border);
border: 0;
background: var(--theme-input-bg);
color: var(--theme-text);
box-sizing: border-box;
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--theme-field-border) 45%, transparent);
box-shadow:
inset 0 0 0 1px color-mix(in srgb, var(--theme-field-border) 38%, transparent),
0 10px 24px rgba(0, 0, 0, 0.05);
}
.commentsComposer__input--reply {
@@ -477,6 +475,9 @@ onBeforeUnmount(() => {
margin-left: 28px;
border-radius: 20px;
background: linear-gradient(180deg, color-mix(in srgb, var(--theme-accent) 6%, var(--theme-surface)) 0%, var(--theme-surface) 100%);
box-shadow:
inset 0 1px 0 color-mix(in srgb, white 4%, transparent),
0 10px 24px rgba(0, 0, 0, 0.06);
}
.commentItem--reply::before {
@@ -591,7 +592,9 @@ onBeforeUnmount(() => {
padding: 14px 15px;
border-radius: 18px;
background: color-mix(in srgb, var(--theme-input-bg) 82%, var(--theme-surface));
border: 1px solid color-mix(in srgb, var(--theme-card-border) 76%, transparent);
box-shadow:
inset 0 0 0 1px color-mix(in srgb, var(--theme-card-border) 28%, transparent),
0 8px 18px rgba(0, 0, 0, 0.04);
white-space: pre-wrap;
word-break: break-word;
line-height: 1.6;
@@ -601,8 +604,8 @@ onBeforeUnmount(() => {
margin-top: 14px;
padding: 14px;
border-radius: 18px;
border: 1px solid var(--theme-card-border);
background: color-mix(in srgb, var(--theme-surface) 76%, var(--theme-surface-soft));
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--theme-card-border) 24%, transparent);
}
.commentsComposer__submit {
@@ -610,6 +613,50 @@ onBeforeUnmount(() => {
min-height: 42px;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 42px;
padding: 10px 16px;
border-radius: 14px;
border: 1px solid color-mix(in srgb, var(--theme-border) 78%, transparent);
background: color-mix(in srgb, var(--theme-surface-soft) 88%, transparent);
color: var(--theme-text);
cursor: pointer;
font-size: 14px;
font-weight: 800;
transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.btn:hover {
transform: translateY(-1px);
}
.btn:disabled {
opacity: 0.58;
cursor: default;
transform: none;
}
.btn--save {
min-width: 112px;
background: rgba(96, 165, 250, 0.22);
border-color: rgba(96, 165, 250, 0.36);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.08),
0 10px 18px rgba(59, 130, 246, 0.14);
}
.btn--save:hover {
background: rgba(96, 165, 250, 0.3);
}
.btn--ghost {
background: color-mix(in srgb, var(--theme-surface-soft) 86%, transparent);
}
@media (max-width: 860px) {
.commentsCard {
padding: 20px;

View File

@@ -246,13 +246,17 @@ watch(unreadOnly, loadInbox)
.commentInboxCard {
border-radius: 22px;
border: 1px solid var(--theme-card-border);
background: var(--theme-surface);
background: linear-gradient(180deg, color-mix(in srgb, var(--theme-surface) 92%, var(--theme-surface-soft)) 0%, var(--theme-surface) 100%);
overflow: hidden;
box-shadow:
inset 0 1px 0 color-mix(in srgb, white 5%, transparent),
0 14px 28px rgba(0, 0, 0, 0.06);
}
.commentInboxCard--unread {
border-color: color-mix(in srgb, var(--theme-accent) 48%, var(--theme-card-border));
box-shadow:
inset 0 0 0 1px color-mix(in srgb, var(--theme-accent) 38%, transparent),
0 14px 28px rgba(0, 0, 0, 0.08);
}
.commentInboxCard__body {
@@ -271,11 +275,11 @@ watch(unreadOnly, loadInbox)
.commentInboxCard__thumbWrap {
width: 100%;
aspect-ratio: 16 / 10;
aspect-ratio: 16 / 9;
border-radius: 18px;
overflow: hidden;
background: var(--theme-thumb-fallback-bg);
border: 1px solid color-mix(in srgb, var(--theme-card-border) 78%, transparent);
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--theme-card-border) 26%, transparent);
}
.commentInboxCard__thumb,
@@ -391,13 +395,17 @@ watch(unreadOnly, loadInbox)
.commentInboxCard__threadBlock {
padding: 14px 15px;
border-radius: 18px;
border: 1px solid var(--theme-card-border);
background: color-mix(in srgb, var(--theme-surface) 88%, var(--theme-surface-soft));
box-shadow:
inset 0 0 0 1px color-mix(in srgb, var(--theme-card-border) 20%, transparent),
0 8px 18px rgba(0, 0, 0, 0.04);
}
.commentInboxCard__threadBlock--accent {
border-color: color-mix(in srgb, var(--theme-accent) 38%, var(--theme-card-border));
background: color-mix(in srgb, var(--theme-accent) 10%, var(--theme-surface));
box-shadow:
inset 0 0 0 1px color-mix(in srgb, var(--theme-accent) 24%, transparent),
0 10px 20px rgba(59, 130, 246, 0.08);
}
.commentInboxCard__threadLabel {