app/assets/stylesheets/_forms.css.scss
textarea {
display: block;
font-family: $helvetica;
resize: none;
}
input {
font-size: 100%;
margin: 0;
padding: 6px;
}
textarea {
font-size: 100%;
}
input[type="submit"], input[type="button"] {
background: #111;
border: 0;
border-radius: 2px;
color: #fff;
cursor: pointer;
font-family: $helvetica;
font-size: 100%;
margin: 0;
padding: 8px 1em;
@include transition(.1s);
-webkit-appearance: none;
&:hover {
background: #222;
}
&:active {
background: #000;
color: #999;
}
}
.field_with_errors {
display: inline;
input {
color: $red;
}
::-webkit-input-placeholder {
color: $red;
opacity: .5;
}
input:-moz-placeholder {
color: $red;
opacity: .5;
}
}