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

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

Issue 1862213002: Roll third_party/polymer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove obsolete appearance_browsertest.js, result of a previous bad merge. Created 4 years, 8 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 3662f2c9278d43fd0a116a0d928762af831e5ba6..59b444e3d61985650366a1be9624b91656ba1d1a 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
@@ -124,6 +124,7 @@ Custom property | Description | Default
`--paper-header-panel-seamed-container` | Mixin applied to the container when in seamed mode | `{}`
`--paper-header-panel-waterfall-container` | Mixin applied to the container when in waterfall mode | `{}`
`--paper-header-panel-waterfall-tall-container` | Mixin applied to the container when in tall waterfall mode | `{}`
+`--paper-header-panel-shadow` | Mixin applied to the waterfall shadow | `{}`
@group Paper Elements
@element paper-header-panel
@@ -135,12 +136,6 @@ Custom property | Description | Default
<template>
<style>
:host {
- --paper-header-panel-shadow: {
- height: 6px;
- bottom: -6px;
- box-shadow: inset 0px 5px 6px -3px rgba(0, 0, 0, 0.4);
- };
-
@apply(--layout-vertical);
position: relative;
@@ -230,19 +225,18 @@ Custom property | Description | Default
}
#dropShadow {
+ transition: opacity 0.5s;
+ height: 6px;
+ box-shadow: inset 0px 5px 6px -3px rgba(0, 0, 0, 0.4);
+
@apply(--paper-header-panel-shadow);
position: absolute;
top: 0;
left: 0;
right: 0;
- height: 6px;
- pointer-events: none;
-
- -webkit-transition: opacity 0.5s;
- transition: opacity 0.5s;
-
opacity: 0;
+ pointer-events: none;
}
#dropShadow.has-shadow {

Powered by Google App Engine
This is Rietveld 408576698