Removing the host drop-shadow from the topo GUI2
Change-Id: If6078ee6234370e4a5351d2b01a0a22593c531df
(cherry picked from commit a1b624eaa1d0241b2c8161c7854f012664908353)
diff --git a/web/gui2-topo-lib/lib/layer/forcesvg/visuals/devicenodesvg/devicenodesvg.component.html b/web/gui2-topo-lib/lib/layer/forcesvg/visuals/devicenodesvg/devicenodesvg.component.html
index 3b838bb..8e84ba8 100644
--- a/web/gui2-topo-lib/lib/layer/forcesvg/visuals/devicenodesvg/devicenodesvg.component.html
+++ b/web/gui2-topo-lib/lib/layer/forcesvg/visuals/devicenodesvg/devicenodesvg.component.html
@@ -22,14 +22,6 @@
line 3) Merge this blurred and shifted layer and overlay it with the
original target object
-->
- <svg:filter id="drop-shadow" x="-25%" y="-25%" width="200%" height="200%">
- <svg:feGaussianBlur in="SourceAlpha" stdDeviation="0" result="blur" />
- <svg:feOffset in="blur" dx="0" dy="0" result="offsetBlur"/>
- <svg:feMerge >
- <svg:feMergeNode in="offsetBlur" />
- <svg:feMergeNode in="SourceGraphic" />
- </svg:feMerge>
- </svg:filter>
<!-- Template explanation: Define a colour gradient that can be used in icons -->
<svg:linearGradient id="diagonal_blue" x1="0%" y1="0%" x2="100%" y2="100%">
<svg:stop offset= "0%" style="stop-color: #7fabdb;" />
@@ -60,8 +52,7 @@
<svg:rect
class="node-container" x="-18" y="-18"
width="36" height="36"
- [@deviceLabelToggle]="{ value: labelToggle, params: {txtWidth: (36 + labelTextLen() + (labelTextLen() > 0 ? 10 : 0))+'px' }}"
- filter= "url(#drop-shadow)">
+ [@deviceLabelToggle]="{ value: labelToggle, params: {txtWidth: (36 + labelTextLen() + (labelTextLen() > 0 ? 10 : 0))+'px' }}">
</svg:rect>
<!-- Template explanation: Creates an SVG Rectangle slightly smaller and
overlaid on the above. This is the blue box, and its width and height does
diff --git a/web/gui2-topo-lib/lib/layer/forcesvg/visuals/hostnodesvg/hostnodesvg.component.html b/web/gui2-topo-lib/lib/layer/forcesvg/visuals/hostnodesvg/hostnodesvg.component.html
index bdaf54a..31075d2 100644
--- a/web/gui2-topo-lib/lib/layer/forcesvg/visuals/hostnodesvg/hostnodesvg.component.html
+++ b/web/gui2-topo-lib/lib/layer/forcesvg/visuals/hostnodesvg/hostnodesvg.component.html
@@ -21,14 +21,6 @@
line 3) Merge this blurred and shifted layer and overlay it with the
original target object
-->
- <svg:filter id="drop-shadow-host" x="-25%" y="-25%" width="200%" height="200%">
- <svg:feGaussianBlur in="SourceAlpha" stdDeviation="4" result="blur" />
- <svg:feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
- <svg:feMerge >
- <svg:feMergeNode in="offsetBlur" />
- <svg:feMergeNode in="SourceGraphic" />
- </svg:feMerge>
- </svg:filter>
<svg:radialGradient id="three_stops_radial">
<svg:stop offset= "0%" style="stop-color: #e3e5d6;" />
<svg:stop offset= "70%" style="stop-color: #c3c5b6;" />
@@ -52,7 +44,6 @@
line 2) Apply the radial gradient defined above to the circle
-->
<svg:circle r="15"
- filter="url(#drop-shadow-host)"
style="fill: url(#three_stops_radial)">
</svg:circle>
<svg:use xlink:href="#m_endstation" width="22.5" height="22.5" x="-11.25" y="-11.25">