Skip to content

Commit 43bc02d

Browse files
committed
feat: add tooltip functionality for output format information
1 parent e391ecc commit 43bc02d

1 file changed

Lines changed: 56 additions & 1 deletion

File tree

docs/index.html

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,61 @@
465465

466466
.empty-state .icon { font-size: 40px; margin-bottom: 12px; }
467467

468+
/* Tooltip */
469+
.info-icon {
470+
display: inline-flex;
471+
align-items: center;
472+
justify-content: center;
473+
width: 16px;
474+
height: 16px;
475+
border-radius: 50%;
476+
background: var(--border);
477+
color: var(--text-muted);
478+
font-size: 11px;
479+
font-style: normal;
480+
cursor: default;
481+
position: relative;
482+
margin-left: 6px;
483+
vertical-align: middle;
484+
user-select: none;
485+
}
486+
487+
.info-icon:hover .tooltip {
488+
opacity: 1;
489+
pointer-events: auto;
490+
}
491+
492+
.tooltip {
493+
position: absolute;
494+
bottom: calc(100% + 8px);
495+
left: 50%;
496+
transform: translateX(-50%);
497+
background: #2d333b;
498+
color: var(--text);
499+
font-size: 12px;
500+
font-style: normal;
501+
line-height: 1.5;
502+
white-space: nowrap;
503+
padding: 6px 10px;
504+
border-radius: 6px;
505+
border: 1px solid var(--border);
506+
pointer-events: none;
507+
opacity: 0;
508+
transition: opacity 0.15s;
509+
z-index: 100;
510+
box-shadow: 0 4px 12px rgba(0,0,0,0.4);
511+
}
512+
513+
.tooltip::after {
514+
content: '';
515+
position: absolute;
516+
top: 100%;
517+
left: 50%;
518+
transform: translateX(-50%);
519+
border: 5px solid transparent;
520+
border-top-color: var(--border);
521+
}
522+
468523
/* Toast notification */
469524
.toast {
470525
position: fixed;
@@ -583,7 +638,7 @@ <h2>🔧 New Build</h2>
583638
</div>
584639

585640
<div class="form-group">
586-
<label>Output Format</label>
641+
<label>Output Format <i class="info-icon">i<span class="tooltip">Combined: one archive per platform (x86_64 and arm64 bundled separately)</span></i></label>
587642
<div class="toggle-row">
588643
<label class="toggle">
589644
<input type="checkbox" id="singleFile" checked />

0 commit comments

Comments
 (0)