/[debian]/libjempbox-java/trunk/docs/skin/profile.css.xslt
ViewVC logotype

Contents of /libjempbox-java/trunk/docs/skin/profile.css.xslt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 429 - (show annotations)
Fri Nov 17 21:04:22 2006 UTC (14 years, 8 months ago) by gregoa
File size: 8021 byte(s)
[svn-inject] Forking libjempbox-java source to Trunk
1 <?xml version="1.0"?>
2 <!--
3 Copyright 2002-2004 The Apache Software Foundation or its licensors,
4 as applicable.
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 -->
18 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
19
20 <xsl:import href="../../common/css/forrest.css.xslt"/>
21
22 <!-- xsl:output is not used by Forrest but makes it possible to debug the
23 stylesheet in standalone editors -->
24 <xsl:output method = "text" omit-xml-declaration="yes" />
25
26 <!-- ==================== main block colors ============================ -->
27
28 <xsl:template match="color[@name='header']">
29 #top { background-color: <xsl:value-of select="@value"/>;}
30 </xsl:template>
31
32 <xsl:template match="color[@name='tab-selected']">
33 #top .header .current { background-color: <xsl:value-of select="@value"/>;}
34 #top .header .current a:link { color: <xsl:value-of select="@link"/>; }
35 #top .header .current a:visited { color: <xsl:value-of select="@vlink"/>; }
36 #top .header .current a:hover { color: <xsl:value-of select="@hlink"/>; }
37 </xsl:template>
38
39 <xsl:template match="color[@name='tab-unselected']">
40 #tabs li { background-color: <xsl:value-of select="@value"/> ;}
41 #tabs li a:link { color: <xsl:value-of select="@link"/>; }
42 #tabs li a:visited { color: <xsl:value-of select="@vlink"/>; }
43 #tabs li a:hover { color: <xsl:value-of select="@hlink"/>; }
44 </xsl:template>
45
46 <xsl:template match="color[@name='subtab-selected']">
47 #level2tabs { background-color: <xsl:value-of select="@value"/> ;}
48 #level2tabs a:link { color: <xsl:value-of select="@link"/>; }
49 #level2tabs a:visited { color: <xsl:value-of select="@vlink"/>; }
50 #level2tabs a:hover { color: <xsl:value-of select="@hlink"/>; }
51 </xsl:template>
52
53 <!--xsl:template match="color[@name='subtab-unselected']">
54 .level2tabstrip { background-color: <xsl:value-of select="@value"/>;}
55 .datenote { background-color: <xsl:value-of select="@value"/>;}
56 .level2tabstrip.unselected a:link { color: <xsl:value-of select="@link"/>; }
57 .level2tabstrip.unselected a:visited { color: <xsl:value-of select="@vlink"/>; }
58 .level2tabstrip.unselected a:hover { color: <xsl:value-of select="@hlink"/>; }
59 </xsl:template-->
60
61 <xsl:template match="color[@name='heading']">
62 .heading { background-color: <xsl:value-of select="@value"/>;}
63 </xsl:template>
64
65 <xsl:template match="color[@name='subheading']">
66 .boxed { background-color: <xsl:value-of select="@value"/>;}
67 .underlined_5 {border-bottom: solid 5px <xsl:value-of select="@value"/>;}
68 .underlined_10 {border-bottom: solid 10px <xsl:value-of select="@value"/>;}
69 table caption {
70 background-color: <xsl:value-of select="@value"/>;
71 color: <xsl:value-of select="@font"/>;
72 }
73 </xsl:template>
74 <xsl:template match="color[@name='feedback']">
75 #feedback {
76 color: <xsl:value-of select="@font"/>;
77 background: <xsl:value-of select="@value"/>;
78 text-align: <xsl:value-of select="@align"/>;
79 }
80 #feedback #feedbackto {
81 color: <xsl:value-of select="@font"/>;
82 }
83 </xsl:template>
84
85 <xsl:template match="color[@name='breadtrail']">
86 #main .breadtrail {
87 background: <xsl:value-of select="@value"/>;
88 color: <xsl:value-of select="@font"/>;
89 }
90 #main .breadtrail a:link { color: <xsl:value-of select="@link"/>; }
91 #main .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
92 #main .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }
93 #top .breadtrail {
94 background: <xsl:value-of select="@value"/>;
95 color: <xsl:value-of select="@font"/>;
96 }
97 #top .breadtrail a:link { color: <xsl:value-of select="@link"/>; }
98 #top .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
99 #top .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }
100 </xsl:template>
101 <!--Fix for other (old) profiles-->
102 <xsl:template match="color[@name='navstrip']">
103 #publishedStrip {
104 color: <xsl:value-of select="@font"/>;
105 background: <xsl:value-of select="@value"/>;
106 }
107 </xsl:template>
108 <!--has to go after the nav-strip (no 'navstrip')-->
109 <xsl:template match="color[@name='published']">
110 #publishedStrip {
111 color: <xsl:value-of select="@font"/>;
112 background: <xsl:value-of select="@value"/>;
113 }
114 </xsl:template>
115 <xsl:template match="color[@name='toolbox']">
116 #menu .menupagetitle { background-color: <xsl:value-of select="@value"/>}
117 </xsl:template>
118
119 <xsl:template match="color[@name='border']">
120 #menu { border-color: <xsl:value-of select="@value"/>;}
121 #menu .menupagetitle { border-color: <xsl:value-of select="@value"/>;}
122 #menu .menupageitemgroup { border-color: <xsl:value-of select="@value"/>;}
123 </xsl:template>
124
125 <xsl:template match="color[@name='menu']">
126 #menu { background-color: <xsl:value-of select="@value"/>;}
127 #menu { color: <xsl:value-of select="@font"/>;}
128 #menu a:link { color: <xsl:value-of select="@link"/>;}
129 #menu a:visited { color: <xsl:value-of select="@vlink"/>;}
130 #menu a:hover {
131 background-color: <xsl:value-of select="@value"/>;
132 color: <xsl:value-of select="@hlink"/>;}
133 </xsl:template>
134 <xsl:template match="color[@name='dialog']">
135 #menu .menupagetitle { color: <xsl:value-of select="@font"/>;}
136 #menu .menupageitemgroup {
137 background-color: <xsl:value-of select="@value"/>;
138 }
139 #menu .menupageitem {
140 color: <xsl:value-of select="@font"/>;
141 }
142 #menu .menupageitem a:link { color: <xsl:value-of select="@link"/>;}
143 #menu .menupageitem a:visited { color: <xsl:value-of select="@vlink"/>;}
144 #menu .menupageitem a:hover {
145 background-color: <xsl:value-of select="@value"/>;
146 color: <xsl:value-of select="@hlink"/>;
147 }
148 </xsl:template>
149 <xsl:template match="color[@name='menuheading']">
150 #menu h1 {
151 color: <xsl:value-of select="@font"/>;
152 background-color: <xsl:value-of select="@value"/>;
153 }
154 </xsl:template>
155 <xsl:template match="color[@name='searchbox']">
156 #top .searchbox {
157 background-color: <xsl:value-of select="@value"/> ;
158 color: <xsl:value-of select="@font"/>;
159 }
160 </xsl:template>
161
162 <xsl:template match="color[@name='body']">
163 body{
164 background-color: <xsl:value-of select="@value"/>;
165 color: <xsl:value-of select="@font"/>;
166 }
167 a:link { color:<xsl:value-of select="@link"/>}
168 a:visited { color:<xsl:value-of select="@vlink"/>}
169 a:hover { color:<xsl:value-of select="@hlink"/>}
170
171 </xsl:template>
172
173 <xsl:template match="color[@name='footer']">
174 #footer { background-color: <xsl:value-of select="@value"/>;}
175 </xsl:template>
176
177
178 <!-- ==================== other colors ============================ -->
179 <xsl:template match="color[@name='highlight']">
180 .highlight { background-color: <xsl:value-of select="@value"/>;}
181 </xsl:template>
182
183 <xsl:template match="color[@name='fixme']">
184 .fixme { border-color: <xsl:value-of select="@value"/>;}
185 </xsl:template>
186
187 <xsl:template match="color[@name='note']">
188 .note { border-color: <xsl:value-of select="@value"/>;}
189 </xsl:template>
190
191 <xsl:template match="color[@name='warning']">
192 .warning { border-color: <xsl:value-of select="@value"/>;}
193 </xsl:template>
194
195 <xsl:template match="color[@name='code']">
196 .code { border-color: <xsl:value-of select="@value"/>;}
197 </xsl:template>
198
199 <xsl:template match="color[@name='table']">
200 .ForrestTable { background-color: <xsl:value-of select="@value"/>;}
201 </xsl:template>
202
203 <xsl:template match="color[@name='table-cell']">
204 .ForrestTable td { background-color: <xsl:value-of select="@value"/>;}
205 </xsl:template>
206
207
208 </xsl:stylesheet>

  ViewVC Help
Powered by ViewVC 1.1.26