You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by an...@apache.org on 2003/11/15 02:06:14 UTC
cvs commit: cocoon-2.1/src/blocks/woody/samples/resources woody.css woody-field-styling.xsl
antonio 2003/11/14 17:06:14
Modified: src/blocks/woody/samples/resources woody.css
woody-field-styling.xsl
Log:
Adding CSS styling for "required" attribute in fields
Revision Changes Path
1.2 +5 -0 cocoon-2.1/src/blocks/woody/samples/resources/woody.css
Index: woody.css
===================================================================
RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/samples/resources/woody.css,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- woody.css 7 Nov 2003 16:38:43 -0000 1.1
+++ woody.css 15 Nov 2003 01:06:14 -0000 1.2
@@ -30,3 +30,8 @@
color: red;
font-weight: bold;
}
+
+.woody-field-required {
+ color:blue;
+ font-weight: bold;
+}
1.11 +1 -1 cocoon-2.1/src/blocks/woody/samples/resources/woody-field-styling.xsl
Index: woody-field-styling.xsl
===================================================================
RCS file: /home/cvs//cocoon-2.1/src/blocks/woody/samples/resources/woody-field-styling.xsl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- woody-field-styling.xsl 14 Nov 2003 09:46:05 -0000 1.10
+++ woody-field-styling.xsl 15 Nov 2003 01:06:14 -0000 1.11
@@ -73,7 +73,7 @@
<xsl:template name="woody-field-common">
<xsl:apply-templates select="wi:validation-message"/>
<xsl:if test="@required='true'">
- <b>*</b>
+ <span class="woody-field-required"> * </span>
</xsl:if>
</xsl:template>