3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS
6 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS
12 @apply
(--layout-vertical
);
19 * Default paper header panel shadow
22 --paper-header-panel-shadow: {
25 box-shadow: inset
0px 5px 6px -3px rgba
(0, 0, 0, 0.4);
30 @apply
(--layout-flex
);
35 -webkit-overflow-scrolling: touch
;
39 @apply
(--layout-vertical
);
40 @apply
(--layout-flex
);
48 :host
([mode
=scroll
]) #mainContainer
{
49 @apply
(--paper-header-panel-scroll-container
);
54 :host
([mode
=scroll
]) {
57 -webkit-overflow-scrolling: touch
;
63 :host
([mode
=cover
]) #mainContainer
{
64 @apply
(--paper-header-panel-cover-container
);
73 :host
([mode
=cover
]) #mainPanel
{
80 :host
([mode
=standard
]) #mainContainer
{
81 @apply
(--paper-header-panel-standard-container
);
87 :host
([mode
=seamed
]) #mainContainer
{
88 @apply
(--paper-header-panel-seamed-container
);
95 :host
([mode
=waterfall
]) #mainContainer
{
96 @apply
(--paper-header-panel-waterfall-container
);
100 * mode: waterfall-tall
102 :host
([mode
=waterfall-tall
]) #mainContainer
{
103 @apply
(--paper-header-panel-waterfall-tall-container
);
107 @apply
(--paper-header-panel-shadow
);
109 -webkit-transition: opacity
0.5s, -webkit-transform
0.5s;
110 transition: opacity
0.5s, transform
0.5s;
112 -webkit-transform: scale3d
(1, 0, 1);
113 transform: scale3d
(1, 0, 1);
115 -webkit-transform-origin: left top
;
116 transform-origin: left top
;
126 #dropShadow.has-shadow
{
129 -webkit-transform: scale3d
(1, 1, 1);
130 transform: scale3d
(1, 1, 1);