0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Correct height on auth inputs

Closes #72

Also refactored auth inputs to make them DRYer.
This commit is contained in:
Paul Adam Davis 2014-07-17 17:18:54 +01:00
parent fff19ec0d5
commit 3e59f022a2
2 changed files with 14 additions and 27 deletions

View file

@ -29,6 +29,18 @@
top: 15px;
}
input {
line-height: 1.4em;
font-size: 1.1em;
font-weight: 200;
border: none;
color: #fff;
background: transparent;
box-shadow: none;
margin: 0;
position: relative;
}
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px $lightgrey inset !important;
}
@ -82,16 +94,8 @@
input {
display: inline-block;
clear: both;
margin: 0;
padding: 8px 0 8px 8px;
width: 216px;
position: relative;
border: none;
color: #fff;
font-size: 1.1em;
font-weight: 200;
background: transparent;
box-shadow: none;
@include transition(background ease 0.25s);
@media (max-width: 630px) {
@ -220,17 +224,8 @@
}
input {
margin: 0;
width: 280px;
padding: 8px 10px;
position: relative;
border: none;
color: #fff;
font-size: 1.1em;
font-weight: 200;
background: transparent;
box-shadow: none;
@media (min-width: 631px) {
@include transition(background ease 0.25s);
}
@ -305,15 +300,7 @@
}
input {
margin: 0;
padding: 8px 10px;
position: relative;
border: none;
color: #fff;
font-size: 1.1em;
font-weight: 200;
background: transparent;
box-shadow: none;
@include transition(background ease 0.25s);
&:focus {

File diff suppressed because one or more lines are too long