Merge remote-tracking branch 'origin/dev' into fix/mermaid-zoom-viewport
This commit is contained in:
commit
ccd8022b9a
196 files changed
+19766
-1022
No files matched your search
@@ -106,6 +106,16 @@
|
||||
the 34px tab-strip band so it never covers the pane headers below),
|
||||
transparent fill, secondary ink; hover raises the fill. No border, no
|
||||
shadow — the icon alone is the affordance. */
|
||||
/* 空白会话(宿主不渲染会话头)时的底部工作台入口(sidebar/dock-fallback.tsx):
|
||||
fixed 定位到宿主「Open right sidebar」按钮左侧紧邻,top/left 由 JS 按 rect 对齐。 */
|
||||
.dockFallback {
|
||||
position: fixed;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
z-index: 40;
|
||||
}
|
||||
|
||||
.toggleButton {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -660,6 +670,25 @@ body[data-dsh-sidebar-dragging] .bottomPanel {
|
||||
color: var(--dsw-alias-label-primary);
|
||||
}
|
||||
|
||||
/* The active tab's right-aligned action area: sits at the tab strip's right
|
||||
end (after the + button, before the panel's close control). Content-sized
|
||||
(`0 1 auto`): it takes only the width its buttons need and may shrink
|
||||
(clipped) if the strip runs out of room, while .tabList (flex: 1) keeps
|
||||
absorbing the free space — an equal flex:1 split here would halve the tab
|
||||
scrollport for even a tiny toolbar. Content is opaque to the tab strip's
|
||||
own layout (the strip reserves the close control's width via
|
||||
.bottomPanel .tabBar's padding-right, so this area never underlaps it). */
|
||||
.tabBarRightActions {
|
||||
flex: 0 1 auto;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 2px;
|
||||
padding-right: 4px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* ── Explorer ──────────────────────────────────────────────────────────── */
|
||||
|
||||
.explorer {
|
||||
@@ -1341,7 +1370,9 @@ body[data-dsh-sidebar-dragging] .bottomPanel {
|
||||
}
|
||||
|
||||
.editorSearchResult {
|
||||
display: block;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
height: 28px;
|
||||
@@ -1355,6 +1386,17 @@ body[data-dsh-sidebar-dragging] .bottomPanel {
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* A directory hit is a navigation target, not an openable file: the folder
|
||||
glyph and the dimmer label say so before the click. */
|
||||
.editorSearchResultDir {
|
||||
color: var(--dsw-alias-label-secondary);
|
||||
}
|
||||
|
||||
.editorSearchResultLabel {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -1454,6 +1496,18 @@ body[data-dsh-sidebar-dragging] .bottomPanel {
|
||||
background: var(--dsw-alias-state-warn-tertiary);
|
||||
}
|
||||
|
||||
/* Inline action of a banner (the save-conflict "reload" link). */
|
||||
.editorBannerAction {
|
||||
margin-left: 8px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: none;
|
||||
font: inherit;
|
||||
color: inherit;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Live sandbox status row (HTML preview / browser tab): GREEN while the
|
||||
sandbox is on (with the one-tap temporary unlock), RED while it is off
|
||||
(global setting or temporary unlock) — the red state is the persistent
|
||||
@@ -1912,8 +1966,11 @@ body[data-dsh-sidebar-dragging] .bottomPanel {
|
||||
/* The floating "add to conversation" button anchored above a text
|
||||
selection in the preview/code viewers. Portalled to document.body and
|
||||
position:fixed, so the editor's overflow clips cannot crop it; flat
|
||||
chrome like the rest of the sidebar (hairline border, layer-2 fill,
|
||||
hover fill — no shadow). */
|
||||
chrome like the rest of the sidebar (hairline border, no shadow).
|
||||
Fills come from the menu/overlay pair, not the layer/hover pair: this
|
||||
button floats over text with no panel behind it, while skins make the
|
||||
layer tokens translucent (~0.45) and interactive-bg-hover a bare
|
||||
0.06-0.08 tint, neither of which is readable over the text beneath. */
|
||||
.selectionPopup {
|
||||
position: fixed;
|
||||
z-index: 60;
|
||||
@@ -1924,7 +1981,7 @@ body[data-dsh-sidebar-dragging] .bottomPanel {
|
||||
padding: 0 10px;
|
||||
border: 1px solid var(--dsw-alias-border-l1);
|
||||
border-radius: 6px;
|
||||
background: var(--dsw-alias-bg-layer-2);
|
||||
background: var(--dsw-specific-menu);
|
||||
color: var(--dsw-alias-label-primary);
|
||||
font: var(--dsw-font-xxxs-strong-11);
|
||||
white-space: nowrap;
|
||||
@@ -1932,7 +1989,7 @@ body[data-dsh-sidebar-dragging] .bottomPanel {
|
||||
}
|
||||
|
||||
.selectionPopup:hover {
|
||||
background: var(--dsw-alias-interactive-bg-hover);
|
||||
background: var(--dsw-alias-interactive-bg-hover-solid);
|
||||
}
|
||||
|
||||
.editorPdf {
|
||||
@@ -2257,7 +2314,11 @@ body[data-dsh-sidebar-dragging] .bottomPanel {
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
.editorHtmlBlock summary {
|
||||
/* A `<summary>` the renderer hoisted out of a leaf is a direct child of its
|
||||
`<details>` (see MarkdownHtml.tsx), so it no longer sits inside
|
||||
`.editorHtmlBlock` — match it against the preview container too. */
|
||||
.editorHtmlBlock summary,
|
||||
.editorMd details > summary {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user