mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -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 {
|
&.url {
|
||||||
font: -webkit-small-control;
|
font: -webkit-small-control;
|
||||||
width: 100%;
|
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
padding: 9px 7px;
|
padding: 9px 7px;
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border: #e3e1d5 1px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
transition: all 0.15s ease-in-out;
|
|
||||||
|
|
||||||
+ .btn.btn-blue {
|
+ .btn.btn-blue {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
|
@ -195,6 +195,10 @@ select {
|
||||||
|
|
||||||
transition: border-color 0.15s linear;
|
transition: border-color 0.15s linear;
|
||||||
|
|
||||||
|
&.error {
|
||||||
|
border-color: $red;
|
||||||
|
}
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
border-color: $brown;
|
border-color: $brown;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue