~ubuntu-branches/ubuntu/utopic/yelp-xsl/utopic

« back to all changes in this revision

Viewing changes to xslt/common/color.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-11-29 10:00:13 UTC
  • Revision ID: james.westby@ubuntu.com-20101129100013-1fxze8fm1fegxl8w
Tags: upstream-2.31.6
ImportĀ upstreamĀ versionĀ 2.31.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version='1.0' encoding='UTF-8'?><!-- -*- indent-tabs-mode: nil -*- -->
 
2
<!--
 
3
This program is free software; you can redistribute it and/or modify it under
 
4
the terms of the GNU Lesser General Public License as published by the Free
 
5
Software Foundation; either version 2 of the License, or (at your option) any
 
6
later version.
 
7
 
 
8
This program is distributed in the hope that it will be useful, but WITHOUT
 
9
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 
10
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 
11
details.
 
12
 
 
13
You should have received a copy of the GNU Lesser General Public License
 
14
along with this program; see the file COPYING.LGPL.  If not, write to the
 
15
Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
16
02111-1307, USA.
 
17
-->
 
18
 
 
19
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 
20
                version="1.0">
 
21
 
 
22
<!--!!==========================================================================
 
23
Colors
 
24
Specify common named colors to style output.
 
25
:Revision:version="1.0" date="2010-05-25" status="final"
 
26
 
 
27
This stylesheet provides a common interface to specify custom colors for
 
28
transformations to presentation-oreinted formats.  This allows similar
 
29
output for different types of input documents.
 
30
-->
 
31
 
 
32
 
 
33
<!--@@==========================================================================
 
34
color.background
 
35
The background color.
 
36
:Revision:version="1.0" date="2010-05-25" status="final"
 
37
 
 
38
This parameter specifies the default background color.  Foreground colors
 
39
should be legible on this color.
 
40
-->
 
41
<xsl:param name="color.background" select="'#ffffff'"/>
 
42
 
 
43
 
 
44
<!--@@==========================================================================
 
45
color.link
 
46
The color of links.
 
47
:Revision:version="1.0" date="2010-05-25" status="final"
 
48
 
 
49
This parameter specifies the color for unvisited links.  It should be
 
50
legible on all background colors.
 
51
-->
 
52
<xsl:param name="color.link" select="'#204a87'"/>
 
53
 
 
54
 
 
55
<!--@@==========================================================================
 
56
color.link_visited
 
57
The color of visited links.
 
58
:Revision:version="1.0" date="2010-05-25" status="final"
 
59
 
 
60
This parameter specifies the color for visited links.  It should be
 
61
legible on all background colors.
 
62
-->
 
63
<xsl:param name="color.link_visited" select="'#5c3566'"/>
 
64
 
 
65
 
 
66
<!--@@==========================================================================
 
67
color.text
 
68
The normal text color.
 
69
:Revision:version="1.0" date="2010-05-25" status="final"
 
70
 
 
71
This parameter specifies the default color for normal text.  It should be
 
72
legible on all background colors.
 
73
-->
 
74
<xsl:param name="color.text" select="'#000000'"/>
 
75
 
 
76
 
 
77
<!--@@==========================================================================
 
78
color.text_light
 
79
The light text color.
 
80
:Revision:version="1.0" date="2010-05-25" status="final"
 
81
 
 
82
This parameter specifies the color for light text.  The light text
 
83
color is used to make bold headings and certain parenthetical text
 
84
less intense.  It should be legible on all background colors.
 
85
-->
 
86
<xsl:param name="color.text_light" select="'#2e3436'"/>
 
87
 
 
88
 
 
89
<!--@@==========================================================================
 
90
color.text_error
 
91
The error text color.
 
92
:Revision:version="1.0" date="2010-05-25" status="final"
 
93
 
 
94
This parameter specifies the color for error text.  The error text
 
95
color is used to style error messages from command line sessions.
 
96
It should be legible on all background colors.
 
97
-->
 
98
<xsl:param name="color.text_error" select="'#a40000'"/>
 
99
 
 
100
 
 
101
<!--@@==========================================================================
 
102
color.blue_background
 
103
The blue background color.
 
104
:Revision:version="1.0" date="2010-05-25" status="final"
 
105
 
 
106
This parameter specifies the blue background color.  The blue
 
107
background color may be used by certain types of block elements.
 
108
Foreground colors should be legible on this color.
 
109
-->
 
110
<xsl:param name="color.blue_background" select="'#e6f2ff'"/>
 
111
 
 
112
 
 
113
<!--@@==========================================================================
 
114
color.blue_border
 
115
The blue border color.
 
116
:Revision:version="1.0" date="2010-05-25" status="final"
 
117
 
 
118
This parameter specifies the blue border color.  The blue
 
119
border color may be used by certain types of block elements.
 
120
-->
 
121
<xsl:param name="color.blue_border" select="'#729fcf'"/>
 
122
 
 
123
 
 
124
<!--@@==========================================================================
 
125
color.gray_background
 
126
The gray background color.
 
127
:Revision:version="1.0" date="2010-05-25" status="final"
 
128
 
 
129
This parameter specifies the gray background color.  The gray
 
130
background color may be used by certain types of block elements.
 
131
Foreground colors should be legible on this color.
 
132
-->
 
133
<xsl:param name="color.gray_background" select="'#f3f3f0'"/>
 
134
 
 
135
 
 
136
<!--@@==========================================================================
 
137
color.dark_background
 
138
The dark gray background color.
 
139
:Revision:version="1.0" date="2010-05-25" status="final"
 
140
 
 
141
This parameter specifies the dark gray background color.  The dark
 
142
gray background color may be used by certain types of block elements.
 
143
Foreground colors should be legible on this color.
 
144
-->
 
145
<xsl:param name="color.dark_background" select="'#e5e5e3'"/>
 
146
 
 
147
 
 
148
<!--@@==========================================================================
 
149
color.gray_border
 
150
The gray border color.
 
151
:Revision:version="1.0" date="2010-05-25" status="final"
 
152
 
 
153
This parameter specifies the gray border color.  The gray
 
154
border color may be used by certain types of block elements.
 
155
-->
 
156
<xsl:param name="color.gray_border" select="'#babdb6'"/>
 
157
 
 
158
 
 
159
<!--@@==========================================================================
 
160
color.red_background
 
161
The red background color.
 
162
:Revision:version="1.0" date="2010-05-25" status="final"
 
163
 
 
164
This parameter specifies the red background color.  The red
 
165
background color may be used by certain types of block elements.
 
166
Foreground colors should be legible on this color.
 
167
-->
 
168
<xsl:param name="color.red_background" select="'#ffdede'"/>
 
169
 
 
170
 
 
171
<!--@@==========================================================================
 
172
color.red_border
 
173
The red border color.
 
174
:Revision:version="1.0" date="2010-05-25" status="final"
 
175
 
 
176
This parameter specifies the red border color.  The red
 
177
border color may be used by certain types of block elements.
 
178
-->
 
179
<xsl:param name="color.red_border" select="'#ef2929'"/>
 
180
 
 
181
 
 
182
<!--@@==========================================================================
 
183
color.yellow_background
 
184
The yellow background color.
 
185
:Revision:version="1.0" date="2010-05-25" status="final"
 
186
 
 
187
This parameter specifies the yellow background color.  The yellow
 
188
background color may be used by certain types of block elements.
 
189
Foreground colors should be legible on this color.
 
190
-->
 
191
<xsl:param name="color.yellow_background" select="'#fffacc'"/>
 
192
 
 
193
 
 
194
<!--@@==========================================================================
 
195
color.yellow_border
 
196
The yellow border color.
 
197
:Revision:version="1.0" date="2010-05-25" status="final"
 
198
 
 
199
This parameter specifies the yellow border color.  The yellow
 
200
border color may be used by certain types of block elements.
 
201
-->
 
202
<xsl:param name="color.yellow_border" select="'#edd400'"/>
 
203
 
 
204
 
 
205
</xsl:stylesheet>