clay-server 5.6.0-beta.1 → 5.6.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* Shared backing layers for navigation and pane chrome. Keep the filter on
|
|
2
2
|
a backing layer so fixed-position controls retain their original viewport. */
|
|
3
3
|
:root {
|
|
4
4
|
--chrome-material-blur: 14px;
|
|
5
5
|
--chrome-material-saturation: 1.08;
|
|
6
6
|
--chrome-material-tint: 74%;
|
|
7
|
-
--topbar-material-tint: 88%;
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
:is(#top-bar, :where(#navigation-island) > #icon-strip, #sidebar-column, #mate-sidebar-column, .title-bar-content,
|
|
@@ -27,10 +26,16 @@
|
|
|
27
26
|
--chrome-material-solid: var(--sidebar-bg);
|
|
28
27
|
}
|
|
29
28
|
|
|
30
|
-
/*
|
|
29
|
+
/* Navigation is denser and more diffuse than pane chrome. */
|
|
30
|
+
:is(:where(#navigation-island) > #icon-strip, #sidebar-column, #mate-sidebar-column) {
|
|
31
|
+
--chrome-material-tint: 90%;
|
|
32
|
+
--chrome-material-blur: 24px;
|
|
33
|
+
--chrome-material-saturation: 1.04;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* The global menu stays fully opaque, independently of navigation glass. */
|
|
31
37
|
#top-bar {
|
|
32
38
|
--chrome-material-solid: var(--sidebar-bg);
|
|
33
|
-
--chrome-material-tint: var(--topbar-material-tint);
|
|
34
39
|
/* Preserve the toolbar popover layer above chat and below contextual Clay. */
|
|
35
40
|
z-index: 150;
|
|
36
41
|
}
|
|
@@ -69,7 +74,7 @@ body.mate-workspace-active :is(#sidebar-column, .title-bar-content) {
|
|
|
69
74
|
}
|
|
70
75
|
|
|
71
76
|
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) and (background: color-mix(in srgb, black 74%, transparent)) {
|
|
72
|
-
:is(
|
|
77
|
+
:is(:where(#navigation-island) > #icon-strip, #sidebar-column, #mate-sidebar-column, .title-bar-content,
|
|
73
78
|
.split-pane-header, .tool-pane-header, .terminal-header,
|
|
74
79
|
.file-viewer-tabbar, .shared-browser-header, .dm-header-bar, #contextual-clay > header) {
|
|
75
80
|
--chrome-material-fill: color-mix(in srgb, var(--chrome-material-solid) var(--chrome-material-tint), transparent);
|
|
@@ -80,6 +85,9 @@ body.mate-workspace-active :is(#sidebar-column, .title-bar-content) {
|
|
|
80
85
|
/* The mobile drawer owns its existing fixed positioning and touch behavior. */
|
|
81
86
|
@media (max-width: 768px) {
|
|
82
87
|
#sidebar {
|
|
88
|
+
--chrome-material-tint: 90%;
|
|
89
|
+
--chrome-material-blur: 24px;
|
|
90
|
+
--chrome-material-saturation: 1.04;
|
|
83
91
|
--chrome-material-solid: var(--sidebar-bg);
|
|
84
92
|
--chrome-material-fill: var(--chrome-material-solid);
|
|
85
93
|
--chrome-material-filter: none;
|
|
@@ -132,51 +140,11 @@ body.mate-workspace-active :is(#sidebar-column, .title-bar-content) {
|
|
|
132
140
|
/* Browser tabs live inside the shared header, rather than its content body. */
|
|
133
141
|
.tool-pane-material > .tool-pane-header > .shared-browser-tabs { background: transparent; }
|
|
134
142
|
|
|
135
|
-
/* Reading
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
body.pane-mode,
|
|
143
|
-
body.pane-mode :is(#layout, #layout-body, #main-area, #main-column, #main-panels, #app) {
|
|
144
|
-
background: transparent;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@media (min-width: 769px) {
|
|
148
|
-
body:not(.pane-mode) #app {
|
|
149
|
-
isolation: isolate;
|
|
150
|
-
background: transparent;
|
|
151
|
-
}
|
|
152
|
-
body:not(.pane-mode) #app::before {
|
|
153
|
-
content: "";
|
|
154
|
-
position: absolute;
|
|
155
|
-
inset: 0;
|
|
156
|
-
z-index: -1;
|
|
157
|
-
border-radius: inherit;
|
|
158
|
-
background: var(--chat-material-fill);
|
|
159
|
-
-webkit-backdrop-filter: var(--chat-material-filter);
|
|
160
|
-
backdrop-filter: var(--chat-material-filter);
|
|
161
|
-
pointer-events: none;
|
|
162
|
-
}
|
|
163
|
-
body:not(.pane-mode) .split-pane-frame {
|
|
164
|
-
background: var(--chat-material-fill);
|
|
165
|
-
-webkit-backdrop-filter: var(--chat-material-filter);
|
|
166
|
-
backdrop-filter: var(--chat-material-filter);
|
|
167
|
-
}
|
|
168
|
-
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) and (background: color-mix(in srgb, black 90%, transparent)) {
|
|
169
|
-
:root {
|
|
170
|
-
--chat-material-fill: color-mix(in srgb, var(--bg) 90%, transparent);
|
|
171
|
-
--chat-material-filter: blur(24px) saturate(1.04);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
/* Preserve solid reading surfaces for accessibility and unsupported browsers. */
|
|
177
|
-
@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
|
|
178
|
-
:root {
|
|
179
|
-
--chat-material-fill: var(--bg);
|
|
180
|
-
--chat-material-filter: none;
|
|
181
|
-
}
|
|
143
|
+
/* Reading surfaces stay opaque in project, embedded and native Mate chats.
|
|
144
|
+
Navigation and pane headers retain their independent backing materials. */
|
|
145
|
+
#app,
|
|
146
|
+
.split-pane-frame {
|
|
147
|
+
background: var(--bg);
|
|
148
|
+
-webkit-backdrop-filter: none;
|
|
149
|
+
backdrop-filter: none;
|
|
182
150
|
}
|
|
@@ -259,3 +259,67 @@ body.projects-active:not(.projects-shell) #layout-body {
|
|
|
259
259
|
#terminal-toggle-btn #terminal-count.hidden,
|
|
260
260
|
#sticky-notes-toggle-btn .sticky-notes-count.hidden,
|
|
261
261
|
#notif-center-btn .notif-badge.hidden { display: none; }
|
|
262
|
+
|
|
263
|
+
/* Sidebar controls share the navigation face without bright floating tiles. */
|
|
264
|
+
:is(#sidebar-column, #mate-sidebar-column, #sidebar, #icon-strip) {
|
|
265
|
+
--navigation-face: color-mix(in srgb, var(--brand-paper) 7%, transparent);
|
|
266
|
+
--navigation-hover: color-mix(in srgb, var(--text) 5%, var(--navigation-face));
|
|
267
|
+
--navigation-inset: color-mix(in srgb, var(--text) 7%, transparent);
|
|
268
|
+
}
|
|
269
|
+
:is(#sidebar-column, #mate-sidebar-column) .palette-tile > .lucide,
|
|
270
|
+
body.mate-workspace-active #sidebar-column .palette-tile:not(:hover):not(.active) > .lucide,
|
|
271
|
+
body.clay-workspace-active #sidebar-column #you-button.palette-tile > .lucide {
|
|
272
|
+
background: transparent;
|
|
273
|
+
box-shadow: none;
|
|
274
|
+
}
|
|
275
|
+
:is(#sidebar-column, #mate-sidebar-column) .palette-tile:hover > .lucide,
|
|
276
|
+
body.mate-workspace-active #sidebar-column .palette-tile:hover > .lucide,
|
|
277
|
+
body.clay-workspace-active #sidebar-column #you-button.palette-tile:hover > .lucide {
|
|
278
|
+
background: var(--navigation-hover);
|
|
279
|
+
box-shadow: none;
|
|
280
|
+
}
|
|
281
|
+
:is(#sidebar-column, #mate-sidebar-column) .palette-tile.active > .lucide,
|
|
282
|
+
body.mate-workspace-active #sidebar-column .palette-tile.active > .lucide,
|
|
283
|
+
body.clay-workspace-active #sidebar-column #you-button.palette-tile.active > .lucide {
|
|
284
|
+
background: color-mix(in srgb, var(--accent) 8%, var(--navigation-face));
|
|
285
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 48%, var(--border));
|
|
286
|
+
}
|
|
287
|
+
:is(#sidebar-column, #mate-sidebar-column) .palette-tile:active > .lucide {
|
|
288
|
+
transform: translateY(1px);
|
|
289
|
+
}
|
|
290
|
+
:is(#sidebar-column, #mate-sidebar-column) .sidebar-badge {
|
|
291
|
+
background: var(--navigation-inset);
|
|
292
|
+
color: var(--text-muted);
|
|
293
|
+
box-shadow: inset 0 1px 1px rgba(var(--shadow-rgb), .08);
|
|
294
|
+
}
|
|
295
|
+
#sidebar-column #sticky-notes-sidebar-count:hover {
|
|
296
|
+
background: var(--accent);
|
|
297
|
+
color: #fff;
|
|
298
|
+
}
|
|
299
|
+
#icon-strip :is(.icon-strip-item, .icon-strip-home)::before,
|
|
300
|
+
#icon-strip .icon-strip-filter-face,
|
|
301
|
+
#icon-strip .icon-strip-hint {
|
|
302
|
+
background: var(--navigation-face);
|
|
303
|
+
box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .04);
|
|
304
|
+
}
|
|
305
|
+
#icon-strip :is(.icon-strip-item, .icon-strip-home):hover::before,
|
|
306
|
+
#icon-strip .icon-strip-filter-knob:hover .icon-strip-filter-face,
|
|
307
|
+
#icon-strip .icon-strip-hint:hover {
|
|
308
|
+
background: var(--navigation-hover);
|
|
309
|
+
box-shadow: 0 1px 3px rgba(var(--shadow-rgb), .07);
|
|
310
|
+
}
|
|
311
|
+
#icon-strip :is(.icon-strip-item, .icon-strip-home).active::before {
|
|
312
|
+
background: color-mix(in srgb, var(--accent) 7%, var(--navigation-face));
|
|
313
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, var(--border)),
|
|
314
|
+
0 1px 3px rgba(var(--shadow-rgb), .07);
|
|
315
|
+
}
|
|
316
|
+
/* Unread colors remain semantic; only the bright surrounding rim is softened. */
|
|
317
|
+
#icon-strip :is(.icon-strip-project-badge, .icon-strip-user-badge) {
|
|
318
|
+
box-shadow: 0 0 0 2px var(--navigation-face);
|
|
319
|
+
}
|
|
320
|
+
#sidebar-column .git-placard {
|
|
321
|
+
background: var(--navigation-face);
|
|
322
|
+
}
|
|
323
|
+
#sidebar-column :is(.git-placard-more, .git-placard-badge) {
|
|
324
|
+
background: var(--navigation-inset);
|
|
325
|
+
}
|