Hover effect for conversation notes (like Firefish)
This commit is contained in:
parent
43b3b5a34b
commit
1ca0cd727e
2 changed files with 21 additions and 2 deletions
|
|
@ -461,7 +461,26 @@ if (props.detail) {
|
|||
}
|
||||
|
||||
.main {
|
||||
display: flex;
|
||||
position: relative;
|
||||
display: flex;
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: -12px;
|
||||
right: -12px;
|
||||
left: -12px;
|
||||
bottom: -12px;
|
||||
background: var(--panelHighlight);
|
||||
border-radius: var(--radius);
|
||||
opacity: 0;
|
||||
transition: opacity .2s, background .2s;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
&:hover::after {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.colorBar {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue