Skip to content

Commit

Permalink
Fix input label position and background color for autofill fields
Browse files Browse the repository at this point in the history
  • Loading branch information
engelgabriel committed Aug 31, 2016
1 parent 056ca49 commit a18b6fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
8 changes: 2 additions & 6 deletions packages/rocketchat-theme/assets/stylesheets/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -3740,7 +3740,7 @@ body:not(.is-cordova) {
box-shadow: 0 0 0;
border-width: 0;
position: relative;
margin-top: 10px;
margin-top: 14px;
padding: 4px 8px;
font-size: 18px;
border-bottom: 1px solid;
Expand Down Expand Up @@ -3774,16 +3774,12 @@ body:not(.is-cordova) {
text-align: left;
color: #a9a9a9;
transition: all 0.3s;
z-index: 100;
}
&.focus label {
top: 0;
font-size: 12px;
}
input:-webkit-autofill {}
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px #f4f4f4 inset;
}

.input-error {
text-align: left;
color: #b40202;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1159,10 +1159,9 @@ a.github-fork {
}
}
input:-webkit-autofill {
color: @content-background-color !important;
}
input:-webkit-autofill {
background-color: transparent !important;
color: @content-font-color !important;
background-color: #FAFAFA !important;
-webkit-box-shadow: 0 0 0px 1000px #FAFAFA inset;
}
}
}
Expand Down

0 comments on commit a18b6fc

Please sign in to comment.