Skip to content

Commit

Permalink
Tidying up forms.
Browse files Browse the repository at this point in the history
Making forms look consistent in IE9.
Minor updates.
  • Loading branch information
markstory committed Sep 3, 2011
1 parent e735c57 commit 0bb19da
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions app/webroot/css/cake.generic.css
Expand Up @@ -260,19 +260,18 @@ form {
width: 95%;
}
fieldset {
border: 1px solid #ccc;
border: none;
margin-bottom: 1em;
padding: 16px 20px;
padding: 16px 10px;
}
fieldset legend {
color: #e32;
font-size: 160%;
font-weight: bold;
}
fieldset fieldset {
margin-top: 0px;
margin-bottom: 20px;
padding: 16px 10px;
margin-top: 0;
padding: 10px 0 0;
}
fieldset fieldset legend {
font-size: 120%;
Expand Down Expand Up @@ -340,10 +339,13 @@ div.checkbox label {
input[type=radio] {
float:left;
width:auto;
margin: 0 3px 7px 0;
margin: 6px 0;
padding: 0;
line-height: 26px;
}
div.radio label {
.radio label {
margin: 0 0 6px 20px;
line-height: 26px;
}
input[type=submit] {
display: inline;
Expand Down Expand Up @@ -435,6 +437,7 @@ p.error,
.error-message {
clear: both;
color: #fff;
background: #c43c35;
border: 1px solid rgba(0, 0, 0, 0.5);
background-repeat: repeat-x;
background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
Expand All @@ -448,6 +451,7 @@ p.error,
clear: both;
color: #fff;
border: 1px solid rgba(0, 0, 0, 0.5);
background: #3B8230;
background-repeat: repeat-x;
background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
Expand Down Expand Up @@ -500,7 +504,7 @@ input[type=submit],
.actions a {
font-weight:normal;
padding: 4px 8px;
background: #dedede;
background: #dcdcdc;
background-image: -webkit-linear-gradient(top, #fefefe, #dcdcdc);
background-image: -moz-linear-gradient(top, #fefefe, #dcdcdc);
background-image: -ms-linear-gradient(top, #fefefe, #dcdcdc);
Expand Down Expand Up @@ -529,7 +533,7 @@ input[type=submit],
input[type=submit]:active,
.actions ul li a:active,
.actions a:active {
background: #fefefe;
background: #eee;
background-image: -webkit-linear-gradient(top, #dfdfdf, #eee);
background-image: -moz-linear-gradient(top, #dfdfdf, #eee);
background-image: -ms-linear-gradient(top, #dfdfdf, #eee);
Expand Down Expand Up @@ -583,7 +587,6 @@ pre {
.cake-error {
font-size: 16px;
line-height: 20px;
margin-top: 24px;
clear: both;
}
.cake-error > a {
Expand Down

0 comments on commit 0bb19da

Please sign in to comment.