mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 01:29:51 +08:00
* fix(web): keep glass composer surface opaque over tucked tray - web/features/ui-layout/modern/modern.css: under theme-glass, set .dt-composer-surface background to --surface-raised so translucent --card no longer lets the tucked tray show through (#2329) - Why: glass modern layout made the composer visually leak the tray behind it; opaque raised surface restores a solid input area without changing non-glass themes MUST NOT commit: .env; .venv/; __pycache__/; node_modules/; dist/; target/; *.db; credentials*; *.pem; nested .git/ * fix(web): keep glass composer opaque in classic layout too
16 lines
570 B
CSS
16 lines
570 B
CSS
/* Classic UI tokens: the values shared components had on dev (3cbecb2). */
|
|
:root[data-ui-layout="classic"] {
|
|
--dt-page-title-font: theme("fontFamily.serif");
|
|
}
|
|
|
|
/* The shared tray tucks under the composer, not over its bottom controls. */
|
|
:root[data-ui-layout="classic"] .dt-composer-surface:has(+ .dt-composer-tray) {
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Glass --card is translucent; keep the surface opaque so the tucked tray
|
|
does not show through the composer (#2329). */
|
|
:root[data-ui-layout="classic"].theme-glass .dt-composer-surface {
|
|
background: var(--surface-raised);
|
|
}
|