update close.svg; add hideParentElement() function

This commit is contained in:
Andrew Dolgov 2005-12-20 11:39:20 +01:00
parent 746b249f95
commit a9b0bfd5e0
5 changed files with 47 additions and 14 deletions

View file

@ -1775,6 +1775,9 @@
print "<div class=\"warning\">";
// print"<img class=\"closeButton\"
// onclick=\"javascript:hideParentElement(this);\" src=\"images/close.png\">";
print "<a href=\"javascript:showBlockElement('feedUpdateErrors')\">
<b>Feeds with update errors</b> (click to expand)</a>";

View file

@ -741,4 +741,6 @@ function showBlockElement(id) {
}
}
function hideParentElement(e) {
e.parentNode.style.display = "none";
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 B

After

Width:  |  Height:  |  Size: 455 B

View file

@ -12,10 +12,10 @@
height="12.800000pt"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.42.2"
sodipodi:docbase="/naboo/home/fox/public_html/testbox/tt-rss/images"
inkscape:version="0.43"
sodipodi:docbase="/home/fox/public_html/testbox/tt-rss/images"
sodipodi:docname="close.svg"
inkscape:export-filename="/naboo/home/fox/public_html/testbox/tt-rss/images/close.png"
inkscape:export-filename="close.png"
inkscape:export-xdpi="81.168785"
inkscape:export-ydpi="81.168785">
<defs
@ -27,7 +27,7 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="44.800000"
inkscape:zoom="44.8"
inkscape:cx="10.272172"
inkscape:cy="7.9274987"
inkscape:document-units="px"
@ -55,7 +55,7 @@
id="layer1">
<path
sodipodi:type="arc"
style="opacity:1.0000000;fill:none;fill-opacity:1.0000000;fill-rule:nonzero;stroke:#000000;stroke-width:2.7248328;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000"
style="opacity:1.0000000;fill:none;fill-opacity:1.0000000;fill-rule:nonzero;stroke:#000000;stroke-width:2.7248328;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:0.25624999"
id="path1312"
sodipodi:cx="-7.7678571"
sodipodi:cy="3.3214285"
@ -63,13 +63,36 @@
sodipodi:ry="18.276009"
d="M 10.508152 3.3214285 A 18.276009 18.276009 0 1 1 -26.043866,3.3214285 A 18.276009 18.276009 0 1 1 10.508152 3.3214285 z"
transform="matrix(0.366995,0.000000,0.000000,0.366995,10.85076,6.781052)" />
<rect
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2184"
width="5"
height="4"
x="5"
y="5"
rx="10.42449"
ry="4" />
<rect
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2186"
width="2"
height="1.8973215"
x="4"
y="4.5044641"
rx="10.42449"
ry="1.8973215" />
<rect
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2188"
width="1"
height="2"
x="6"
y="3"
rx="10.42449"
ry="1.8973215" />
<path
style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#000000;stroke-width:1.5000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;stroke-miterlimit:4.0000000;stroke-dasharray:none"
d="M 5.0000000,11.000000 C 11.000000,5.0000000 11.000000,5.0000000 11.000000,5.0000000"
id="path1417" />
<path
style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#000000;stroke-width:1.5000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-opacity:1.0000000"
d="M 11.000000,11.000000 C 5.0000004,5.0000000 5.0000004,5.0000000 5.0000004,5.0000000"
id="path2146" />
style="fill:#000000;fill-opacity:0.5875;fill-rule:evenodd;stroke:none;stroke-width:0.25pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 10.12132,4.4644661 L 11.535534,5.8786797 L 9.4142136,8 L 11.535534,10.12132 L 10.12132,11.535534 L 8,9.4142136 L 5.8786797,11.535534 L 4.4644661,10.12132 L 6.5857864,8 L 4.4644661,5.8786797 L 5.8786797,4.4644661 L 8,6.5857864 L 10.12132,4.4644661 L 10.12132,4.4644661 z "
id="path2190" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

@ -904,3 +904,8 @@ div.cdmContent {
a.warning {
color : #f04040;
}
img.closeButton {
border-width : 0px;
float : right;
}