ENHANCEMENT: moved styling not specific to security-form to Form.css

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42729 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-27 20:58:09 +00:00
parent 1e332e6dbe
commit 064816240f

View File

@ -23,9 +23,7 @@ body {
} }
#intro { #intro {
margin : 10px; margin : 10px;
padding-left : 10px; padding-left : 10px;
padding-right : 10px; padding-right : 10px;
@ -34,7 +32,6 @@ body {
} }
h1{ h1{
color : white; color : white;
font-size : 12px; font-size : 12px;
border-bottom : 1px solid #333333; border-bottom : 1px solid #333333;
@ -47,34 +44,17 @@ h1{
} }
#supported { #supported {
display : none; display : none;
padding : 10px; padding : 10px;
} }
#noSupport { #noSupport {
margin : 10px; margin : 10px;
padding : 10px; padding : 10px;
}
form div.field {
clear: both;
padding : 4px;
} }
form div.field input{ form div.field input{
height : 26px; height : 26px;
font-size : 18px; font-size : 18px;
font-weight : lighter; font-weight : lighter;
@ -84,7 +64,6 @@ form div.field input{
} }
form div.field input.checkbox{ form div.field input.checkbox{
height : 26px; height : 26px;
font-size : 18px; font-size : 18px;
font-weight : lighter; font-weight : lighter;
@ -93,61 +72,13 @@ form div.field input.checkbox{
} }
fieldset{ fieldset{
border : 3px solid #CCCCCC; border : 3px solid #CCCCCC;
} }
form label.left { form label.left {
float: left; float: left;
width: 8em; width: 8em;
font-size : 16px; font-size : 16px;
margin-top : 6px; margin-top : 6px;
} }
p.actions{
float : right;
}
/** Form messages **/
.message {
margin: 1em 0;
padding: 0.5em;
font-weight: bold;
border: 1px black solid;
background-color: #B9FFB9;
border-color: #00FF00;
}
.message.warning{
background-color: #FFD2A6;
border-color: #FF9300;
}
.message.bad {
background-color: #FF8080;
border-color: #FF0000;
}
.message.required,
.message.validation{
display:block;
margin-top:5px;
color:#FF9300;
width:240px;
border-color: #FF9300;
}
.message.validation{
color:#FF4040;
width:240px;
border-color: #FF4040;
}