Código CSS:
Ver original.contacto{
border: 0px solid #CED5D7;
border-radius: 0px;
padding: 20px 25px 20px;
margin-top: 0px;
background-color: transparent;
box-shadow: 0px 0px 0px #B5C1C5, 0 0 0 0px #EEF5F7 inset;
}
.contacto label{
display: block;
font-weight: bold;
font-size: 12px;
color: #FFF;
}
.contacto div{
margin-bottom: 5px;
}
.contacto input[type='text'], .contacto textarea{
background-color: #09F;
padding: 2px 0px;
width: 200px;
border: 2px solid #FFF;
resize: none;
box-shadow:0 0 0 0px #FFFFFF;
margin: 2px 0;
}
.contacto input[type='text']:focus, .contacto textarea:focus{
outline: none;
box-shadow:0 0 0 0px #dde9ec;
}
.contacto input[type='text'].invalido, .contacto textarea.invalido{
box-shadow:0 0 0 0px #FFC9C9;
}
.contacto input[type='submit']{
border: 1px solid #CED5D7;
box-shadow:0 0 0 1px #EEF5F7;
padding: 2px 8px;
border-radius: 10px;
font-weight: bold;
text-shadow: 1px 1px 0px white;
background: #e4f1f6;
background: -moz-linear-gradient(top, #e4f1f6 0%, #cfe6ef 100%);
background: -webkit-linear-gradient(top, #e4f1f6 0%,#cfe6ef 100%);
}
.contacto input[type='submit']:hover{
background: #edfcff;
background: -moz-linear-gradient(top, #edfcff 0%, #cfe6ef 100%);
background: -webkit-linear-gradient(top, #edfcff 0%,#cfe6ef 100%);
}
.contacto input[type='submit']:active{
background: #cfe6ef;
background: -moz-linear-gradient(top, #cfe6ef 0%, #edfcff 100%);
background: -webkit-linear-gradient(top, #cfe6ef 0%,#edfcff 100%);
}
.error{
background-color: #BC1010;
border-radius: 4px 4px 4px 4px;
color: white;
font-weight: bold;
margin-left: 16px;
margin-top: 6px;
padding: 6px 12px;
position: absolute;
}
.error:before{
border-color: transparent #BC1010 transparent transparent;
border-style: solid;
border-width: 6px 8px;
content: "";
display: block;
height: 0;
left: -16px;
position: absolute;
top: 8px;
width: 0;
}
.result_fail{
background: none repeat scroll 0 0 #BC1010;
border-radius: 1px 1px 1px 1px;
color: white;
font-weight: bold;
padding: 1px 1px;
text-align: center;
}
.result_ok{
background: none repeat scroll 0 0 #1EA700;
border-radius: 1px 1px 1px 1px;
color: white;
font-weight: bold;
padding: 1px 1px;
text-align: center;
width: 150px;
}
.error{
font-size: 12px;
background-color: #DC143C;
padding: 6px 12px;
border-radius: 4px;
color: white;
font-weight: bold;
margin-left: 16px;
margin-top: 2px;
position: absolute;
}
.error:before{ /* Este es un truco para crear una flechita */
content: '';
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
border-right: 8px solid #DC143C;
border-left: 8px solid transparent;
left: -16px;
position: absolute;
top: 5px;
}
.result_fail{
background: none repeat scroll 0 0 #BC1010;
border-radius: 1px 1px 1px 1px;
color: white;
font-weight: bold;
padding: 10px 10px;
text-align: center;
width: 150px;
}
.result_ok{
background: none repeat scroll 0 0 #1EA700;
border-radius: 1px 1px 1px 1px;
color: white;
font-weight: bold;
padding: 10px 10px;
text-align: center;
width: 150px;
}