nicer underlining under tooltip items

This commit is contained in:
zadam 2019-02-28 22:32:54 +01:00
parent 8414d97ffa
commit b5283d58bb
2 changed files with 9 additions and 6 deletions

View File

@ -110,6 +110,7 @@ body {
padding: 15px;
}
[data-toggle="tooltip"] {
text-decoration: dotted underline;
[data-toggle="tooltip"] span {
padding-bottom: 0;
border-bottom: 1px dotted;
}

View File

@ -27,26 +27,28 @@
<div class="checkbox">
<label data-toggle="tooltip" title="Trilium <code>.tar</code> export files can contain executable scripts which may contain harmful behavior. Safe import will deactivate automatic execution of all imported scripts. Uncheck &quot;Safe import&quot; only if the imported tar archive is supposed to contain executable scripts and you completely trust the contents of the import file.">
<input id="safe-import-checkbox" value="1" type="checkbox" checked>
Safe import
<span>Safe import</span>
</label>
</div>
<div class="checkbox">
<label data-toggle="tooltip" title="If this is checked then Trilium will read <code>.tar</code>, <code>.enex</code> and <code>.opml</code> files and create notes from files insides those archives. If unchecked, then Trilium will attach the archives themselves to the note.">
<input id="explode-archives-checkbox" value="1" type="checkbox" checked>
Read contents of <code>.tar</code>, <code>.enex</code> and <code>.opml</code> archives.
<span>Read contents of <code>.tar</code>, <code>.enex</code> and <code>.opml</code> archives.</span>
</label>
</div>
<div class="checkbox">
<label data-toggle="tooltip" title="<p>If you check this option, Trilium will attempt to shrink the imported images by scaling and optimization which may affect the perceived image quality. If unchecked, images will be imported without changes.</p><p>This doesn't apply to <code>.tar</code> imports with metadata since it is assumed these files are already optimized.</p>">
<input id="shrink-images-checkbox" value="1" type="checkbox" checked> Shrink images
<input id="shrink-images-checkbox" value="1" type="checkbox" checked> <span>Shrink images</span>
</label>
</div>
<div class="checkbox">
<label>
<input id="text-imported-as-text-checkbox" value="1" type="checkbox" checked> Import HTML, Markdown and TXT as text notes if it's unclear from metadata
<input id="text-imported-as-text-checkbox" value="1" type="checkbox" checked>
Import HTML, Markdown and TXT as text notes if it's unclear from metadata
</label>
</div>