Collaborne / paper-search

A Material Design search bar (Polymer)
https://www.webcomponents.org/element/Collaborne/paper-search
Apache License 2.0
51 stars 28 forks source link

Apply --background-color to input regardless of disabled or not #9

Closed avdaredevil closed 7 years ago

avdaredevil commented 7 years ago

Change these lines to:

#input {
    background: inherit;
}

OR Even:

#input[disabled] {
    background: var(--background-color, white);
}

Currently I have to hack this behavior by setting non polymeric style to peirce this component and then set it.

Let me know if I am fundamentally missing something about the usage of this component? Thanks!

ronnyroeller commented 7 years ago

Makes sense, @avdaredevil . Feel free to provide a PR, and I will merge it in.

avdaredevil commented 7 years ago

Ok will do! Soon enough...

avdaredevil commented 7 years ago

@ronnyroeller take a look at #10. Let me know if you have any feedback!

avdaredevil commented 7 years ago

10 Merged, closing!