feature/liquid-glass-ui: все панели — floating glass-карточки
- app-shell: background #07070c — тёмная подложка между карточками - content-area: padding 8px 8px 6px — воздух вокруг карточек - account-bar, folder-pane, message-pane, preview-pane: border-radius 14px, border 1px solid rgba(255,255,255,0.08-0.09), inset specular, box-shadow 0 8px 28-32px — плавающие glass-карточки Убраны border-right разделители — заменены зазором 8px между панелями - resize-handle: width 8px (воздух между панелями), hover — тонкая accent-полоска по центру зазора - StatusBar: margin 0 8px 8px, border-radius 10px — тоже карточка Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a7298088b5
commit
d787f6b7d0
2 changed files with 42 additions and 31 deletions
|
|
@ -104,6 +104,7 @@ function stopResize(): void {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
background: #07070c;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-area {
|
.content-area {
|
||||||
|
|
@ -111,6 +112,8 @@ function stopResize(): void {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
|
padding: 8px 8px 6px;
|
||||||
|
gap: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.account-bar {
|
.account-bar {
|
||||||
|
|
@ -118,93 +121,104 @@ function stopResize(): void {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 4;
|
z-index: 4;
|
||||||
|
border-radius: 14px;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.09);
|
||||||
background:
|
background:
|
||||||
linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%),
|
linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%),
|
||||||
rgba(8, 8, 13, 0.82);
|
rgba(8, 8, 13, 0.88);
|
||||||
backdrop-filter: blur(40px) saturate(2.0);
|
backdrop-filter: blur(40px) saturate(2.0);
|
||||||
-webkit-backdrop-filter: blur(40px) saturate(2.0);
|
-webkit-backdrop-filter: blur(40px) saturate(2.0);
|
||||||
border-right: 1px solid rgba(255, 255, 255, 0.08);
|
|
||||||
box-shadow:
|
box-shadow:
|
||||||
4px 0 28px rgba(0, 0, 0, 0.55),
|
inset 0 1px 0 rgba(255, 255, 255, 0.12),
|
||||||
inset -1px 0 0 rgba(255, 255, 255, 0.04),
|
0 8px 32px rgba(0, 0, 0, 0.50);
|
||||||
inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.folder-pane {
|
.folder-pane {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
|
border-radius: 14px;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
background:
|
background:
|
||||||
linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%),
|
linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%),
|
||||||
rgba(9, 9, 15, 0.72);
|
rgba(9, 9, 15, 0.80);
|
||||||
backdrop-filter: blur(28px) saturate(1.8);
|
backdrop-filter: blur(28px) saturate(1.8);
|
||||||
-webkit-backdrop-filter: blur(28px) saturate(1.8);
|
-webkit-backdrop-filter: blur(28px) saturate(1.8);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
min-width: 180px;
|
min-width: 180px;
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
border-right: 1px solid rgba(255, 255, 255, 0.07);
|
|
||||||
box-shadow:
|
box-shadow:
|
||||||
4px 0 22px rgba(0, 0, 0, 0.38),
|
inset 0 1px 0 rgba(255, 255, 255, 0.10),
|
||||||
inset -1px 0 0 rgba(255, 255, 255, 0.03),
|
0 8px 28px rgba(0, 0, 0, 0.40);
|
||||||
inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-pane {
|
.message-pane {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
border-radius: 14px;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
background:
|
background:
|
||||||
linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%),
|
linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%),
|
||||||
rgba(10, 10, 17, 0.62);
|
rgba(10, 10, 17, 0.72);
|
||||||
backdrop-filter: blur(22px) saturate(1.5);
|
backdrop-filter: blur(22px) saturate(1.5);
|
||||||
-webkit-backdrop-filter: blur(22px) saturate(1.5);
|
-webkit-backdrop-filter: blur(22px) saturate(1.5);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
min-width: 240px;
|
min-width: 240px;
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
border-right: 1px solid rgba(255, 255, 255, 0.07);
|
|
||||||
box-shadow:
|
box-shadow:
|
||||||
4px 0 18px rgba(0, 0, 0, 0.28),
|
inset 0 1px 0 rgba(255, 255, 255, 0.09),
|
||||||
inset -1px 0 0 rgba(255, 255, 255, 0.03),
|
0 8px 28px rgba(0, 0, 0, 0.38);
|
||||||
inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.preview-pane {
|
.preview-pane {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
border-radius: 14px;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
background:
|
background:
|
||||||
linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%),
|
linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%),
|
||||||
rgba(10, 10, 17, 0.45);
|
rgba(10, 10, 17, 0.55);
|
||||||
backdrop-filter: blur(18px) saturate(1.3);
|
backdrop-filter: blur(18px) saturate(1.3);
|
||||||
-webkit-backdrop-filter: blur(18px) saturate(1.3);
|
-webkit-backdrop-filter: blur(18px) saturate(1.3);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
box-shadow:
|
||||||
|
inset 0 1px 0 rgba(255, 255, 255, 0.08),
|
||||||
|
0 8px 28px rgba(0, 0, 0, 0.32);
|
||||||
}
|
}
|
||||||
|
|
||||||
.resize-handle {
|
.resize-handle {
|
||||||
width: 1px;
|
width: 8px;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
cursor: col-resize;
|
cursor: col-resize;
|
||||||
position: relative;
|
position: relative;
|
||||||
transition: background var(--transition-fast);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.resize-handle::after {
|
.resize-handle::after {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0 -3px;
|
inset: 0 -2px;
|
||||||
cursor: col-resize;
|
cursor: col-resize;
|
||||||
}
|
}
|
||||||
|
|
||||||
.resize-handle:hover,
|
.resize-handle:hover::after,
|
||||||
.resize-handle:active {
|
.resize-handle:active::after {
|
||||||
background: color-mix(in srgb, var(--accent) 40%, transparent);
|
background: color-mix(in srgb, var(--accent) 25%, transparent);
|
||||||
|
border-radius: 9999px;
|
||||||
|
width: 3px;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.statusbar {
|
.statusbar {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
margin: 0 8px 8px;
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.07);
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.empty-state {
|
.empty-state {
|
||||||
|
|
|
||||||
|
|
@ -50,10 +50,7 @@ const isConnected = computed(() => {
|
||||||
rgba(9, 9, 14, 0.6);
|
rgba(9, 9, 14, 0.6);
|
||||||
backdrop-filter: blur(28px) saturate(1.6);
|
backdrop-filter: blur(28px) saturate(1.6);
|
||||||
-webkit-backdrop-filter: blur(28px) saturate(1.6);
|
-webkit-backdrop-filter: blur(28px) saturate(1.6);
|
||||||
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
||||||
box-shadow:
|
|
||||||
inset 0 1px 0 rgba(255, 255, 255, 0.08),
|
|
||||||
0 -2px 12px rgba(0, 0, 0, 0.18);
|
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue