улучшение: liquid glass для заголовка письма
- .message-header: blur(28px) saturate(1.7), градиентный фон, inset-блик сверху, тень вниз - .header-details: стеклянная карточка — border-radius, border, inset-highlight; строки разделены тонкими сепараторами с hover - .label: uppercase с letter-spacing, font-weight 500 - .badge: inline-flex с gap, glass pill — inset-highlight + тень - .badge.flagged: оранжевый glow наружу и внутрь + hover усиливает Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
123fa2ceaa
commit
aba4b7fd60
1 changed files with 77 additions and 19 deletions
|
|
@ -58,70 +58,128 @@ const dateDisplay = computed(() => formatFullDate(props.message.date))
|
|||
|
||||
<style scoped>
|
||||
.message-header {
|
||||
padding: 20px 24px 16px;
|
||||
border-bottom: 1px solid var(--glass-border);
|
||||
padding: 22px 26px 18px;
|
||||
flex-shrink: 0;
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
backdrop-filter: var(--blur-sm);
|
||||
-webkit-backdrop-filter: var(--blur-sm);
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.012) 100%),
|
||||
rgba(10, 10, 18, 0.5);
|
||||
backdrop-filter: blur(28px) saturate(1.7);
|
||||
-webkit-backdrop-filter: blur(28px) saturate(1.7);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.09),
|
||||
0 4px 20px rgba(0, 0, 0, 0.18);
|
||||
}
|
||||
|
||||
.subject {
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 14px;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.4;
|
||||
color: var(--text-primary);
|
||||
overflow-wrap: anywhere;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
/* Детали в стеклянной карточке */
|
||||
.header-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
gap: 0;
|
||||
background: rgba(255, 255, 255, 0.035);
|
||||
border: 1px solid rgba(255, 255, 255, 0.07);
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.06),
|
||||
0 2px 8px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
.header-row {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
gap: 0;
|
||||
font-size: 12px;
|
||||
align-items: baseline;
|
||||
padding: 6px 12px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
|
||||
transition: background var(--transition-fast);
|
||||
}
|
||||
|
||||
.header-row:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.header-row:hover {
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
}
|
||||
|
||||
.label {
|
||||
color: var(--text-muted);
|
||||
min-width: 48px;
|
||||
min-width: 52px;
|
||||
flex-shrink: 0;
|
||||
font-size: 11px;
|
||||
font-size: 10.5px;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
padding-top: 1px;
|
||||
}
|
||||
|
||||
.value {
|
||||
color: var(--text-secondary);
|
||||
overflow-wrap: anywhere;
|
||||
line-height: 1.5;
|
||||
line-height: 1.6;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
/* Бейджи */
|
||||
.header-badges {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
margin-top: 12px;
|
||||
margin-top: 14px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
font-size: 11px;
|
||||
padding: 2px 8px;
|
||||
font-weight: 500;
|
||||
padding: 4px 10px;
|
||||
border-radius: var(--radius-full);
|
||||
background: var(--glass-bg-raised);
|
||||
background: rgba(255, 255, 255, 0.07);
|
||||
color: var(--text-secondary);
|
||||
border: 1px solid var(--glass-border);
|
||||
backdrop-filter: var(--blur-sm);
|
||||
-webkit-backdrop-filter: var(--blur-sm);
|
||||
border: 1px solid rgba(255, 255, 255, 0.11);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.1),
|
||||
0 2px 6px rgba(0, 0, 0, 0.2);
|
||||
transition: background var(--transition-fast), box-shadow var(--transition-fast);
|
||||
}
|
||||
|
||||
.badge:hover {
|
||||
background: rgba(255, 255, 255, 0.11);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.13),
|
||||
0 3px 10px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.badge.flagged {
|
||||
color: var(--warning);
|
||||
background: rgba(229, 160, 0, 0.12);
|
||||
border-color: rgba(229, 160, 0, 0.3);
|
||||
background: rgba(229, 160, 0, 0.1);
|
||||
border-color: rgba(229, 160, 0, 0.28);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 200, 50, 0.12),
|
||||
0 2px 8px rgba(180, 120, 0, 0.2),
|
||||
0 0 14px rgba(229, 160, 0, 0.08);
|
||||
}
|
||||
|
||||
.badge.flagged:hover {
|
||||
background: rgba(229, 160, 0, 0.16);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 200, 50, 0.18),
|
||||
0 3px 12px rgba(180, 120, 0, 0.3),
|
||||
0 0 18px rgba(229, 160, 0, 0.12);
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in a new issue