Minor fixes for Decorator.css.php based on real-world use:
authorRobert Sesek <rsesek@bluestatic.org>
Thu, 8 Jan 2009 18:38:24 +0000 (10:38 -0800)
committerRobert Sesek <rsesek@bluestatic.org>
Thu, 8 Jan 2009 18:38:24 +0000 (10:38 -0800)
- dfn no longer needs to be a child element to be styled
- Added more padding to dd and make it float left instead of right
- Added new .submit row
- Made .headings:td pseduo-classes in reverse order for cascading purposes

Decorator.css.php

index d126f3f38c82f35cf3082d7d3198258d7c57e5ad..fae10964ed4ff9031e1dc19b8c1d18f13760618f 100644 (file)
@@ -126,7 +126,7 @@ fieldset dt label
 }
 
 /* Description for form elements/names */
-fieldset label dfn
+dfn
 {
        font-weight: normal;
        font-style: italic;
@@ -153,11 +153,25 @@ fieldset dl dt
 /* Field value editor */
 fieldset dl dd
 {
-       padding: 4px 0px 2px 4px;
+       padding: 4px 0px 2px 5px;
        margin: 5px 0px 5px 0px;
        
-       width: 48%;
-       float: right;
+       border-width: 0px 0px 0px 0px;
+       border-color: #7BAA5A;
+       border-style: solid;
+
+       float: left;
+}
+
+/* Submit row items */
+.submit
+{
+       text-align: center;
+       
+       background-color: rgb(50, 50, 50);
+       
+       margin: 4px 0px 4px 0px;
+       padding: 5px;
 }
 
 /*******************************************************************/
@@ -227,14 +241,14 @@ thead
                text-align: center;
        }
 
-       .headings td:first-child
+       .headings td:last-child
        {
-               text-align: left;
+               text-align: right;
        }
 
-       .headings td:last-child
+       .headings td:first-child
        {
-               text-align: right;
+               text-align: left;
        }
 
 /* Data formatting for tables */