Skip to content
Snippets Groups Projects
Unverified Commit a18b6fcc authored by Gabriel Engel's avatar Gabriel Engel
Browse files

Fix input label position and background color for autofill fields

parent 056ca490
No related branches found
No related tags found
No related merge requests found
...@@ -3740,7 +3740,7 @@ body:not(.is-cordova) { ...@@ -3740,7 +3740,7 @@ body:not(.is-cordova) {
box-shadow: 0 0 0; box-shadow: 0 0 0;
border-width: 0; border-width: 0;
position: relative; position: relative;
margin-top: 10px; margin-top: 14px;
padding: 4px 8px; padding: 4px 8px;
font-size: 18px; font-size: 18px;
border-bottom: 1px solid; border-bottom: 1px solid;
...@@ -3774,16 +3774,12 @@ body:not(.is-cordova) { ...@@ -3774,16 +3774,12 @@ body:not(.is-cordova) {
text-align: left; text-align: left;
color: #a9a9a9; color: #a9a9a9;
transition: all 0.3s; transition: all 0.3s;
z-index: 100;
} }
&.focus label { &.focus label {
top: 0; top: 0;
font-size: 12px; font-size: 12px;
} }
input:-webkit-autofill {}
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px #f4f4f4 inset;
}
.input-error { .input-error {
text-align: left; text-align: left;
color: #b40202; color: #b40202;
......
...@@ -1159,10 +1159,9 @@ a.github-fork { ...@@ -1159,10 +1159,9 @@ a.github-fork {
} }
} }
input:-webkit-autofill { input:-webkit-autofill {
color: @content-background-color !important; color: @content-font-color !important;
} background-color: #FAFAFA !important;
input:-webkit-autofill { -webkit-box-shadow: 0 0 0px 1000px #FAFAFA inset;
background-color: transparent !important;
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment