mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-17 03:51:36 +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>
|
||||
</div>
|
||||
|
||||
<div class="backlinks-items" style="display: none;"></div>
|
||||
<div class="backlinks-items dropdown-menu" style="display: none;"></div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
|
@ -1436,7 +1436,7 @@ div.floating-buttons-children .close-floating-buttons:has(.close-floating-button
|
||||
|
||||
/* Backlink count */
|
||||
|
||||
.floating-buttons .backlinks-ticker {
|
||||
.backlinks-widget .backlinks-ticker {
|
||||
height: 100%;
|
||||
padding: 0 10px;
|
||||
border-radius: 0;
|
||||
@ -1444,10 +1444,19 @@ div.floating-buttons-children .close-floating-buttons:has(.close-floating-button
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.floating-buttons .backlinks-widget:hover {
|
||||
.backlinks-widget .backlinks-ticker:hover {
|
||||
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 */
|
||||
|
||||
.floating-buttons .copy-image-reference-button .hidden-image-copy {
|
||||
|
Loading…
x
Reference in New Issue
Block a user