mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-06-06 19:18:46 +00:00
Change link hover behaviour
Highlight div if the target status is inside the viewport and show popup otherwise.
This commit is contained in:
parent
ed15e18b69
commit
04934ee643
2 changed files with 53 additions and 20 deletions
|
@ -1,6 +1,6 @@
|
|||
.status-container-container {
|
||||
margin: 16px 0 16px -4px;
|
||||
padding: 0 4px;
|
||||
margin: 12px 0 12px -4px;
|
||||
padding: 4px;
|
||||
border-left: 4px solid transparent;
|
||||
}
|
||||
|
||||
|
@ -8,6 +8,10 @@
|
|||
border-color: #777777;
|
||||
}
|
||||
|
||||
.status-container-container.highlight {
|
||||
background-color: #cccccc;
|
||||
}
|
||||
|
||||
.status-container {
|
||||
display: flex;
|
||||
}
|
||||
|
@ -468,3 +472,8 @@
|
|||
background-color: #222222;
|
||||
border-color: #444444;
|
||||
}
|
||||
|
||||
.dark .status-container-container.highlight {
|
||||
background-color: #333333;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue