mirror of
https://github.com/pvrzz/atmosphere.git
synced 2026-11-29 05:22:26 +00:00
Logo in the sidebar and a collapsible sidebar
- Title bar now spans only the content area, so it can never misalign with the sidebar - Sidebar collapses to icons (Ctrl+B or the toggle), remembered between launches - Hover labels for every icon in the collapsed sidebar
This commit is contained in:
+9
-5
@@ -9,10 +9,6 @@
|
||||
</head>
|
||||
<body>
|
||||
<header class="titlebar" id="titlebar" data-tauri-drag-region>
|
||||
<div class="tb-brand" data-tauri-drag-region>
|
||||
<img class="lockup lockup-light" src="assets/lockup-light.svg" alt="Atmosphere" width="132" height="30" draggable="false" />
|
||||
<img class="lockup lockup-dark" src="assets/lockup-dark.svg" alt="Atmosphere" width="132" height="30" draggable="false" />
|
||||
</div>
|
||||
<div class="tb-drag" data-tauri-drag-region></div>
|
||||
<div class="tb-controls" id="winControls">
|
||||
<button class="tb-btn" id="winMin" aria-label="Minimize" title="Minimize"><svg viewBox="0 0 10 10" aria-hidden="true"><path d="M0 5.5h10" /></svg></button>
|
||||
@@ -21,7 +17,15 @@
|
||||
</div>
|
||||
</header>
|
||||
<div class="shell" id="shell" inert>
|
||||
<aside class="sidebar">
|
||||
<aside class="sidebar" id="sidebar">
|
||||
<div class="side-brand" data-tauri-drag-region>
|
||||
<span class="brand-full" data-tauri-drag-region>
|
||||
<img class="lockup lockup-light" src="assets/lockup-light.svg" alt="Atmosphere" width="132" height="30" draggable="false" data-tauri-drag-region />
|
||||
<img class="lockup lockup-dark" src="assets/lockup-dark.svg" alt="Atmosphere" width="132" height="30" draggable="false" data-tauri-drag-region />
|
||||
</span>
|
||||
<img class="brand-mark" src="assets/mark.svg" alt="Atmosphere" width="30" height="25" draggable="false" data-tauri-drag-region />
|
||||
<button class="icon-btn side-toggle" id="sideToggle" type="button" aria-label="Collapse sidebar" aria-expanded="true" data-tip="Collapse sidebar (Ctrl+B)"><span class="i" data-icon="layout-sidebar-left-collapse"></span></button>
|
||||
</div>
|
||||
<nav class="nav" aria-label="Main">
|
||||
<button class="nav-item" data-nav="get" aria-current="page"><span class="i" data-icon="cloud-download"></span><span>Get</span><kbd>Ctrl K</kbd></button>
|
||||
<button class="nav-item" data-nav="downloads" id="navDownloads">
|
||||
|
||||
Reference in New Issue
Block a user