返回 DeepSeek-Reasonix
WorkspacePanelStability.css
根目录 / desktop / frontend / src / components / WorkspacePanelStability.css
1 .workspace-resource-status {
2 position: absolute;
3 top: 0;
4 right: 0;
5 left: 0;
6 z-index: var(--z-inline-sticky);
7 padding: 3px 8px;
8 border-bottom: 1px solid var(--border);
9 background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
10 color: var(--fg-faint);
11 font-size: var(--text-xs);
12 line-height: 1.4;
13 pointer-events: none;
14 }
15
16 .workspace-resource-status--error {
17 color: var(--danger);
18 }
19
20 .workspace-git-history,
21 .workspace-current-change__body {
22 position: relative;
23 }
24
25 .layout--workspace-overlay .workbench-dock--overlay {
26 position: absolute;
27 z-index: var(--z-workspace-float);
28 top: var(--app-bar-height, var(--topicbar-height));
29 right: 0;
30 bottom: var(--statusbar-height);
31 width: min(var(--workspace-width), calc(100vw - 16px));
32 height: auto;
33 grid-area: auto;
34 border: 1px solid var(--border-soft);
35 border-right: 0;
36 border-radius: 10px 0 0 10px;
37 box-shadow: -12px 0 36px rgba(0, 0, 0, 0.24);
38 }
39
40 /* Preserve an opened sidebar beside a 400px chat surface at the native
41 shell's 760px minimum; the right dock floats above both surfaces. */
42 @media (max-width: 820px) {
43 :is(.app, :root[data-theme-style] .app) .layout:not(.layout--sidebar-collapsed) {
44 grid-template-columns: var(--sidebar-expanded-width) minmax(400px, 1fr) !important;
45 }
46
47 :is(.app, :root[data-theme-style] .app) .layout.layout--sidebar-collapsed {
48 grid-template-columns: minmax(400px, 1fr) !important;
49 }
50
51 :is(.app, :root[data-theme-style] .app) .layout:not(.layout--sidebar-collapsed) .sidebar {
52 position: relative;
53 inset: auto;
54 z-index: var(--z-app-content);
55 display: flex !important;
56 grid-column: 1;
57 width: auto;
58 max-width: none;
59 height: auto;
60 }
61
62 :is(.app, :root[data-theme-style] .app) .layout:not(.layout--sidebar-collapsed) .chat-pane {
63 grid-column: 2 !important;
64 min-width: 400px;
65 }
66
67 :is(.app, :root[data-theme-style] .app) .layout.layout--sidebar-collapsed .chat-pane {
68 grid-column: 1 !important;
69 min-width: 400px;
70 }
71
72 :is(.app, :root[data-theme-style] .app) .layout--workspace-overlay .workbench-dock--overlay {
73 display: flex !important;
74 }
75 }
76
76 lines CSS