pylucene 3.5.0-3
[pylucene.git] / lucene-java-3.5.0 / lucene / src / site / src / documentation / skins / lucene / css / profile.css.xslt
1 <?xml version="1.0"?>
2 <!--
3   Licensed to the Apache Software Foundation (ASF) under one or more
4   contributor license agreements.  See the NOTICE file distributed with
5   this work for additional information regarding copyright ownership.
6   The ASF licenses this file to You under the Apache License, Version 2.0
7   (the "License"); you may not use this file except in compliance with
8   the License.  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   <xsl:import href="../../common/css/forrest.css.xslt"/>
20 <!-- xsl:output is not used by Forrest but makes it possible to debug the 
21        stylesheet in standalone editors -->
22   <xsl:output method = "text"  omit-xml-declaration="yes"  />
23 <!-- ==================== main block colors ============================ -->
24   <xsl:template match="color[@name='header']">
25 #top          { background-color: <xsl:value-of select="@value"/>;}  
26 </xsl:template>
27   <xsl:template match="color[@name='tab-selected']"> 
28 #top .header .current { background-color: <xsl:value-of select="@value"/>;} 
29 #top .header .current a:link {  color: <xsl:value-of select="@link"/>;  }
30 #top .header .current a:visited { color: <xsl:value-of select="@vlink"/>; }
31 #top .header .current a:hover { color: <xsl:value-of select="@hlink"/>; }
32 </xsl:template>
33   <xsl:template match="color[@name='tab-unselected']"> 
34 #tabs li      { background-color: <xsl:value-of select="@value"/> ;} 
35 #tabs li a:link {  color: <xsl:value-of select="@link"/>;  }
36 #tabs li a:visited { color: <xsl:value-of select="@vlink"/>; }
37 #tabs li a:hover { color: <xsl:value-of select="@hlink"/>; }
38 </xsl:template>
39   <xsl:template match="color[@name='subtab-selected']">
40 #level2tabs a.selected      { background-color: <xsl:value-of select="@value"/> ;} 
41 #level2tabs a:link {  color: <xsl:value-of select="@link"/>;  }
42 #level2tabs a:visited { color: <xsl:value-of select="@vlink"/>; }
43 #level2tabs a:hover { color: <xsl:value-of select="@hlink"/>; }
44 </xsl:template>
45   <xsl:template match="color[@name='subtab-unselected']">
46 #level2tabs { background-color: <xsl:value-of select="@value"/>;}
47 #level2tabs a.unselected:link {  color: <xsl:value-of select="@link"/>;  }
48 #level2tabs a.unselected:visited { color: <xsl:value-of select="@vlink"/>; }
49 #level2tabs a.unselected:hover { color: <xsl:value-of select="@hlink"/>; }
50 </xsl:template>
51   <xsl:template match="color[@name='heading']">
52 .heading { background-color: <xsl:value-of select="@value"/>;} 
53 </xsl:template>
54   <xsl:template match="color[@name='subheading']">
55 .boxed { background-color: <xsl:value-of select="@value"/>;} 
56 .underlined_5   {border-bottom: solid 5px <xsl:value-of select="@value"/>;}
57 .underlined_10  {border-bottom: solid 10px <xsl:value-of select="@value"/>;}
58 table caption { 
59 background-color: <xsl:value-of select="@value"/>; 
60 color: <xsl:value-of select="@font"/>;
61 }
62 </xsl:template>
63   <xsl:template match="color[@name='feedback']">    
64 #feedback {
65 color: <xsl:value-of select="@font"/>;
66 background: <xsl:value-of select="@value"/>;
67 text-align: <xsl:value-of select="@align"/>;
68 }
69 #feedback #feedbackto {
70 color: <xsl:value-of select="@font"/>;
71 }   
72 </xsl:template>
73   <xsl:template match="color[@name='breadtrail']">
74 #main .breadtrail {
75 background: <xsl:value-of select="@value"/>; 
76 color: <xsl:value-of select="@font"/>;
77 }
78 #main .breadtrail a:link {  color: <xsl:value-of select="@link"/>;  }
79 #main .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
80 #main .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }
81 #top .breadtrail {
82 background: <xsl:value-of select="@value"/>; 
83 color: <xsl:value-of select="@font"/>;
84 }
85 #top .breadtrail a:link {  color: <xsl:value-of select="@link"/>;  }
86 #top .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
87 #top .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }    
88 </xsl:template>
89 <!--Fix for other (old) profiles-->
90   <xsl:template match="color[@name='navstrip']">
91 #publishedStrip { 
92 color: <xsl:value-of select="@font"/>;
93 background: <xsl:value-of select="@value"/>; 
94 }
95 </xsl:template>
96 <!--has to go after the nav-strip (no 'navstrip')-->
97   <xsl:template match="color[@name='published']">
98 #publishedStrip { 
99 color: <xsl:value-of select="@font"/>;
100 background: <xsl:value-of select="@value"/>; 
101 }
102 </xsl:template>
103   <xsl:template match="color[@name='toolbox']">
104 #menu .menupagetitle  { background-color: <xsl:value-of select="@value"/>;
105   color: <xsl:value-of select="@font"/>;}
106 </xsl:template>
107   <xsl:template match="color[@name='border']">
108 #menu           { border-color: <xsl:value-of select="@value"/>;}
109 #menu .menupagetitle  { border-color: <xsl:value-of select="@value"/>;}
110 #menu .menupageitemgroup  { border-color: <xsl:value-of select="@value"/>;}
111 </xsl:template>
112   <xsl:template match="color[@name='menu']">
113 #menu      { background-color: <xsl:value-of select="@value"/>;} 
114 #menu  {  color: <xsl:value-of select="@font"/>;} 
115 #menu a:link {  color: <xsl:value-of select="@link"/>;} 
116 #menu a:visited {  color: <xsl:value-of select="@vlink"/>;} 
117 #menu a:hover {  
118 background-color: <xsl:value-of select="@value"/>;
119 color: <xsl:value-of select="@hlink"/>;} 
120 </xsl:template>
121   <xsl:template match="color[@name='dialog']"> 
122 #menu .menupageitemgroup     { 
123 background-color: <xsl:value-of select="@value"/>;
124 }
125 #menu .menupageitem {
126 color: <xsl:value-of select="@font"/>;
127
128 #menu .menupageitem a:link {  color: <xsl:value-of select="@link"/>;} 
129 #menu .menupageitem a:visited {  color: <xsl:value-of select="@vlink"/>;} 
130 #menu .menupageitem a:hover {  
131 background-color: <xsl:value-of select="@value"/>;
132 color: <xsl:value-of select="@hlink"/>;
133 }
134 </xsl:template>
135   <xsl:template match="color[@name='menuheading']">
136 #menu h1 {
137 color: <xsl:value-of select="@font"/>;
138 background-color: <xsl:value-of select="@value"/>;
139 }   
140 </xsl:template>
141   <xsl:template match="color[@name='searchbox']"> 
142 #top .searchbox { 
143 background-color: <xsl:value-of select="@value"/> ;
144 color: <xsl:value-of select="@font"/>; 
145
146 </xsl:template>
147   <xsl:template match="color[@name='body']">
148 body{ 
149 background-color: <xsl:value-of select="@value"/>;
150 color: <xsl:value-of select="@font"/>;
151
152 a:link { color:<xsl:value-of select="@link"/>} 
153 a:visited { color:<xsl:value-of select="@vlink"/>} 
154 a:hover { color:<xsl:value-of select="@hlink"/>} 
155
156 </xsl:template>
157   <xsl:template match="color[@name='footer']"> 
158 #footer       { background-color: <xsl:value-of select="@value"/>;} 
159 </xsl:template>
160 <!-- ==================== other colors ============================ -->
161   <xsl:template match="color[@name='highlight']"> 
162 .highlight        { background-color: <xsl:value-of select="@value"/>;} 
163 </xsl:template>
164   <xsl:template match="color[@name='fixme']"> 
165 .fixme        { border-color: <xsl:value-of select="@value"/>;} 
166 </xsl:template>
167   <xsl:template match="color[@name='note']"> 
168 .note         { border-color: <xsl:value-of select="@value"/>;} 
169 </xsl:template>
170   <xsl:template match="color[@name='warning']"> 
171 .warning         { border-color: <xsl:value-of select="@value"/>;} 
172 </xsl:template>
173   <xsl:template match="color[@name='code']"> 
174 .code         { border-color: <xsl:value-of select="@value"/>;} 
175 </xsl:template>
176   <xsl:template match="color[@name='table']"> 
177 .ForrestTable      { background-color: <xsl:value-of select="@value"/>;} 
178 </xsl:template>
179   <xsl:template match="color[@name='table-cell']"> 
180 .ForrestTable td   { background-color: <xsl:value-of select="@value"/>;} 
181 </xsl:template>
182 </xsl:stylesheet>