mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Merge pull request #4935 from PaulAdamDavis/input-error-style
Add `error` class styles for inputs
This commit is contained in:
commit
2029f264d0
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -195,6 +195,10 @@ select {
|
|||
|
||||
transition: border-color 0.15s linear;
|
||||
|
||||
&.error {
|
||||
border-color: $red;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
border-color: $brown;
|
||||
outline: 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue