Show canvas subsets in the workspace tree
This commit is contained in:
@@ -5,8 +5,7 @@
|
||||
.rail > :hover, .links a:hover, .top button:hover, .panelTitle button:hover, .dialogTop button:hover, .menu button:hover { background: var(--row-hover); }
|
||||
.rail [aria-current], .links a[aria-current], .menu button[aria-pressed=true] { background: var(--selection); color: var(--foreground-strong); }
|
||||
.logo { margin-bottom: 14px; }
|
||||
.logo :global(.endoleap-wordmark) { display: none; }
|
||||
.logo :global(.endoleap-mark) { width: 26px; height: 26px; }
|
||||
.logo :global(.endoleap-brand) :global(.endoleap-mark) { width: 26px; height: 26px; }
|
||||
.settings { margin-top: auto; }
|
||||
.panel { width: 248px; padding: 0 12px 14px; display: flex; flex-direction: column; background: var(--surface); }
|
||||
.identity, .panelTitle { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
||||
@@ -61,3 +60,26 @@
|
||||
.dialog .error { color: var(--danger); }
|
||||
.notice { position: fixed; right: 16px; bottom: 16px; z-index: 4; max-width: calc(100vw - 32px); overflow-wrap: anywhere; padding: 14px 18px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); box-shadow: 0 8px 24px var(--shadow); }
|
||||
@media (max-width: 760px) { .panel { position: fixed; left: 50px; width: min(248px, calc(100% - 50px)); z-index: 3; box-shadow: 8px 0 20px var(--shadow); } .rail { z-index: 4; } .top { position: sticky; top: 0; z-index: 4; margin-left: 8px; } .app:has(.panel) .top { z-index: 2; } .tools { grid-template-columns: 1fr; } }
|
||||
.panel { z-index: 3; }
|
||||
.menu { width: min(286px, calc(100vw - 76px)); padding: 10px; }
|
||||
.menuIdentity { display: flex; gap: 10px; align-items: center; padding: 4px 4px 10px; }
|
||||
.menuIdentity small, .menuSection small { display: block; color: var(--muted-foreground); overflow-wrap: anywhere; margin: 4px 0; }
|
||||
.menuSection { border-top: 1px solid var(--border); padding: 6px 0; }
|
||||
.menuSection a { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 6px; }
|
||||
.menuSection a:hover, .treeRoot button:hover, .children button:hover { background: var(--row-hover); }
|
||||
.menuSection button > svg:last-child:not(:first-child) { margin-left: auto; }
|
||||
.menuSection .menuAdd { justify-content: center; background: var(--surface-muted); margin-top: 4px; }
|
||||
.treeRoot { display: flex; gap: 2px; }
|
||||
.treeRoot button, .children button { display: flex; align-items: center; gap: 8px; min-height: 34px; border-radius: 6px; text-align: left; overflow-wrap: anywhere; }
|
||||
.treeRoot button:last-child, .children button { flex: 1; width: 100%; padding: 5px 8px; }
|
||||
.treeRoot button[aria-current], .children button[aria-current] { background: var(--selection); }
|
||||
.children { list-style: none; margin: 2px 0 0 21px; padding: 0 0 0 7px; border-left: 1px solid var(--border); }
|
||||
.children svg, .treeRoot svg { flex-shrink: 0; }
|
||||
.node { min-width: 0; padding: 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); overflow-wrap: anywhere; }
|
||||
.node p { white-space: pre-wrap; }
|
||||
.node img { max-height: 200px; object-fit: contain; margin-top: 8px; }
|
||||
.shortcuts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
|
||||
.shortcuts a { display: inline-flex; align-items: center; gap: 4px; padding: 6px; }
|
||||
.members { display: grid; gap: 8px; max-height: 30vh; overflow: auto; margin: 0 0 16px; border: 1px solid var(--border); }
|
||||
.members label { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
|
||||
.members input[type=checkbox] { width: auto; min-height: 0; margin: 0; accent-color: var(--primary); }
|
||||
|
||||
Reference in New Issue
Block a user