Debian Codegraph @

samples/tests/spec/color/systemColors.svg

raw
1 <?xml version="1.0" 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
5 <!--
6 Licensed to the Apache Software Foundation (ASF) under one or more
7 contributor license agreements. See the NOTICE file distributed with
8 this work for additional information regarding copyright ownership.
9 The ASF licenses this file to You under the Apache License, Version 2.0
10 (the "License"); you may not use this file except in compliance with
11 the License. You may obtain a copy of the License at
12
13 http://www.apache.org/licenses/LICENSE-2.0
14
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 -->
21
22 <!-- ========================================================================= -->
23 <!-- This document tests CSS system colors. -->
24 <!-- -->
25 <!-- @author [email protected] -->
26 <!-- @version $Id$ -->
27 <!-- ========================================================================= -->
28
29 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="450" height="500" viewBox="0 0 450 500">
30 <defs>
31 <filter id="blur" filterRes="200" x="-.1" y="-0.4" width="1.2" height="2.0">
32 <feGaussianBlur stdDeviation="10 10" result="blurred"/>
33 <feMerge>
34 <feMergeNode in="blurred" />
35 <feMergeNode in="blurred" />
36 <feMergeNode in="blurred" />
37 </feMerge>
38 </filter>
39 </defs>
40
41 <!-- ============================================================= -->
42 <!-- Test content -->
43 <!-- ============================================================= -->
44 <g id="testContent" style="stroke-linecap: square">
45 <rect x="0" y="0" width="100%" height="100%"
46 style="fill: Background"/>
47 <text x="50%" y="38" font-size="28" text-anchor="middle"
48 style="fill:white; font-weight: bold; filter:url(#blur)">
49 System Colors
50 </text>
51 <text x="50%" y="38" font-size="28" text-anchor="middle"
52 style="font-weight: bold">
53 System Colors
54 </text>
55
56 <!-- Inactive Window -->
57 <g transform="translate(100 70)">
58 <rect x="0" y="0" width="300" height="350"
59 style="fill: ButtonFace; stroke: WindowFrame"/>
60 <rect x="3" y="3" width="294" height="20"
61 style="fill: InactiveCaption"/>
62 <text x="150" y="18" style="fill: InactiveCaptionText; text-anchor: middle">
63 Inactive Caption
64 </text>
65 </g>
66
67 <!-- Active Window -->
68 <g transform="translate(50 120)">
69 <rect x="0" y="0" width="300" height="350"
70 style="fill: ButtonFace; stroke: WindowFrame"/>
71 <rect x="3" y="3" width="294" height="20"
72 style="fill: ActiveCaption"/>
73 <text x="150" y="18" style="fill: CaptionText; text-anchor: middle;
74 font-weight: bold">
75 Active Caption
76 </text>
77
78 <!-- Menu -->
79 <rect x="3" y="26" width="295" height="16"
80 style="fill: Menu"/>
81 <text x="10" y="38" style="fill: MenuText">
82 Menu
83 </text>
84
85 <rect x="45" y="26" width="60" height="16" style="fill: Highlight"/>
86 <text x="50" y="38" style="fill: HighlightText">
87 Selected
88 </text>
89
90
91
92 <rect x="4" y="43" width="292" height="304" style="fill: white"/>
93 <rect x="280" y="43" width="16" height="304" style="fill: Scrollbar"/>
94
95 <!-- bevel border -->
96
97 <line x1="3" y1="42" x2="296" y2="42" style="stroke: ThreeDDarkShadow"/>
98 <line x1="4" y1="43" x2="295" y2="43" style="stroke: ThreeDShadow"/>
99
100 <line x1="3" y1="43" x2="3" y2="347" style="stroke: ThreeDDarkShadow"/>
101 <line x1="4" y1="44" x2="4" y2="346" style="stroke: ThreeDShadow"/>
102
103 <line x1="296" y1="43" x2="296" y2="346" style="stroke: ThreeDHighlight"/>
104 <line x1="297" y1="42" x2="297" y2="347" style="stroke: ThreeDLightShadow"/>
105
106 <line x1="4" y1="346" x2="296" y2="346" style="stroke: ThreeDHighlight"/>
107 <line x1="3" y1="347" x2="297" y2="347" style="stroke: ThreeDLightShadow"/>
108
109
110
111 <!-- Scrollbar -->
112
113
114 <rect x="280" y="45" width="14" height="14" style="fill: ButtonFace"/>
115
116 <line x1="281" y1="44" x2="295" y2="44" style="stroke: ThreeDLightShadow"/>
117 <line x1="282" y1="45" x2="294" y2="45" style="stroke: ThreeDHighlight"/>
118
119 <line x1="281" y1="45" x2="281" y2="58" style="stroke: ThreeDLightShadow"/>
120 <line x1="282" y1="46" x2="282" y2="57" style="stroke: ThreeDHighlight"/>
121
122 <line x1="294" y1="46" x2="294" y2="57" style="stroke: ThreeDShadow"/>
123 <line x1="295" y1="45" x2="295" y2="58" style="stroke: ThreeDDarkShadow"/>
124
125 <line x1="282" y1="57" x2="294" y2="57" style="stroke: ThreeDShadow"/>
126 <line x1="281" y1="58" x2="295" y2="58" style="stroke: ThreeDDarkShadow"/>
127
128 <rect x="280" y="294" width="14" height="14" style="fill: ButtonFace"/>
129
130 <line x1="281" y1="331" x2="295" y2="331" style="stroke: ThreeDLightShadow"/>
131 <line x1="282" y1="332" x2="294" y2="332" style="stroke: ThreeDHighlight"/>
132
133 <line x1="281" y1="331" x2="281" y2="344" style="stroke: ThreeDLightShadow"/>
134 <line x1="282" y1="332" x2="282" y2="345" style="stroke: ThreeDHighlight"/>
135
136 <line x1="294" y1="333" x2="294" y2="344" style="stroke: ThreeDShadow"/>
137 <line x1="295" y1="332" x2="295" y2="345" style="stroke: ThreeDDarkShadow"/>
138
139 <line x1="282" y1="344" x2="294" y2="344" style="stroke: ThreeDShadow"/>
140 <line x1="281" y1="345" x2="295" y2="345" style="stroke: ThreeDDarkShadow"/>
141
142 <path d="M288 49L285 52L291 52Z"/>
143 <path d="M288 340L285 337L291 337Z"/>
144
145 <!-- bevel border -->
146
147 <rect x="41" y="43" width="80" height="62" style="fill: Menu"/>
148
149 <line x1="40" y1="42" x2="120" y2="42" style="stroke: ThreeDLightShadow"/>
150 <line x1="41" y1="43" x2="121" y2="43" style="stroke: ThreeDHighlight"/>
151
152 <line x1="40" y1="43" x2="40" y2="106" style="stroke: ThreeDLightShadow"/>
153 <line x1="41" y1="44" x2="41" y2="105" style="stroke: ThreeDHighlight"/>
154
155 <line x1="120" y1="43" x2="120" y2="105" style="stroke: ThreeDShadow"/>
156 <line x1="121" y1="42" x2="121" y2="106" style="stroke: ThreeDDarkShadow"/>
157
158 <line x1="41" y1="105" x2="120" y2="105" style="stroke: ThreeDShadow"/>
159 <line x1="40" y1="106" x2="121" y2="106" style="stroke: ThreeDDarkShadow"/>
160
161 <text x="50" y="58" style="fill: MenuText">
162 Item 1
163 </text>
164 <text x="50" y="76" style="fill: MenuText">
165 Item 2
166 </text>
167 <text x="50" y="94" style="fill: MenuText">
168 Item 3
169 </text>
170 </g>
171 </g>
172
173 <!-- ============================================================= -->
174 <!-- Batik sample mark -->
175 <!-- ============================================================= -->
176 <use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" />
177
178 </svg>