forked from GiovineItalia/Gadfly.jl
/
defs.xml
18 lines (18 loc) · 974 Bytes
/
defs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<defs>
<!--A filter used to deemphasize out of focus geometries for mouseover
-effects.-->
<!-- TODO: flood-color needs to be set from the current theme -->
<filter id="panel-focus-filter" x="-20%" y="-20%" width="140%" height="140%">
<feFlood flood-color="#f5f5f5" flood-opacity="0.5" result="flood">
<animate id="panel-focus-filter-off-anim"
attributeName="flood-opacity" attributeType="XML"
fill="freeze" begin="indefinite" dur="0.2s"
from="0.8" to="0.0" onend="unpresent_geometry_end"/>
<animate id="panel-focus-filter-on-anim"
attributeName="flood-opacity" attributeType="XML"
fill="freeze" begin="indefinite" dur="0.1s"
from="0.0" to="0.8" onend="unpresent_geometry_end"/>
</feFlood>
<feComposite operator="atop" in="flood" in2="SourceGraphic" />
</filter>
</defs>