# HG changeset patch # User Sylvain Thénault # Date 1263978782 -3600 # Node ID 15d541321a8cd39b77987752fc5a82cc47d7cce9 # Parent dfee17fa363f0da2c1cc237a700cb465e991871e more input/button fixes diff -r dfee17fa363f -r 15d541321a8c web/data/cubicweb.css --- a/web/data/cubicweb.css Tue Jan 19 18:20:43 2010 +0100 +++ b/web/data/cubicweb.css Wed Jan 20 10:13:02 2010 +0100 @@ -841,7 +841,7 @@ font-weight: bold; } -input.validateButton { +.validateButton { margin: 1em 1em 0px 0px; border: 1px solid #edecd2; border-color:#edecd2 #cfceb7 #cfceb7 #edecd2; diff -r dfee17fa363f -r 15d541321a8c web/data/cubicweb.form.css --- a/web/data/cubicweb.form.css Tue Jan 19 18:20:43 2010 +0100 +++ b/web/data/cubicweb.form.css Wed Jan 20 10:13:02 2010 +0100 @@ -108,7 +108,7 @@ background: url("required.png") 100% 50% no-repeat; } -.entityForm input.validateButton { +.entityForm .validateButton { margin: 5px 10px 5px 0px; } @@ -226,7 +226,7 @@ cursor: default; } -input.validateButton { +.validateButton { margin: 1em 1em 0px 0px; border: 1px solid #edecd2; border-color:#edecd2 #cfceb7 #cfceb7 #edecd2; diff -r dfee17fa363f -r 15d541321a8c web/data/cubicweb.preferences.js --- a/web/data/cubicweb.preferences.js Tue Jan 19 18:20:43 2010 +0100 +++ b/web/data/cubicweb.preferences.js Wed Jan 20 10:13:02 2010 +0100 @@ -134,7 +134,7 @@ jQuery('form').each(function() { var form = jQuery(this); //freezeFormButtons(form.attr('id')); - form.find('input.validateButton').attr('disabled', 'disabled'); + form.find('.validateButton').attr('disabled', 'disabled'); form.find('input[type=text]').keyup(function(){ checkValues(form); });