Changeset 8530
- Timestamp:
- 2004-11-12T15:26:31+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/web/interfaces/default/transform/style.xsl
r8526 r8530 10 10 <xsl:param name="interface_name"/> 11 11 <xsl:param name="library_name"/> 12 12 13 13 <!-- global style info goes here --> 14 14 <xsl:template name="globalStyle"> 15 <style type="text/css"> 16 <xsl:text disable-output-escaping="yes"> 17 a.brownbutton {text-decoration:none; color:#345437; 18 font-weight: bold; vertical-align: middle; } 19 a:visited.brownbutton { color:#345437; } 20 a:hover.brownbutton {color: red; } 21 td.brownbutton { background-image: url(interfaces/default/images/brownbutton.gif); height: 20; text-align: center; vertical-align: middle; } 22 td.brownbuttonoff { background-image: url(interfaces/default/images/greenbar.gif); height: 20; text-align: center; color:#345437; 23 font-weight: bold;} 24 td.navbar { background-image: url(interfaces/default/images/greenbar.gif); height: 20; text-align: center; font-weight:bold; color:#345437;} 25 a.navbar, a:visited.navbar { text-decoration: none; font-size: larger; color:#345437;} 26 a:hover.navbar {color:red;} 27 td.navbaroff {background-image: url(interfaces/default/images/greenbar.gif); height: 20; text-align: center; font-weight:bold; color: #c6aa69; font-size: larger;} 28 body {background-color: #ffffff; background-image: url(interfaces/default/images/chalk.gif); color:#000066 } 29 a {color: #006666; } 30 a:visited {color: #666633} 31 a:hover {color: #cc9900} 32 </xsl:text> 33 </style> 34 </xsl:template> 35 36 15 <link rel="stylesheet" href="interfaces/default/style/core.css" type="text/css"/> 16 </xsl:template> 17 37 18 <!-- the main page layout template is here --> 38 19 <xsl:template match="page"> … … 112 93 <table cellspacing='4'> 113 94 <tr> 114 <td class=" brownbutton">115 <a class=" brownbutton" href="{$library_name}?a=p&sa=home"><xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home_tip')"/></xsl:attribute>95 <td class="gsbutton"> 96 <a class="gsbutton" href="{$library_name}?a=p&sa=home"><xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home_tip')"/></xsl:attribute> 116 97 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home_b')"/> 117 98 </a> … … 119 100 <xsl:choose> 120 101 <xsl:when test="$pageType='help'"> 121 <td class=" brownbuttonoff">102 <td class="gsbuttonoff"> 122 103 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_b')"/> 123 104 </td> 124 105 </xsl:when> 125 106 <xsl:otherwise> 126 <td class=" brownbutton">127 <a class=" brownbutton" href="{$library_name}?a=p&sa=help&c={$collName}"><xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_tip')"/></xsl:attribute>107 <td class="gsbutton"> 108 <a class="gsbutton" href="{$library_name}?a=p&sa=help&c={$collName}"><xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_tip')"/></xsl:attribute> 128 109 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_b')"/> 129 110 </a> … … 133 114 <xsl:choose> 134 115 <xsl:when test="$pageType='pref'"> 135 <td class=" brownbuttonoff">116 <td class="gsbuttonoff"> 136 117 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_b')"/> 137 118 </td> 138 119 </xsl:when> 139 120 <xsl:otherwise> 140 <td class=" brownbutton">141 <a class=" brownbutton" href="{$library_name}?a=p&sa=pref&c={$collName}"><xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_tip')"/></xsl:attribute>121 <td class="gsbutton"> 122 <a class="gsbutton" href="{$library_name}?a=p&sa=pref&c={$collName}"><xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_tip')"/></xsl:attribute> 142 123 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_b')"/> 143 124 </a>
Note:
See TracChangeset
for help on using the changeset viewer.