mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-18 12:41:54 +08:00
style(next)/floating buttons/backlink counter: improve the appearance of the dropdown panel
This commit is contained in:
parent
283b8e9bc8
commit
3159b19c46
@ -61,7 +61,7 @@ const TPL = `
|
|||||||
<span class="backlinks-count"></span>
|
<span class="backlinks-count"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="backlinks-items" style="display: none;"></div>
|
<div class="backlinks-items dropdown-menu" style="display: none;"></div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
@ -1436,7 +1436,7 @@ div.floating-buttons-children .close-floating-buttons:has(.close-floating-button
|
|||||||
|
|
||||||
/* Backlink count */
|
/* Backlink count */
|
||||||
|
|
||||||
.floating-buttons .backlinks-ticker {
|
.backlinks-widget .backlinks-ticker {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
@ -1444,10 +1444,19 @@ div.floating-buttons-children .close-floating-buttons:has(.close-floating-button
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.floating-buttons .backlinks-widget:hover {
|
.backlinks-widget .backlinks-ticker:hover {
|
||||||
background: var(--floating-button-hover-background);
|
background: var(--floating-button-hover-background);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.backlinks-widget .backlinks-items {
|
||||||
|
--menu-padding-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* TODO: Restyle the path */
|
||||||
|
.backlinks-widget .backlinks-items .note-path {
|
||||||
|
padding-inline-start: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Copy image reference */
|
/* Copy image reference */
|
||||||
|
|
||||||
.floating-buttons .copy-image-reference-button .hidden-image-copy {
|
.floating-buttons .copy-image-reference-button .hidden-image-copy {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user