You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by he...@apache.org on 2006/05/10 11:46:52 UTC

svn commit: r405694 - in /myfaces/tobago/trunk: ./ core/src/site/ core/src/site/resources/css/ src/site/ src/site/resources/css/ src/site/resources/images/

Author: hennes
Date: Wed May 10 02:46:49 2006
New Revision: 405694

URL: http://svn.apache.org/viewcvs?rev=405694&view=rev
Log:
added tobago logo, changed design

Added:
    myfaces/tobago/trunk/core/src/site/resources/css/png-fix.htc
    myfaces/tobago/trunk/src/site/resources/css/png-fix.htc
    myfaces/tobago/trunk/src/site/resources/images/myfaces-logo.png   (with props)
    myfaces/tobago/trunk/src/site/resources/images/tobagoLogo.png   (with props)
Modified:
    myfaces/tobago/trunk/core/src/site/resources/css/site.css
    myfaces/tobago/trunk/core/src/site/site.xml
    myfaces/tobago/trunk/pom.xml
    myfaces/tobago/trunk/src/site/resources/css/site.css
    myfaces/tobago/trunk/src/site/site.xml

Added: myfaces/tobago/trunk/core/src/site/resources/css/png-fix.htc
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/core/src/site/resources/css/png-fix.htc?rev=405694&view=auto
==============================================================================
--- myfaces/tobago/trunk/core/src/site/resources/css/png-fix.htc (added)
+++ myfaces/tobago/trunk/core/src/site/resources/css/png-fix.htc Wed May 10 02:46:49 2006
@@ -0,0 +1,57 @@
+<public:component lightWeight="true">
+<public:attach event="onpropertychange" onEvent="propertyChanged()" />
+<script>
+/*
+ * Based on
+ * http://www.mongus.net/pngInfo/
+ * and
+ * http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html
+ *
+ */
+
+       var gNeedFix = needFix();
+
+       var transparentImage = "transparent.gif";
+
+       pngFix();
+
+       function propertyChanged() {
+               if (event.propertyName == "src") {
+                       pngFix();
+         }
+       }
+
+       function pngFix() {
+               if (!gNeedFix) {
+                       return;
+               }
+
+               var src = element.src;
+
+               if (src.indexOf(transparentImage) != -1) {
+                       return;
+               }
+
+               if (src.indexOf(".png") == -1) {
+                       return;
+               }
+
+   var w = element.width;
+   var h = element.height;
+               element.src = src.substring(0, src.lastIndexOf('/') + 1)  + transparentImage;
+   element.width = w;
+   element.height = h;
+               element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "',sizingMethod='scale')";
+       }
+
+       function needFix() {
+               var pos = navigator.userAgent.indexOf("MSIE ");
+               if (pos == -1) {
+                       return false;
+               }
+               var version = navigator.userAgent.substring(pos + 5);
+               return (((version.indexOf("5.5") == 0) || (version.indexOf("6") == 0)) && (navigator.platform == ("Win32")));
+       }
+
+</script>
+</public:component>
\ No newline at end of file

Modified: myfaces/tobago/trunk/core/src/site/resources/css/site.css
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/core/src/site/resources/css/site.css?rev=405694&r1=405693&r2=405694&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/site/resources/css/site.css (original)
+++ myfaces/tobago/trunk/core/src/site/resources/css/site.css Wed May 10 02:46:49 2006
@@ -1,3 +1,204 @@
-H2, H3, H4, H5 {
+/*H2, H3, H4, H5 {
   color: #660000;
-}
\ No newline at end of file
+}
+*/
+
+body {
+  background-color: #fff;
+	font-family: Verdana, Helvetica, Arial, sans-serif;
+	margin-left: auto;
+	margin-right: auto;
+	background-repeat: repeat-y;
+	font-size: 13px;
+	padding: 0px;
+}
+td, select, input, li{
+	font-family: Verdana, Helvetica, Arial, sans-serif;
+	font-size: 12px;
+	color:#333333;
+}
+code{
+  font-size: 12px;
+}
+a {
+  text-decoration: none;
+}
+a:link {
+  color:#47a;
+}
+a:visited  {
+  color:#666666;
+}
+a:active, a:hover {
+  color:#990000;
+}
+#legend li.externalLink {
+  background: url(../images/external.png) left top no-repeat;
+  padding-left: 18px;
+}
+a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover {
+  background: url(../images/external.png) right center no-repeat;
+  padding-right: 18px;
+}
+#legend li.newWindow {
+  background: url(../images/newwindow.png) left top no-repeat;
+  padding-left: 18px;
+}
+a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover {
+  background: url(../images/newwindow.png) right center no-repeat;
+  padding-right: 18px;
+}
+h2 {
+	font-size: 17px;
+	color: #660000;
+}
+
+h3 {
+	padding: 4px 4px 4px 24px;
+	color: #660000;
+	background-color: #CECECE;
+	font-weight: bold;
+	font-size: 14px;
+	background-image: url(../images/h3.jpg);
+	background-repeat: no-repeat;
+	background-position: left bottom;
+}
+p {
+  line-height: 1.3em;
+  font-size: 12px;
+  color: #000;
+}
+#breadcrumbs {
+	color: #DDDDDD;
+	padding: 5px 5px 5px 5px;
+}
+
+* html #breadcrumbs {
+	padding-bottom: 8px;
+}
+#leftColumn {
+  background-color: #B2C4E0;
+}
+#navcolumn h5 {
+	font-size: smaller;
+	border-bottom: 1px solid #aaaaaa;
+	padding-top: 2px;
+	padding-left: 9px;
+	color: #49635a;
+	background-image: url(../images/h5.gif);
+	background-repeat: no-repeat;
+	background-position: left bottom;
+}
+
+table.bodyTable th {
+  color: white;
+  background-color: #999999;
+  text-align: left;
+  font-weight: bold;
+}
+
+table.bodyTable th, table.bodyTable td {
+  font-size: 11px;
+}
+
+table.bodyTable tr.a {
+  background-color: #ddd;
+}
+
+table.bodyTable tr.b {
+  background-color: #eee;
+}
+
+.source {
+  border: 1px solid #999;
+  overflow:auto
+}
+dt {
+	padding: 4px 4px 4px 24px;
+	color: #333333;
+	background-color: #ccc;
+	font-weight: bold;
+	font-size: 14px;
+	background-image: url(../images/h3.jpg);
+	background-repeat: no-repeat;
+	background-position: left bottom;
+}
+.subsectionTitle {
+	font-size: 13px;
+	font-weight: bold;
+	color: #666;
+
+}
+
+table {
+	font-size: 10px;
+}
+.xright a:link, .xright a:visited, .xright a:active {
+  color: #666;
+}
+.xright a:hover {
+  color: #003300;
+}
+#banner {
+	background-color: #B5C8CF;
+	border-bottom: 1px solid #B5C8CF;
+}
+#navcolumn ul {
+	margin: 5px 0 15px -0em;
+}
+#navcolumn ul a {
+	color: #333333;
+}
+#navcolumn ul a:hover {
+	color: red;
+}
+#intro {
+	border: solid #ccc 1px;
+	margin: 6px 0px 0px 0px;
+	padding: 10px 40px 10px 40px;
+}
+.subsection {
+	margin-left: 3px;
+	color: #333333;
+}
+
+.subsection p {
+	font-size: 12px;
+}
+#footer {
+  padding: 10px;
+  margin: 20px 0px 20px 0px;
+  border-top: solid #ccc 1px;
+  color: #333333;
+}
+
+
+dl {
+  padding: 0px 0px 5px 0px;
+  border: 0px;
+  background: url(../images/dl.jpg) left top no-repeat
+}
+
+dt {
+  padding: 0px 0px 0px 25px;
+  border: 0px;
+  background-color: #FFFFFF;
+}
+
+div#leftColumn {
+  background: #F0F0F0;
+  border-color: #999 #999 #999 #999;
+  border-width: 1px;
+  border-style: solid;
+}
+
+
+
+#breadcrumbs{
+  background: #F0F0F0;
+  color: #000000;
+}
+
+#banner img {
+ behavior: url(css/png-fix.htc);
+}

Modified: myfaces/tobago/trunk/core/src/site/site.xml
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/core/src/site/site.xml?rev=405694&r1=405693&r2=405694&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/site/site.xml (original)
+++ myfaces/tobago/trunk/core/src/site/site.xml Wed May 10 02:46:49 2006
@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <project name="Tobago core">
   <bannerLeft>
-    <name>Tobago</name>
-    <src>http://myfaces.apache.org/tobago/images/tobago_head.gif</src>
-    <href>http://myfaces.apache.org/tobago</href>
-  </bannerLeft>
-  <bannerRight>
     <name>MyFaces</name>
-    <src>http://myfaces.apache.org/images/logo.png</src>
+    <src>images/myfaces-logo.png</src>
     <href>http://myfaces.apache.org/</href>
+  </bannerLeft>
+  <bannerRight>
+    <name>Tobago</name>
+    <src>images/tobagoLogo.png</src>
+    <href>http://myfaces.apache.org/tobago</href>
   </bannerRight>
   <body>
     <links>

Modified: myfaces/tobago/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/pom.xml?rev=405694&r1=405693&r2=405694&view=diff
==============================================================================
--- myfaces/tobago/trunk/pom.xml (original)
+++ myfaces/tobago/trunk/pom.xml Wed May 10 02:46:49 2006
@@ -160,7 +160,12 @@
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>taglist-maven-plugin</artifactId>
         <configuration>
-          <tags>TODO, FIXME, XXX, @deprecated</tags>
+          <tags>
+          <tag>TODO</tag>
+          <tag> FIXME</tag> 
+          <tag>XXX</tag>
+          <tag>@deprecated</tag>
+          </tags>
         </configuration>
       </plugin>
 

Added: myfaces/tobago/trunk/src/site/resources/css/png-fix.htc
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/src/site/resources/css/png-fix.htc?rev=405694&view=auto
==============================================================================
--- myfaces/tobago/trunk/src/site/resources/css/png-fix.htc (added)
+++ myfaces/tobago/trunk/src/site/resources/css/png-fix.htc Wed May 10 02:46:49 2006
@@ -0,0 +1,57 @@
+<public:component lightWeight="true">
+<public:attach event="onpropertychange" onEvent="propertyChanged()" />
+<script>
+/*
+ * Based on
+ * http://www.mongus.net/pngInfo/
+ * and
+ * http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html
+ *
+ */
+
+       var gNeedFix = needFix();
+
+       var transparentImage = "transparent.gif";
+
+       pngFix();
+
+       function propertyChanged() {
+               if (event.propertyName == "src") {
+                       pngFix();
+         }
+       }
+
+       function pngFix() {
+               if (!gNeedFix) {
+                       return;
+               }
+
+               var src = element.src;
+
+               if (src.indexOf(transparentImage) != -1) {
+                       return;
+               }
+
+               if (src.indexOf(".png") == -1) {
+                       return;
+               }
+
+   var w = element.width;
+   var h = element.height;
+               element.src = src.substring(0, src.lastIndexOf('/') + 1)  + transparentImage;
+   element.width = w;
+   element.height = h;
+               element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "',sizingMethod='scale')";
+       }
+
+       function needFix() {
+               var pos = navigator.userAgent.indexOf("MSIE ");
+               if (pos == -1) {
+                       return false;
+               }
+               var version = navigator.userAgent.substring(pos + 5);
+               return (((version.indexOf("5.5") == 0) || (version.indexOf("6") == 0)) && (navigator.platform == ("Win32")));
+       }
+
+</script>
+</public:component>
\ No newline at end of file

Modified: myfaces/tobago/trunk/src/site/resources/css/site.css
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/src/site/resources/css/site.css?rev=405694&r1=405693&r2=405694&view=diff
==============================================================================
--- myfaces/tobago/trunk/src/site/resources/css/site.css (original)
+++ myfaces/tobago/trunk/src/site/resources/css/site.css Wed May 10 02:46:49 2006
@@ -1,3 +1,204 @@
-H2, H3, H4, H5 {
+/*H2, H3, H4, H5 {
   color: #660000;
-}
\ No newline at end of file
+}
+*/
+
+body {
+  background-color: #fff;
+	font-family: Verdana, Helvetica, Arial, sans-serif;
+	margin-left: auto;
+	margin-right: auto;
+	background-repeat: repeat-y;
+	font-size: 13px;
+	padding: 0px;
+}
+td, select, input, li{
+	font-family: Verdana, Helvetica, Arial, sans-serif;
+	font-size: 12px;
+	color:#333333;
+}
+code{
+  font-size: 12px;
+}
+a {
+  text-decoration: none;
+}
+a:link {
+  color:#47a;
+}
+a:visited  {
+  color:#666666;
+}
+a:active, a:hover {
+  color:#990000;
+}
+#legend li.externalLink {
+  background: url(../images/external.png) left top no-repeat;
+  padding-left: 18px;
+}
+a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover {
+  background: url(../images/external.png) right center no-repeat;
+  padding-right: 18px;
+}
+#legend li.newWindow {
+  background: url(../images/newwindow.png) left top no-repeat;
+  padding-left: 18px;
+}
+a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover {
+  background: url(../images/newwindow.png) right center no-repeat;
+  padding-right: 18px;
+}
+h2 {
+	font-size: 17px;
+	color: #660000;
+}
+
+h3 {
+	padding: 4px 4px 4px 24px;
+	color: #660000;
+	background-color: #CECECE;
+	font-weight: bold;
+	font-size: 14px;
+	background-image: url(../images/h3.jpg);
+	background-repeat: no-repeat;
+	background-position: left bottom;
+}
+p {
+  line-height: 1.3em;
+  font-size: 12px;
+  color: #000;
+}
+#breadcrumbs {
+	color: #DDDDDD;
+	padding: 5px 5px 5px 5px;
+}
+
+* html #breadcrumbs {
+	padding-bottom: 8px;
+}
+#leftColumn {
+  background-color: #B2C4E0;
+}
+#navcolumn h5 {
+	font-size: smaller;
+	border-bottom: 1px solid #aaaaaa;
+	padding-top: 2px;
+	padding-left: 9px;
+	color: #49635a;
+	background-image: url(../images/h5.gif);
+	background-repeat: no-repeat;
+	background-position: left bottom;
+}
+
+table.bodyTable th {
+  color: white;
+  background-color: #999999;
+  text-align: left;
+  font-weight: bold;
+}
+
+table.bodyTable th, table.bodyTable td {
+  font-size: 11px;
+}
+
+table.bodyTable tr.a {
+  background-color: #ddd;
+}
+
+table.bodyTable tr.b {
+  background-color: #eee;
+}
+
+.source {
+  border: 1px solid #999;
+  overflow:auto
+}
+dt {
+	padding: 4px 4px 4px 24px;
+	color: #333333;
+	background-color: #ccc;
+	font-weight: bold;
+	font-size: 14px;
+	background-image: url(../images/h3.jpg);
+	background-repeat: no-repeat;
+	background-position: left bottom;
+}
+.subsectionTitle {
+	font-size: 13px;
+	font-weight: bold;
+	color: #666;
+
+}
+
+table {
+	font-size: 10px;
+}
+.xright a:link, .xright a:visited, .xright a:active {
+  color: #666;
+}
+.xright a:hover {
+  color: #003300;
+}
+#banner {
+	background-color: #B5C8CF;
+	border-bottom: 1px solid #B5C8CF;
+}
+#navcolumn ul {
+	margin: 5px 0 15px -0em;
+}
+#navcolumn ul a {
+	color: #333333;
+}
+#navcolumn ul a:hover {
+	color: red;
+}
+#intro {
+	border: solid #ccc 1px;
+	margin: 6px 0px 0px 0px;
+	padding: 10px 40px 10px 40px;
+}
+.subsection {
+	margin-left: 3px;
+	color: #333333;
+}
+
+.subsection p {
+	font-size: 12px;
+}
+#footer {
+  padding: 10px;
+  margin: 20px 0px 20px 0px;
+  border-top: solid #ccc 1px;
+  color: #333333;
+}
+
+
+dl {
+  padding: 0px 0px 5px 0px;
+  border: 0px;
+  background: url(../images/dl.jpg) left top no-repeat
+}
+
+dt {
+  padding: 0px 0px 0px 25px;
+  border: 0px;
+  background-color: #FFFFFF;
+}
+
+div#leftColumn {
+  background: #F0F0F0;
+  border-color: #999 #999 #999 #999;
+  border-width: 1px;
+  border-style: solid;
+}
+
+
+
+#breadcrumbs{
+  background: #F0F0F0;
+  color: #000000;
+}
+
+#banner img {
+ behavior: url(css/png-fix.htc);
+}

Added: myfaces/tobago/trunk/src/site/resources/images/myfaces-logo.png
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/src/site/resources/images/myfaces-logo.png?rev=405694&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/tobago/trunk/src/site/resources/images/myfaces-logo.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: myfaces/tobago/trunk/src/site/resources/images/tobagoLogo.png
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/src/site/resources/images/tobagoLogo.png?rev=405694&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/tobago/trunk/src/site/resources/images/tobagoLogo.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: myfaces/tobago/trunk/src/site/site.xml
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/src/site/site.xml?rev=405694&r1=405693&r2=405694&view=diff
==============================================================================
--- myfaces/tobago/trunk/src/site/site.xml (original)
+++ myfaces/tobago/trunk/src/site/site.xml Wed May 10 02:46:49 2006
@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <project name="Tobago">
   <bannerLeft>
-    <name>Tobago</name>
-    <src>images/tobago_head.gif</src>
-    <href>http://myfaces.apache.org/tobago</href>
-  </bannerLeft>
-  <bannerRight>
     <name>MyFaces</name>
-    <src>http://myfaces.apache.org/images/logo.png</src>
+    <src>images/myfaces-logo.png</src>
     <href>http://myfaces.apache.org/</href>
+  </bannerLeft>
+  <bannerRight>
+    <name>Tobago</name>
+    <src>images/tobagoLogo.png</src>
+    <href>http://myfaces.apache.org/tobago</href>
   </bannerRight>
   <body>