[Jifty-commit] r620 - in jifty/trunk: . lib/Jifty/Web/Form/Field

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Wed Feb 22 22:21:22 EST 2006


Author: trs
Date: Wed Feb 22 22:21:22 2006
New Revision: 620

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Web/Form/Field/Button.pm
   jifty/trunk/share/web/static/css/forms.css

Log:
 r8739 at wintermute:  tom | 2006-02-22 22:19:50 -0500
 Make sure buttons have the proper class and change the styling to reflect this


Modified: jifty/trunk/lib/Jifty/Web/Form/Field/Button.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Field/Button.pm	(original)
+++ jifty/trunk/lib/Jifty/Web/Form/Field/Button.pm	Wed Feb 22 22:21:22 2006
@@ -19,7 +19,7 @@
         'type="submit"',
         'name="' . $self->input_name . '" ',
         'value="' . $self->label . '"',
-        $self->_widget_class,
+        $self->_widget_class('button'),
         $self->javascript,
         ' />',
         "\n"

Modified: jifty/trunk/share/web/static/css/forms.css
==============================================================================
--- jifty/trunk/share/web/static/css/forms.css	(original)
+++ jifty/trunk/share/web/static/css/forms.css	Wed Feb 22 22:21:22 2006
@@ -55,11 +55,14 @@
 
 .submit_button input {
     clear: both;
+    margin: 0.5em 0 0 16%;
+}
+
+input.button {
     border: 1px outset black;
     background: white;
     padding: 0.2em 1em;
     font-weight: bold;
-    margin: 0.5em 0 0 16%;
 }
 
 h2.inline input {


More information about the Jifty-commit mailing list