feature/liquid-glass-ui: выравнивание заголовков, убрана призматика
- folder-header выровнен с message-list-header (min-height: 48px, flex align-items: center) — D.A.KOLESOV больше не ниже INBOX - FolderTree переведён на sticky-header: сам управляет скроллом, overflow-y убран из folder-pane в AppShell - Радужная призматика (--glass-prismatic) удалена из всех компонентов (folder-header, message-list-header, message-header, statusbar, thread-group, настройки, диалоги) — заменена на белый specular inset 0 1px 0 rgba(255,255,255,0.10–0.18) - Все панели AppShell получили единый верхний specular для coherence - MessageListItem: v-if на snippet + gap выровнен с ThreadListItem (3px) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
07e9c693c3
commit
166f7793c6
8 changed files with 40 additions and 78 deletions
|
|
@ -194,7 +194,7 @@ const isFormValid = computed(() => imapHost.value && imapUsername.value && imapP
|
|||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: var(--glass-prismatic);
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
pointer-events: none;
|
||||
z-index: 10;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -139,13 +139,14 @@ function stopResize(): void {
|
|||
rgba(9, 9, 15, 0.72);
|
||||
backdrop-filter: blur(28px) saturate(1.8);
|
||||
-webkit-backdrop-filter: blur(28px) saturate(1.8);
|
||||
overflow-y: auto;
|
||||
overflow: hidden;
|
||||
min-width: 180px;
|
||||
max-width: 400px;
|
||||
border-right: 1px solid rgba(255, 255, 255, 0.07);
|
||||
box-shadow:
|
||||
4px 0 22px rgba(0, 0, 0, 0.38),
|
||||
inset -1px 0 0 rgba(255, 255, 255, 0.03);
|
||||
inset -1px 0 0 rgba(255, 255, 255, 0.03),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
.message-pane {
|
||||
|
|
@ -163,7 +164,8 @@ function stopResize(): void {
|
|||
border-right: 1px solid rgba(255, 255, 255, 0.07);
|
||||
box-shadow:
|
||||
4px 0 18px rgba(0, 0, 0, 0.28),
|
||||
inset -1px 0 0 rgba(255, 255, 255, 0.03);
|
||||
inset -1px 0 0 rgba(255, 255, 255, 0.03),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
.preview-pane {
|
||||
|
|
@ -177,6 +179,7 @@ function stopResize(): void {
|
|||
-webkit-backdrop-filter: blur(18px) saturate(1.3);
|
||||
overflow: hidden;
|
||||
min-width: 0;
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.resize-handle {
|
||||
|
|
@ -237,7 +240,6 @@ function stopResize(): void {
|
|||
0 32px 80px rgba(0, 0, 0, 0.65);
|
||||
}
|
||||
|
||||
/* Призматический торец */
|
||||
.empty-content::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
|
|
@ -245,7 +247,8 @@ function stopResize(): void {
|
|||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: var(--glass-prismatic);
|
||||
background: rgba(255, 255, 255, 0.18);
|
||||
border-radius: 20px 20px 0 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -45,34 +45,20 @@ const isConnected = computed(() => {
|
|||
justify-content: space-between;
|
||||
height: var(--statusbar-height);
|
||||
padding: 0 14px;
|
||||
position: relative;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.008) 100%),
|
||||
rgba(9, 9, 14, 0.6);
|
||||
backdrop-filter: blur(28px) saturate(1.6);
|
||||
-webkit-backdrop-filter: blur(28px) saturate(1.6);
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.06),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.08),
|
||||
0 -2px 12px rgba(0, 0, 0, 0.18);
|
||||
font-size: 11px;
|
||||
color: var(--text-muted);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Призматическая верхняя грань */
|
||||
.statusbar::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: var(--glass-prismatic);
|
||||
pointer-events: none;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.connection-status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
|||
|
|
@ -442,10 +442,12 @@ async function handleSwipeAction(action: SwipeAction, messageId: string): Promis
|
|||
justify-content: space-between;
|
||||
padding: 10px 12px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
|
||||
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.22), 0 4px 14px rgba(0, 0, 0, 0.14);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.10),
|
||||
0 1px 0 rgba(0, 0, 0, 0.22),
|
||||
0 4px 14px rgba(0, 0, 0, 0.14);
|
||||
flex-shrink: 0;
|
||||
gap: 8px;
|
||||
position: relative;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.018) 100%),
|
||||
rgba(12, 12, 20, 0.65);
|
||||
|
|
@ -453,19 +455,6 @@ async function handleSwipeAction(action: SwipeAction, messageId: string): Promis
|
|||
-webkit-backdrop-filter: blur(24px) saturate(1.6);
|
||||
}
|
||||
|
||||
/* Призматическая верхняя грань */
|
||||
.message-list-header::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: var(--glass-prismatic);
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.folder-title {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
|
|
@ -888,7 +877,6 @@ async function handleSwipeAction(action: SwipeAction, messageId: string): Promis
|
|||
z-index: 1;
|
||||
}
|
||||
|
||||
/* Призматическая верхняя грань */
|
||||
.thread-group--open::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
|
|
@ -896,7 +884,7 @@ async function handleSwipeAction(action: SwipeAction, messageId: string): Promis
|
|||
top: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: var(--glass-prismatic);
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
pointer-events: none;
|
||||
z-index: 3;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -295,7 +295,7 @@ onUnmounted(() => {
|
|||
<div class="subject truncate" :class="{ 'font-bold': isUnread }">
|
||||
{{ message.subject }}
|
||||
</div>
|
||||
<div class="snippet truncate">{{ message.snippet }}</div>
|
||||
<div v-if="message.snippet" class="snippet truncate">{{ message.snippet }}</div>
|
||||
</div>
|
||||
|
||||
<div class="message-indicators">
|
||||
|
|
@ -473,7 +473,7 @@ onUnmounted(() => {
|
|||
.message-content {
|
||||
flex: 1; min-width: 0;
|
||||
display: flex; flex-direction: column;
|
||||
gap: 2px;
|
||||
gap: 3px;
|
||||
}
|
||||
.message-top {
|
||||
display: flex;
|
||||
|
|
|
|||
|
|
@ -169,7 +169,6 @@ onUnmounted(() => {
|
|||
.message-header {
|
||||
padding: 22px 26px 18px;
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.014) 100%),
|
||||
rgba(10, 10, 18, 0.55);
|
||||
|
|
@ -177,23 +176,10 @@ onUnmounted(() => {
|
|||
-webkit-backdrop-filter: blur(32px) saturate(1.8);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.10),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.12),
|
||||
0 4px 22px rgba(0, 0, 0, 0.20);
|
||||
}
|
||||
|
||||
/* Призматическая верхняя грань */
|
||||
.message-header::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: var(--glass-prismatic);
|
||||
pointer-events: none;
|
||||
opacity: 0.65;
|
||||
}
|
||||
|
||||
.subject {
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
|
|
|
|||
|
|
@ -34,37 +34,38 @@ const accountsStore = useAccountsStore()
|
|||
|
||||
<style scoped>
|
||||
.folder-tree {
|
||||
padding: 4px 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.folder-header {
|
||||
position: relative;
|
||||
padding: 11px 14px 9px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-height: 48px;
|
||||
padding: 0 14px;
|
||||
font-size: 10.5px;
|
||||
font-weight: 600;
|
||||
color: var(--text-muted);
|
||||
letter-spacing: 0.5px;
|
||||
text-transform: uppercase;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
||||
margin-bottom: 4px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%),
|
||||
rgba(12, 12, 20, 0.65);
|
||||
backdrop-filter: blur(24px) saturate(1.6);
|
||||
-webkit-backdrop-filter: blur(24px) saturate(1.6);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.06),
|
||||
0 2px 8px rgba(0, 0, 0, 0.12);
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.10),
|
||||
0 2px 8px rgba(0, 0, 0, 0.15);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Призматическая верхняя грань */
|
||||
.folder-header::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: var(--glass-prismatic);
|
||||
pointer-events: none;
|
||||
opacity: 0.45;
|
||||
.folder-list {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
.loading,
|
||||
|
|
|
|||
|
|
@ -252,7 +252,6 @@ function folderDisplayName(path: string): string {
|
|||
0 4px 20px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
/* Призматическая верхняя грань у каждой секции */
|
||||
.settings-content section::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
|
|
@ -260,10 +259,9 @@ function folderDisplayName(path: string): string {
|
|||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: var(--glass-prismatic);
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
border-radius: var(--radius-xl) var(--radius-xl) 0 0;
|
||||
pointer-events: none;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.settings-content h2 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue