From c53669f928b3cef1faa87ba62b74b4b5a4cb932a Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 13 Jul 2008 23:28:45 +0000 Subject: [PATCH] Updated CSS files to remove display:block property on all inputs. Added additional padding to radio buttons. Closes #5073 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7337 3807eeeb-6ff5-0310-8944-8be069107fe0 --- app/webroot/css/cake.generic.css | 12 +++++++++--- .../templates/skel/webroot/css/cake.generic.css | 13 ++++++++++--- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/app/webroot/css/cake.generic.css b/app/webroot/css/cake.generic.css index 2fc5bfa9b..6e2702d05 100644 --- a/app/webroot/css/cake.generic.css +++ b/app/webroot/css/cake.generic.css @@ -231,12 +231,11 @@ fieldset legend { fieldset fieldset { margin-top: 0px; margin-bottom: 20px; - padding: 16px 0; + padding: 16px 10px; } fieldset fieldset legend { font-size: 120%; font-weight: normal; - margin-left: 20px; } fieldset fieldset div { clear: left; @@ -268,7 +267,6 @@ label { } input, textarea { clear: both; - display: block; font-size: 140%; font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif; padding: 2px; @@ -292,6 +290,14 @@ input[type=checkbox] { margin: 0px 6px 7px 2px; width: auto; } +input[type=radio] { + float:left; + width:auto; + margin: 0 3px 7px 0; +} +div.radio label { + margin: 0 0 6px 20px; +} input[type=submit] { display: inline; font-size: 110%; diff --git a/cake/console/libs/templates/skel/webroot/css/cake.generic.css b/cake/console/libs/templates/skel/webroot/css/cake.generic.css index 2fc5bfa9b..893bcd97c 100644 --- a/cake/console/libs/templates/skel/webroot/css/cake.generic.css +++ b/cake/console/libs/templates/skel/webroot/css/cake.generic.css @@ -23,6 +23,7 @@ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ + * { margin:0; padding:0; @@ -231,12 +232,11 @@ fieldset legend { fieldset fieldset { margin-top: 0px; margin-bottom: 20px; - padding: 16px 0; + padding: 16px 10px; } fieldset fieldset legend { font-size: 120%; font-weight: normal; - margin-left: 20px; } fieldset fieldset div { clear: left; @@ -268,7 +268,6 @@ label { } input, textarea { clear: both; - display: block; font-size: 140%; font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif; padding: 2px; @@ -292,6 +291,14 @@ input[type=checkbox] { margin: 0px 6px 7px 2px; width: auto; } +input[type=radio] { + float:left; + width:auto; + margin: 0 3px 7px 0; +} +div.radio label { + margin: 0 0 6px 20px; +} input[type=submit] { display: inline; font-size: 110%;