feature/liquid-glass-ui: glass-карточка вложений + выравнивание отступов
- AttachmentStrip: теперь glass-карточка как MessageBody — margin 10px 14px 0, border-radius 12px, backdrop-filter, inset specular, убран border-bottom - MessageBody: margin-top 8px (зазор после attachment-карточки) - MessagePreview: loading-body margin-top 10px (зазор от header) - Единая система отступов: header → card(10px) → card(8px) → bottom(14px) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
60131138fd
commit
2ce5003e52
3 changed files with 9 additions and 10 deletions
|
|
@ -162,17 +162,16 @@ async function handleClick(att: Attachment): Promise<void> {
|
|||
<style scoped>
|
||||
.attachment-strip {
|
||||
flex-shrink: 0;
|
||||
padding: 10px 16px;
|
||||
position: relative;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.032) 0%, rgba(255, 255, 255, 0.008) 100%),
|
||||
rgba(10, 10, 18, 0.5);
|
||||
margin: 10px 14px 0;
|
||||
padding: 12px 14px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
background: rgba(10, 10, 16, 0.72);
|
||||
backdrop-filter: blur(20px) saturate(1.5);
|
||||
-webkit-backdrop-filter: blur(20px) saturate(1.5);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.06),
|
||||
0 2px 12px rgba(0, 0, 0, 0.15);
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.08),
|
||||
0 4px 16px rgba(0, 0, 0, 0.22);
|
||||
}
|
||||
|
||||
.strip-label {
|
||||
|
|
|
|||
|
|
@ -265,7 +265,7 @@ onUnmounted(() => {
|
|||
.message-body {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
margin: 10px 14px 14px;
|
||||
margin: 8px 14px 14px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
box-shadow:
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ const selectedMessage = computed(() =>
|
|||
gap: 14px;
|
||||
color: var(--text-muted);
|
||||
font-size: 13px;
|
||||
margin: 0 14px 14px;
|
||||
margin: 10px 14px 14px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.06);
|
||||
background: rgba(10, 10, 16, 0.60);
|
||||
|
|
|
|||
Loading…
Reference in a new issue