0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Add error class styles for inputs

No issue

Adds a red border to inputs when a `error` class is applied

Also DRY's up the URL input a tad.
This commit is contained in:
Paul Adam Davis 2015-02-18 11:34:52 +00:00
parent 9668ed71ca
commit 914d2fa1e3
2 changed files with 4 additions and 4 deletions

View file

@ -106,16 +106,12 @@
&.url {
font: -webkit-small-control;
width: 100%;
vertical-align: middle;
padding: 9px 7px;
margin: 10px 0;
outline: 0;
font-size: 1.1em;
background: #fff;
border: #e3e1d5 1px solid;
border-radius: 4px;
transition: all 0.15s ease-in-out;
+ .btn.btn-blue {
color: #fff;

View file

@ -195,6 +195,10 @@ select {
transition: border-color 0.15s linear;
&.error {
border-color: $red;
}
&:focus {
border-color: $brown;
outline: 0;