source: main/trunk/model-cols-dev/pei-jones/collect/photos/transform/layouts/header.xsl@ 28129

Last change on this file since 28129 was 28129, checked in by davidb, 11 years ago

Just the customized bits to header for Pei Jones look-and-feel web pages

File size: 2.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 xmlns:java="http://xml.apache.org/xslt/java"
5 xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
6 xmlns:gslib="http://www.greenstone.org/skinning"
7 xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
8 extension-element-prefixes="java util"
9 exclude-result-prefixes="java util gsf">
10
11 <xsl:template name="PeiJoinesBackground">
12 <style>
13 body {
14 background-image: url(sites/<xsl:value-of select="$site_name"/>/images/background.jpg);
15 background-repeat: no-repeat;
16 background-position: center top;
17 background-color: #2d2d2d;
18 }
19
20 #containerXXX {
21 max-width: 980px;
22 }
23
24 #topArea {
25 margin: 0px auto 0;
26 /* max-width: 970px; */
27 }
28
29 .ui-widget-header {
30 background: url(sites/<xsl:value-of select="$site_name"/>/images/pei-jones-banner-bg.png);
31 repeat-x scroll left top #f1ce28;
32 }
33
34 .ui-widget-content {
35 color: #888888;
36 }
37
38 .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
39/* background: url("images/ui-bg_highlight-hard_15_459e00_1x100.png") repeat-x scroll 50% 50% #459E00; */
40/* background: url(interfaces/<xsl:value-of select="$interface_name"/>/xxstyle/themes/main/images/ui-bg_highlight-hard_15_459e00_1x100.png) repeat-x scroll 50% 50% #a0a0a0; */
41
42 background: none repeat-x scroll 50% 50% #a0a0a0;
43/* border: 1px solid #327E04; */
44 border: 1px solid #808080;
45 color: #FFFFFF;
46 font-weight: bold;
47 }
48
49 .ui-widget-header {
50 border: 1px solid #808080;
51 }
52
53 .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
54 color: #000000;
55 /* text-decoration: none; */
56 }
57 </style>
58 </xsl:template>
59
60
61 <xsl:template name="additionalHeaderContent">
62 <!-- This template should be overridden in the collectionConfig.xml file if you want to add extra header content -->
63 <xsl:call-template name="PeiJoinesBackground"/>
64 </xsl:template>
65
66</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.