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
This commit is contained in:
mark_story 2008-07-13 23:28:45 +00:00
parent 684fb5fcce
commit c53669f928
2 changed files with 19 additions and 6 deletions

View file

@ -231,12 +231,11 @@ fieldset legend {
fieldset fieldset { fieldset fieldset {
margin-top: 0px; margin-top: 0px;
margin-bottom: 20px; margin-bottom: 20px;
padding: 16px 0; padding: 16px 10px;
} }
fieldset fieldset legend { fieldset fieldset legend {
font-size: 120%; font-size: 120%;
font-weight: normal; font-weight: normal;
margin-left: 20px;
} }
fieldset fieldset div { fieldset fieldset div {
clear: left; clear: left;
@ -268,7 +267,6 @@ label {
} }
input, textarea { input, textarea {
clear: both; clear: both;
display: block;
font-size: 140%; font-size: 140%;
font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif; font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
padding: 2px; padding: 2px;
@ -292,6 +290,14 @@ input[type=checkbox] {
margin: 0px 6px 7px 2px; margin: 0px 6px 7px 2px;
width: auto; 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] { input[type=submit] {
display: inline; display: inline;
font-size: 110%; font-size: 110%;

View file

@ -23,6 +23,7 @@
* @license http://www.opensource.org/licenses/mit-license.php The MIT License * @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/ */
* { * {
margin:0; margin:0;
padding:0; padding:0;
@ -231,12 +232,11 @@ fieldset legend {
fieldset fieldset { fieldset fieldset {
margin-top: 0px; margin-top: 0px;
margin-bottom: 20px; margin-bottom: 20px;
padding: 16px 0; padding: 16px 10px;
} }
fieldset fieldset legend { fieldset fieldset legend {
font-size: 120%; font-size: 120%;
font-weight: normal; font-weight: normal;
margin-left: 20px;
} }
fieldset fieldset div { fieldset fieldset div {
clear: left; clear: left;
@ -268,7 +268,6 @@ label {
} }
input, textarea { input, textarea {
clear: both; clear: both;
display: block;
font-size: 140%; font-size: 140%;
font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif; font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
padding: 2px; padding: 2px;
@ -292,6 +291,14 @@ input[type=checkbox] {
margin: 0px 6px 7px 2px; margin: 0px 6px 7px 2px;
width: auto; 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] { input[type=submit] {
display: inline; display: inline;
font-size: 110%; font-size: 110%;