[Checkins] SVN: z3c.formui/trunk/ Update CSS to reflect changes in z3c.form.

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Jul 31 21:43:44 EDT 2007


Log message for revision 78515:
  Update CSS to reflect changes in z3c.form.
  

Changed:
  U   z3c.formui/trunk/CHANGES.txt
  U   z3c.formui/trunk/src/z3c/formui/div-form.css
  U   z3c.formui/trunk/src/z3c/formui/table-form.css

-=-
Modified: z3c.formui/trunk/CHANGES.txt
===================================================================
--- z3c.formui/trunk/CHANGES.txt	2007-08-01 01:20:54 UTC (rev 78514)
+++ z3c.formui/trunk/CHANGES.txt	2007-08-01 01:43:43 UTC (rev 78515)
@@ -2,9 +2,12 @@
 CHANGES
 =======
 
-Version 1.2.1 (8/??/2007)
+Version 1.3.0 (8/??/2007)
 -------------------------
 
+- Refactoring: Update CSS classes to reflect latest changes to the widget
+  classes in ``z3c.form``.
+
 - Bug: The table-form template did not properly render the error at the
   widget, because the ``render()`` method was not called. Thanks to Markus
   Leist for the report.

Modified: z3c.formui/trunk/src/z3c/formui/div-form.css
===================================================================
--- z3c.formui/trunk/src/z3c/formui/div-form.css	2007-08-01 01:20:54 UTC (rev 78514)
+++ z3c.formui/trunk/src/z3c/formui/div-form.css	2007-08-01 01:43:43 UTC (rev 78515)
@@ -39,7 +39,7 @@
     padding: 0px;
 }
 
-span.required {
+div.required-info span.required, div.label span.required {
     color: red;
 }
 
@@ -54,32 +54,32 @@
     border: 1px solid gray;
 }
 
-input.checkBoxWidget {
+input.checkbox-widget {
     border: none;
 }
 
-input.fileWidget {
+input.file-widget {
     width: 300px;
 }
 
-input.passwordWidget {
+input.password-widget {
     width: 300px;
 }
 
-input.radioWidget {
+input.radio-widget {
     border: none;
 }
 
-select.selectWidget {
+select.select-widget {
     width: 300px;
     border: 1px solid gray;
 }
 
-input.textWidget {
+input.text-widget {
     width: 300px;
 }
 
-textarea.textAreaWidget {
+textarea.textarea-widget {
     width: 300px;
     height: 100px;
 }

Modified: z3c.formui/trunk/src/z3c/formui/table-form.css
===================================================================
--- z3c.formui/trunk/src/z3c/formui/table-form.css	2007-08-01 01:20:54 UTC (rev 78514)
+++ z3c.formui/trunk/src/z3c/formui/table-form.css	2007-08-01 01:43:43 UTC (rev 78515)
@@ -40,7 +40,7 @@
     padding: 0px;
 }
 
-span.required {
+div.required-info span.required, td.label span.required {
     color: red;
 }
 
@@ -55,32 +55,32 @@
     border: 1px solid gray;
 }
 
-input.fileWidget {
+input.file-widget {
     width: 300px;
 }
 
-input.checkBoxWidget {
+input.checkbox-widget {
     border: none;
 }
 
-input.passwordWidget {
+input.password-widget {
     width: 300px;
 }
 
-input.radioWidget {
+input.radio-widget {
     border: none;
 }
 
-select.selectWidget {
+select.select-widget {
     width: 300px;
     border: 1px solid gray;
 }
 
-input.textWidget {
+input.text-widget {
     width: 300px;
 }
 
-textarea.textAreaWidget {
+textarea.textarea-widget {
     width: 300px;
     height: 100px;
 }



More information about the Checkins mailing list