clay-server 5.6.0-beta.2 → 5.6.0-beta.3
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.
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
--chrome-material-solid: var(--sidebar-bg);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
/* Navigation
|
|
29
|
+
/* Navigation alone uses a softly blurred backing. */
|
|
30
30
|
:is(:where(#navigation-island) > #icon-strip, #sidebar-column, #mate-sidebar-column) {
|
|
31
31
|
--chrome-material-tint: 90%;
|
|
32
32
|
--chrome-material-blur: 24px;
|
|
@@ -74,9 +74,7 @@ body.mate-workspace-active :is(#sidebar-column, .title-bar-content) {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) and (background: color-mix(in srgb, black 74%, transparent)) {
|
|
77
|
-
:is(:where(#navigation-island) > #icon-strip, #sidebar-column, #mate-sidebar-column
|
|
78
|
-
.split-pane-header, .tool-pane-header, .terminal-header,
|
|
79
|
-
.file-viewer-tabbar, .shared-browser-header, .dm-header-bar, #contextual-clay > header) {
|
|
77
|
+
:is(:where(#navigation-island) > #icon-strip, #sidebar-column, #mate-sidebar-column) {
|
|
80
78
|
--chrome-material-fill: color-mix(in srgb, var(--chrome-material-solid) var(--chrome-material-tint), transparent);
|
|
81
79
|
--chrome-material-filter: blur(var(--chrome-material-blur)) saturate(var(--chrome-material-saturation));
|
|
82
80
|
}
|
|
@@ -141,7 +139,7 @@ body.mate-workspace-active :is(#sidebar-column, .title-bar-content) {
|
|
|
141
139
|
.tool-pane-material > .tool-pane-header > .shared-browser-tabs { background: transparent; }
|
|
142
140
|
|
|
143
141
|
/* Reading surfaces stay opaque in project, embedded and native Mate chats.
|
|
144
|
-
|
|
142
|
+
Pane headers also stay opaque; navigation retains its glass backing. */
|
|
145
143
|
#app,
|
|
146
144
|
.split-pane-frame {
|
|
147
145
|
background: var(--bg);
|
|
@@ -323,3 +323,111 @@ body.clay-workspace-active #sidebar-column #you-button.palette-tile.active > .lu
|
|
|
323
323
|
#sidebar-column :is(.git-placard-more, .git-placard-badge) {
|
|
324
324
|
background: var(--navigation-inset);
|
|
325
325
|
}
|
|
326
|
+
|
|
327
|
+
/* Navigation foregrounds stay readable over the composited glass. */
|
|
328
|
+
:is(#sidebar-column, #mate-sidebar-column, #sidebar, #icon-strip) {
|
|
329
|
+
--navigation-foreground: color-mix(in srgb, var(--text) 88%, var(--sidebar-bg));
|
|
330
|
+
--navigation-secondary: color-mix(in srgb, var(--text) 80%, var(--sidebar-bg));
|
|
331
|
+
}
|
|
332
|
+
:is(#sidebar-column, #mate-sidebar-column) .palette-tile:not(:disabled):not(#you-button),
|
|
333
|
+
:is(#sidebar-column, #mate-sidebar-column) .palette-tile:not(:disabled):not(#you-button) > .lucide,
|
|
334
|
+
:is(#sidebar-column, #mate-sidebar-column) .session-folder-toggle:not(:disabled) {
|
|
335
|
+
color: var(--navigation-foreground);
|
|
336
|
+
}
|
|
337
|
+
:is(#sidebar-column, #mate-sidebar-column, #sidebar) :is(.session-folder-count,
|
|
338
|
+
.session-date-group-count, .session-group-header-label, .session-folder-empty,
|
|
339
|
+
.session-favorites-empty, .session-item-age, .sidebar-badge),
|
|
340
|
+
#sidebar-column :is(.git-placard-branch, .git-placard-remote,
|
|
341
|
+
.git-placard-stat:not(.git-placard-stat-warn)),
|
|
342
|
+
#sidebar-column .git-placard-more:not(:disabled) {
|
|
343
|
+
color: var(--navigation-secondary);
|
|
344
|
+
}
|
|
345
|
+
:is(#sidebar-column, #mate-sidebar-column, #sidebar) :is(.session-folder-empty,
|
|
346
|
+
.session-favorites-empty) {
|
|
347
|
+
opacity: 1;
|
|
348
|
+
}
|
|
349
|
+
:is(#sidebar-column, #mate-sidebar-column, #sidebar) :is(.session-folder-tool,
|
|
350
|
+
.session-group-clear-btn, .session-search-clear):not(:disabled):not(.is-create):not([aria-expanded="true"]) {
|
|
351
|
+
color: var(--navigation-secondary);
|
|
352
|
+
}
|
|
353
|
+
#icon-strip :is(.icon-strip-filter-label, .icon-strip-hint) {
|
|
354
|
+
color: var(--navigation-secondary);
|
|
355
|
+
}
|
|
356
|
+
#icon-strip .icon-strip-hint { opacity: 1; }
|
|
357
|
+
:is(#sidebar-column, #mate-sidebar-column, #sidebar) .session-folder-tool {
|
|
358
|
+
white-space: nowrap;
|
|
359
|
+
}
|
|
360
|
+
/* Layer darker translucent faces onto navigation instead of outlining tiles. */
|
|
361
|
+
:is(#sidebar-column, #mate-sidebar-column, #sidebar, #icon-strip) {
|
|
362
|
+
--navigation-layer: rgba(0, 0, 0, .08);
|
|
363
|
+
--navigation-layer-hover: rgba(0, 0, 0, .14);
|
|
364
|
+
--navigation-card: rgba(0, 0, 0, .05);
|
|
365
|
+
}
|
|
366
|
+
.dark-theme :is(#sidebar-column, #mate-sidebar-column, #sidebar, #icon-strip) {
|
|
367
|
+
--navigation-layer: rgba(0, 0, 0, .24);
|
|
368
|
+
--navigation-layer-hover: rgba(0, 0, 0, .36);
|
|
369
|
+
--navigation-card: rgba(0, 0, 0, .18);
|
|
370
|
+
}
|
|
371
|
+
#icon-strip .icon-strip-item[data-slug]:not(:has(.project-emoji, img)) {
|
|
372
|
+
color: var(--text);
|
|
373
|
+
}
|
|
374
|
+
#icon-strip .icon-strip-item[data-slug]:not(:has(.project-emoji, img)):not(.active)::before {
|
|
375
|
+
background: var(--navigation-layer);
|
|
376
|
+
box-shadow: none;
|
|
377
|
+
}
|
|
378
|
+
#icon-strip .icon-strip-item[data-slug]:not(:has(.project-emoji, img)):hover:not(.active)::before {
|
|
379
|
+
background: var(--navigation-layer-hover);
|
|
380
|
+
}
|
|
381
|
+
:is(#sidebar-column, #mate-sidebar-column, #sidebar) :is(.session-folder-tool,
|
|
382
|
+
.session-folder-new-btn, #mate-new-session-btn):not(:disabled):not(.is-create) {
|
|
383
|
+
background: var(--navigation-layer);
|
|
384
|
+
color: var(--text);
|
|
385
|
+
}
|
|
386
|
+
:is(#sidebar-column, #mate-sidebar-column, #sidebar) :is(.session-folder-tool,
|
|
387
|
+
.session-folder-new-btn, #mate-new-session-btn):hover:not(:disabled):not(.is-create) {
|
|
388
|
+
background: var(--navigation-layer-hover);
|
|
389
|
+
}
|
|
390
|
+
#sidebar-column .git-placard {
|
|
391
|
+
background: var(--navigation-card);
|
|
392
|
+
border-color: transparent;
|
|
393
|
+
}
|
|
394
|
+
#sidebar-column .git-placard-more:not(:disabled) {
|
|
395
|
+
background: var(--navigation-layer);
|
|
396
|
+
border-color: transparent;
|
|
397
|
+
color: var(--text);
|
|
398
|
+
}
|
|
399
|
+
#sidebar-column .git-placard-more:hover {
|
|
400
|
+
background: var(--navigation-layer-hover);
|
|
401
|
+
color: var(--text);
|
|
402
|
+
}
|
|
403
|
+
#sidebar-column .git-placard-badge:not(.git-placard-badge-warn) {
|
|
404
|
+
border-color: transparent;
|
|
405
|
+
color: var(--navigation-secondary);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
/* Compact row actions share the navigation's filled layers. */
|
|
409
|
+
:is(#sidebar-column, #mate-sidebar-column, #sidebar) :is(.session-folder-star-btn, .session-close-btn:not(.armed)) {
|
|
410
|
+
background: var(--navigation-layer);
|
|
411
|
+
color: var(--text);
|
|
412
|
+
border-radius: 5px;
|
|
413
|
+
padding: 0;
|
|
414
|
+
}
|
|
415
|
+
:is(#sidebar-column, #mate-sidebar-column, #sidebar) :is(.session-item, .session-loop-child):is(:hover, :focus-within) :is(.session-folder-star-btn, .session-close-btn) {
|
|
416
|
+
opacity: 1;
|
|
417
|
+
}
|
|
418
|
+
:is(#sidebar-column, #mate-sidebar-column, #sidebar) .session-folder-star-btn:is(:hover, :focus-visible, .is-favorite) {
|
|
419
|
+
background: color-mix(in srgb, var(--accent) 16%, var(--navigation-layer));
|
|
420
|
+
color: var(--accent);
|
|
421
|
+
}
|
|
422
|
+
:is(#sidebar-column, #mate-sidebar-column, #sidebar) .session-close-btn:not(.armed):is(:hover, :focus-visible) {
|
|
423
|
+
background: var(--navigation-layer-hover);
|
|
424
|
+
color: var(--text);
|
|
425
|
+
}
|
|
426
|
+
:is(#sidebar-column, #mate-sidebar-column, #sidebar) .session-close-btn:focus-visible {
|
|
427
|
+
outline: 2px solid var(--accent);
|
|
428
|
+
outline-offset: 1px;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
:is(#sidebar-column, #mate-sidebar-column, #sidebar) .session-item:not(:hover):not(:focus-within):not(:has(.session-unread-badge.has-unread)) .session-item-age {
|
|
432
|
+
opacity: 1;
|
|
433
|
+
}
|