Skip to content

Commit

Permalink
Merge pull request #60 from DCMLab/emphasize-primaries-on-relation-hover
Browse files Browse the repository at this point in the history
Emphasize primaries when hovering over the relation in which they are primary.
  • Loading branch information
pettter authored Mar 29, 2021
2 parents 8d42a1a + 476d65d commit 06798cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ select.instance-select {
.extrahover {
transform: translate3d(0,0,0);
filter: url("#extraFilter");
fill: red;
}
.selecthover {
transform: translate3d(0,0,0);
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
</feMerge>
</filter>
<filter id="extraFilter">
<feFlood result="flood" flood-color="#ff0000"/>
<feFlood result="flood" flood-color="green"/>
<feComposite in="flood" in2="SourceGraphic" operator="in" result="mask"/>
<feMorphology in="mask" operator="dilate" radius="2" result="thickened"/>
<feMorphology in="mask" operator="dilate" radius="10" result="thickened"/>
<feGaussianBlur in="thickened" stdDeviation="5" result="coloredBlur"/>
<feMerge>
<feMergeNode in="coloredBlur"/>
Expand Down

0 comments on commit 06798cf

Please sign in to comment.