Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Force core-toolbar/core-header to be transparent #7

Closed

Conversation

robdodson
Copy link
Contributor

Because core-toolbar now has a default background (aa8b336327958382adcae3dcfc43a9cf27292ebc) it breaks core-scroll-header-panel since the background color was previously transparent (Polymer/polymer#576). This change forces the content inside of #headerContent (either core-toolbar or .core-header) to be transparent again.

Fixes Polymer/polymer#576

Because core-toolbar now has a default background (aa8b336327958382adcae3dcfc43a9cf27292ebc) it breaks `core-scroll-header-panel` because the background color was previously transparent (Polymer/polymer#576). This change forces the content inside of `#headerContent` (either `core-toolbar` or `.core-header`) to be transparent.
@frankiefu
Copy link
Contributor

This will not work for the case that I just want to set background-color on core-toolbar, e.g.
https://github.com/robdodson/core-scroll-header-panel/blob/master/demos/demo1.html#L46

@frankiefu
Copy link
Contributor

For now, maybe just fix the demo so core-toolbar has background-color transparent (https://github.com/Polymer/core-scroll-header-panel/blob/master/demo.html#L56)?

@robdodson
Copy link
Contributor Author

Hm that's kind of a bummer.

I wish there was a way to automatically set the toolbar to transparent if an image background is used

@frankiefu
Copy link
Contributor

Yeah that's a bummer

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

core-scroll-header-panel background missing?
2 participants