Keep global actions visible and follow each platform's title bar
Phase 5-4. - The workspace button sits at the left end of the header. It shows the workspace name and opens the workspace list below it. - The left ribbon is always present: plugin views at the top, Help and Settings at the bottom. The left pane footer is gone. - Tabs keep 120 pixels and scroll. Fades show tabs out of view, and a list button names all tabs, with pinned and unsaved marks. The active tab now scrolls into view with its close button. - A drag area of 120 pixels follows the tabs. In a narrow header, the tabs shrink first, and the drag area keeps at least 48 pixels. - Caption buttons are square, 46 pixels wide, and full height. When the pointer rests on maximize, the new window_snap_layouts command opens Snap Layouts with Win+Z for the focused window. - macOS keeps its native traffic lights: tauri.macos.conf.json and the runtime window builders use an overlay title bar. Title bars leave --rs-titlebar-inset-start free for the traffic lights. - 3 new catalog rows and 1 removed row, in French, Japanese, and Simplified Chinese. - Docs: UI-050, the user guide, and ui-design.md. Tests: the new layout/titleBar. Tests that used the left pane footer, the rounded caption buttons, the 600-pixel theme editor pane, or a ribbon of no width now follow the new layout.
This commit is contained in:
@@ -110,9 +110,9 @@
|
||||
|
||||
<style>
|
||||
.browser-window { height: 100vh; display: flex; flex-direction: column; background: var(--rs-bg); }
|
||||
.header { display: flex; align-items: center; height: 36px; flex-shrink: 0; background: var(--rs-bg-elevated); border-bottom: 1px solid var(--rs-border); }
|
||||
.header { display: flex; align-items: center; height: 36px; flex-shrink: 0; padding-left: var(--rs-titlebar-inset-start); background: var(--rs-bg-elevated); border-bottom: 1px solid var(--rs-border); }
|
||||
.header :global(.tabs) { flex: 0 1 auto; min-width: 80px; height: 100%; border-bottom: 0; }
|
||||
.window-drag-space { flex: 1; min-width: 40px; align-self: stretch; }
|
||||
.window-drag-space { flex: 1; min-width: 120px; align-self: stretch; }
|
||||
.pages { position: relative; flex: 1; min-height: 0; overflow: hidden; }
|
||||
.pane { position: absolute; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
|
||||
.pane.inactive { display: none; }
|
||||
|
||||
Reference in New Issue
Block a user