SVG – Learning by Coding
1: <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2: <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
3: "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
4: <!ATTLIST svg xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
5: ]>
6:
7: <!-- SVG - Learning by Coding - http://www.datenverdrahten.de/svglbc/ -->
8: <!-- Author: Dr. Thomas Meinike 01/04 - thomas@handmadecode.de -->
9:
10: <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
11:
12: <title>SVG - Learning by Coding</title>
13: <desc>SVG-Spezifikation in Beispielen</desc>
14:
15: <text x="20" y="30" style="fill: #000; font-size: 24px">
16: CSS2-User Colors in SVG verwenden</text>
17:
18: <text x="20" y="60" style="fill: ActiveBorder">ActiveBorder</text>
19: <text x="20" y="85" style="fill: ActiveCaption">ActiveCaption</text>
20: <text x="20" y="110" style="fill: AppWorkspace">AppWorkspace</text>
21: <text x="20" y="135" style="fill: Background">Background</text>
22: <text x="20" y="160" style="fill: ButtonFace">ButtonFace</text>
23: <text x="20" y="185" style="fill: ButtonHighlight">ButtonHighlight</text>
24: <text x="20" y="210" style="fill: ButtonShadow">ButtonShadow</text>
25: <text x="20" y="235" style="fill: ButtonText">ButtonText</text>
26: <text x="20" y="260" style="fill: CaptionText">CaptionText</text>
27: <text x="20" y="285" style="fill: GrayText">GrayText</text>
28: <text x="20" y="310" style="fill: Highlight">Highlight</text>
29: <text x="20" y="335" style="fill: HighlightText">HighlightText</text>
30: <text x="20" y="360" style="fill: InactiveBorder">InactiveBorder</text>
31: <text x="20" y="385" style="fill: InactiveCaption">InactiveCaption</text>
32: <text x="200" y="60" style="fill: InactiveCaptionText">InactiveCaptionText</text>
33: <text x="200" y="85" style="fill: InfoBackground">InfoBackground</text>
34: <text x="200" y="110" style="fill: InfoText">InfoText</text>
35: <text x="200" y="135" style="fill: Menu">Menu</text>
36: <text x="200" y="160" style="fill: MenuText">MenuText</text>
37: <text x="200" y="185" style="fill: Scrollbar">Scrollbar</text>
38: <text x="200" y="210" style="fill: ThreeDDarkShadow">ThreeDDarkShadow</text>
39: <text x="200" y="235" style="fill: ThreeDFace">ThreeDFace</text>
40: <text x="200" y="260" style="fill: ThreeDHighlight">ThreeDHighlight</text>
41: <text x="200" y="285" style="fill: ThreeDLightShadow">ThreeDLightShadow</text>
42: <text x="200" y="310" style="fill: ThreeDShadow">ThreeDShadow</text>
43: <text x="200" y="335" style="fill: Window">Window</text>
44: <text x="200" y="360" style="fill: WindowFrame">WindowFrame</text>
45: <text x="200" y="385" style="fill: WindowText">WindowText</text>
46:
47: <a xlink:href="http://www.w3.org/TR/REC-CSS2/ui.html#system-colors" target="_top">
48: <text x="20" y="420" style="fill: #00C; font-size: 14px">
49: <set attributeName="fill" attributeType="CSS" to="#F00" begin="mouseover"/>
50: <set attributeName="text-decoration" attributeType="CSS" to="underline" begin="mouseover"/>
51: <set attributeName="fill" attributeType="CSS" to="#00C" begin="mouseout"/>
52: <set attributeName="text-decoration" attributeType="CSS" to="none" begin="mouseout"/>
53: Siehe CSS2-Spezifikation für Details
54: </text>
55: </a>
56:
57: </svg>
[zum Anfang]