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;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
background: #07070c;
|
||||
}
|
||||
|
||||
.content-area {
|
||||
|
|
@ -111,6 +112,8 @@ function stopResize(): void {
|
|||
flex: 1;
|
||||
overflow: hidden;
|
||||
min-height: 0;
|
||||
padding: 8px 8px 6px;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.account-bar {
|
||||
|
|
@ -118,93 +121,104 @@ function stopResize(): void {
|
|||
flex-shrink: 0;
|
||||
position: relative;
|
||||
z-index: 4;
|
||||
border-radius: 14px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.09);
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%),
|
||||
rgba(8, 8, 13, 0.82);
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%),
|
||||
rgba(8, 8, 13, 0.88);
|
||||
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:
|
||||
4px 0 28px rgba(0, 0, 0, 0.55),
|
||||
inset -1px 0 0 rgba(255, 255, 255, 0.04),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.12),
|
||||
0 8px 32px rgba(0, 0, 0, 0.50);
|
||||
}
|
||||
|
||||
.folder-pane {
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
border-radius: 14px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%),
|
||||
rgba(9, 9, 15, 0.72);
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%),
|
||||
rgba(9, 9, 15, 0.80);
|
||||
backdrop-filter: blur(28px) saturate(1.8);
|
||||
-webkit-backdrop-filter: blur(28px) saturate(1.8);
|
||||
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 0 1px 0 rgba(255, 255, 255, 0.06);
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.10),
|
||||
0 8px 28px rgba(0, 0, 0, 0.40);
|
||||
}
|
||||
|
||||
.message-pane {
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
border-radius: 14px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%),
|
||||
rgba(10, 10, 17, 0.62);
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%),
|
||||
rgba(10, 10, 17, 0.72);
|
||||
backdrop-filter: blur(22px) saturate(1.5);
|
||||
-webkit-backdrop-filter: blur(22px) saturate(1.5);
|
||||
overflow: hidden;
|
||||
min-width: 240px;
|
||||
max-width: 600px;
|
||||
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 0 1px 0 rgba(255, 255, 255, 0.06);
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.09),
|
||||
0 8px 28px rgba(0, 0, 0, 0.38);
|
||||
}
|
||||
|
||||
.preview-pane {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
border-radius: 14px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%),
|
||||
rgba(10, 10, 17, 0.45);
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%),
|
||||
rgba(10, 10, 17, 0.55);
|
||||
backdrop-filter: blur(18px) saturate(1.3);
|
||||
-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);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.08),
|
||||
0 8px 28px rgba(0, 0, 0, 0.32);
|
||||
}
|
||||
|
||||
.resize-handle {
|
||||
width: 1px;
|
||||
width: 8px;
|
||||
flex-shrink: 0;
|
||||
background: transparent;
|
||||
cursor: col-resize;
|
||||
position: relative;
|
||||
transition: background var(--transition-fast);
|
||||
}
|
||||
|
||||
.resize-handle::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0 -3px;
|
||||
inset: 0 -2px;
|
||||
cursor: col-resize;
|
||||
}
|
||||
|
||||
.resize-handle:hover,
|
||||
.resize-handle:active {
|
||||
background: color-mix(in srgb, var(--accent) 40%, transparent);
|
||||
.resize-handle:hover::after,
|
||||
.resize-handle:active::after {
|
||||
background: color-mix(in srgb, var(--accent) 25%, transparent);
|
||||
border-radius: 9999px;
|
||||
width: 3px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.statusbar {
|
||||
flex-shrink: 0;
|
||||
margin: 0 8px 8px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.07);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
|
|
|
|||
|
|
@ -50,10 +50,7 @@ const isConnected = computed(() => {
|
|||
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.08);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.08),
|
||||
0 -2px 12px rgba(0, 0, 0, 0.18);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
||||
font-size: 11px;
|
||||
color: var(--text-muted);
|
||||
flex-shrink: 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue