You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
In the paper-input-decorator, it is necessary to include the following lines in my CSS file to get the color of the floating label to change when the input field is focused.
paper-input-decorator[focused] /deep/ .floating-label,
paper-input-decorator[focused] /deep/ .label-text {
/* floating label color when the input is focused */
color: orange !important;
}
when based on the documentation, this should be sufficient:
paper-input-decorator[focused] /deep/ .floating-label .label-text {
/* floating label color when the input is focused */
color: orange;
}
Also, surprisingly, the important flag on it's own doesn't work:
paper-input-decorator[focused] /deep/ .floating-label .label-text {
/* floating label color when the input is focused */
color: orange !important;
}
It's necessary to actually retype "paper-input-decorator[foc..." again to get it to work. That in itself may be a whole other bug.
Based on my attempts to figure this out, it looks like the style set by the host overrides everything causing the second and third pieces of code above to not work.
The text was updated successfully, but these errors were encountered:
In the paper-input-decorator, it is necessary to include the following lines in my CSS file to get the color of the floating label to change when the input field is focused.
when based on the documentation, this should be sufficient:
Also, surprisingly, the important flag on it's own doesn't work:
It's necessary to actually retype "paper-input-decorator[foc..." again to get it to work. That in itself may be a whole other bug.
Based on my attempts to figure this out, it looks like the style set by the host overrides everything causing the second and third pieces of code above to not work.
The text was updated successfully, but these errors were encountered: