clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject svn commit: r910543 - in /incubator/clerezza/trunk/org.apache.clerezza.parent: org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/ org.apache.clerezza.webapp.parent/org.apache.clerezza.platform....
Date Tue, 16 Feb 2010 14:46:15 GMT
Author: ito
Date: Tue Feb 16 14:46:14 2010
New Revision: 910543

URL: http://svn.apache.org/viewvc?rev=910543&view=rev
Log:
added discobits.css style to render titled content

Added:
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/discobits.css
Modified:
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/style.css
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.platform.content/src/main/java/org/apache/clerezza/platform/content/TitledContentRenderlet.java

Added: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/discobits.css
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/discobits.css?rev=910543&view=auto
==============================================================================
--- incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/discobits.css
(added)
+++ incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/discobits.css
Tue Feb 16 14:46:14 2010
@@ -0,0 +1,4 @@
+div.tx-titledcontent {
+	margin-left: 0.5em;
+	margin-bottom: 1em;
+}

Modified: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/style.css
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/style.css?rev=910543&r1=910542&r2=910543&view=diff
==============================================================================
--- incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/style.css
(original)
+++ incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.web.resources.style/src/main/resources/org/apache/clerezza/web/resources/style/staticweb/style.css
Tue Feb 16 14:46:14 2010
@@ -22,4 +22,6 @@
 @import "clearfix.css";
 @import "loader.css";
 
-@import "yui.css";
\ No newline at end of file
+@import "yui.css";
+
+@import "discobits.css";

Modified: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.platform.content/src/main/java/org/apache/clerezza/platform/content/TitledContentRenderlet.java
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.platform.content/src/main/java/org/apache/clerezza/platform/content/TitledContentRenderlet.java?rev=910543&r1=910542&r2=910543&view=diff
==============================================================================
--- incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.platform.content/src/main/java/org/apache/clerezza/platform/content/TitledContentRenderlet.java
(original)
+++ incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.platform.content/src/main/java/org/apache/clerezza/platform/content/TitledContentRenderlet.java
Tue Feb 16 14:46:14 2010
@@ -67,13 +67,13 @@
 			OutputStream os) throws IOException {
 		PrintWriter writer = new PrintWriter(os);
 		List<GraphNode> containedNodes = getContainedNodes(res);
+		writer.print("<div class='tx-titledcontent'>");
 		writer.print(getHeaderOpen());
 		writer.flush();
 		callbackRenderer.render(
 				containedNodes.get(0),
 				context, mode, os);
 		writer.println(getHeaderClose());
-		writer.print("<div>");
 		headingLevel.set(headingLevel.get()+1);
 		writer.flush();
 		callbackRenderer.render(



Mime
View raw message