style(webui): refine composer surface and workspace hover (#6444)
* style(webui): refine the chat composer surface Use a themed card background with a subtle edge and soft shadow. Keep focus stable without a darker frame while preserving Goal and drag rings. Align the startup composer surface and add composer-scoped browser coverage. * style(webui): align workspace hover with access control Keep the workspace trigger background clear on hover and use its existing text-color feedback, matching the adjacent access control. Preserve focus, disabled, and directory-picker behavior.
This commit is contained in:
1 parent
e7e94bda1c
commit
4f7c4f0885
6 files changed
+83
-6
No files matched your search
@@ -1167,10 +1167,27 @@
|
||||
|
||||
/* Composer controls adapt to their actual container, not just the viewport. */
|
||||
.thread-composer-surface {
|
||||
--composer-shadow-color: 240 10% 16%;
|
||||
--tw-shadow: inset 0 0 0 1px hsl(var(--border) / 0.75), 0 4px 18px -8px hsl(var(--composer-shadow-color) / 0.12);
|
||||
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
||||
transition: background-color 160ms ease-out, box-shadow 160ms ease-out, opacity 160ms ease-out;
|
||||
container-name: thread-composer;
|
||||
container-type: inline-size;
|
||||
}
|
||||
|
||||
.dark .thread-composer-surface {
|
||||
--composer-shadow-color: 240 12% 3%;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.thread-composer-surface { transition: none; }
|
||||
}
|
||||
|
||||
@media (forced-colors: active) {
|
||||
.thread-composer-surface { outline: 1px solid CanvasText; }
|
||||
.thread-composer-surface:focus-within { outline: 2px solid Highlight; }
|
||||
}
|
||||
|
||||
.thread-composer-footer-actions {
|
||||
flex: 0 1 auto;
|
||||
max-width: 58%;
|
||||
|
||||
Reference in new issue
Block a user