Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Unified Diff: third_party/polymer/v1_0/components-chromium/paper-header-panel/paper-header-panel.html

Issue 1187823002: Update Polymer components and re-run reproduce.sh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v1_0/components-chromium/paper-header-panel/paper-header-panel.html
diff --git a/third_party/polymer/v1_0/components-chromium/paper-header-panel/paper-header-panel.html b/third_party/polymer/v1_0/components-chromium/paper-header-panel/paper-header-panel.html
index 9a6ec359a206c73b179c7f0bbb0ec9564845ee80..ac5c7e1b6290127334ff1b3a4f2456fef8331ef0 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-header-panel/paper-header-panel.html
+++ b/third_party/polymer/v1_0/components-chromium/paper-header-panel/paper-header-panel.html
@@ -64,7 +64,7 @@ Mode | Description
`scroll` | The header keeps its seam with the panel, and is pushed off screen.
`cover` | The panel covers the whole `paper-header-panel` including the header. This allows user to style the panel in such a way that the panel is partially covering the header.
-Example:
+Example:
<paper-header-panel mode="waterfall">
<div class="paper-header">standard</div>
@@ -125,6 +125,17 @@ To change the panel container in different modes:
z-index: 0;
}
+ :root {
+ /**
+ * Default paper header panel shadow
+ */
+ --paper-header-panel-shadow: {
+ height: 6px;
+ bottom: -6px;
+ box-shadow: inset 0px 5px 6px -3px rgba(0, 0, 0, 0.4);
+ };
+ }
+
#mainContainer {
@apply(--layout-flex);
@@ -228,17 +239,4 @@ To change the panel container in different modes:
</dom-module>
-<style is="custom-style">
- :root {
- /**
- * Default paper header panel shadow
- */
- --paper-header-panel-shadow: {
- height: 6px;
- bottom: -6px;
- box-shadow: inset 0px 5px 6px -3px rgba(0, 0, 0, 0.4);
- };
- }
-</style>
-
<script src="paper-header-panel-extracted.js"></script></body></html>

Powered by Google App Engine
This is Rietveld 408576698