.has-error input[type="text"] {
    background-color:  #500;
}

.has-success input[type="text"] {
    background-color:  #050;
}