#back-button[hidden] { display: none; }
#orphan-toggle-wrap {
- display: inline-flex;
+ display: flex;
align-items: center;
- gap: 4px;
- font-size: 11px;
+ gap: 6px;
+ margin: 0 0 12px;
+ padding: 8px 12px;
+ font-size: 12px;
color: #6b7280;
user-select: none;
cursor: pointer;
white-space: nowrap;
+ background: #fff;
+ border: 1px solid #e5e7eb;
+ border-radius: 6px;
}
#orphan-toggle-wrap input { margin: 0; }
align-items: center;
flex-wrap: wrap;
gap: 6px;
- flex: 1 1 auto;
- min-width: 0;
+ margin: 0 0 12px;
+ padding: 8px 12px;
+ background: #eff6ff;
+ border: 1px solid #bfdbfe;
+ border-radius: 6px;
}
#pin-chips[hidden] { display: none; }
#pin-label {
<button id="back-button" title="Back to class hierarchy">←</button>
<h1 id="view-title">classgraph</h1>
<span id="view-subtitle"></span>
- <div id="pin-chips" hidden>
- <span id="pin-label">Focus on:</span>
- <span id="pin-list"></span>
- <button id="pin-clear" title="Show full graph">Clear</button>
- </div>
- <label id="orphan-toggle-wrap" title="Mark orphan instances with a red dashed border">
- <input type="checkbox" id="orphan-toggle" />
- <span>Mark orphans</span>
- </label>
<div id="search-wrap">
<input id="search" type="search" placeholder="Find class or family… (press / to focus)" autocomplete="off" spellcheck="false" />
<ul id="search-results" hidden></ul>
<p class="hint" id="hint-instance" hidden>Click to highlight; <strong>double-click</strong> a class or family to drill in. The back arrow returns to the hierarchy.</p>
<p class="hint" id="hint-family" hidden>Each entry is a <code>type instance</code> declaration. <strong>Double-click</strong> the parent class to see its instances.</p>
</header>
+ <div id="pin-chips" hidden>
+ <span id="pin-label">Focus on:</span>
+ <span id="pin-list"></span>
+ <button id="pin-clear" title="Show full graph">Clear</button>
+ </div>
+ <label id="orphan-toggle-wrap" title="Mark orphan instances with a red dashed border">
+ <input type="checkbox" id="orphan-toggle" />
+ <span>Mark orphans</span>
+ </label>
<details id="editor-settings">
<summary>Editor link <span id="editor-summary"></span></summary>
<p class="mute-hint">Make every <em>Defined at</em> line in the right-hand panel a clickable link that jumps to the file at the right line in your editor.</p>