Show help text on hover for pills

This commit is contained in:
RunasSudo 2021-06-23 20:18:53 +10:00
parent ce8b252453
commit 444e274202
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
2 changed files with 7 additions and 4 deletions

View File

@ -117,7 +117,7 @@
</label>
<label>
<input type="checkbox" id="chkMeekNZExclusion">
<span class="pill-grey">Meek</span>
<span class="pill-grey" title="This option has effect only if “Method” is set to “Meek method”">Meek</span>
NZ-style exclusion
</label>
</div>
@ -161,7 +161,7 @@
</select>
</label>
<label>
<span class="pill-grey">Fixed</span>
<span class="pill-grey" title="This option has effect only if “Numbers” is set to “Fixed” or “Fixed (guarded)”">Fixed</span>
Decimal places:
<input type="number" id="txtDP" value="5" min="0" style="width: 3em;">
</label>
@ -192,7 +192,7 @@
</label>
<label class="col-6">
<input type="checkbox" id="chkMeekImmediateElect">
<span class="pill-grey">Meek</span>
<span class="pill-grey" title="This option has effect only if “Method” is set to “Meek method”">Meek</span>
Immediate election
</label>
<div class="col-12 subheading">
@ -247,7 +247,7 @@
</select>
</label>
<label class="col-12">
<span class="pill-grey">Meek</span>
<span class="pill-grey" title="This option has effect only if “Method” is set to “Meek method”">Meek</span>
Surplus tolerance:
<input type="text" id="txtMeekSurplusTolerance" value="0.001%" style="width: 5em;">
</label>

View File

@ -57,6 +57,9 @@ a:hover {
font-weight: 600;
padding: 0 0.5em;
}
.pill-grey[title] {
cursor: help;
}
.cols-12 {
display: grid;