Add ICU message format support
[chromium-blink-merge.git] / third_party / polymer / v1_0 / components-chromium / paper-header-panel / paper-header-panel.css
blob40a27408576023252762dc792ce3bfe00edfe648
1 /**
2 @license
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
9 */
11 :host {
12 @apply(--layout-vertical);
14 position: relative;
15 height: 100%;
18 /**
19 * Default paper header panel shadow
21 :root {
22 --paper-header-panel-shadow: {
23 height: 6px;
24 bottom: -6px;
25 box-shadow: inset 0px 5px 6px -3px rgba(0, 0, 0, 0.4);
29 #mainContainer {
30 @apply(--layout-flex);
32 position: relative;
33 overflow-y: auto;
34 overflow-x: hidden;
35 -webkit-overflow-scrolling: touch;
38 #mainPanel {
39 @apply(--layout-vertical);
40 @apply(--layout-flex);
42 position: relative;
46 * mode: scroll
48 :host([mode=scroll]) #mainContainer {
49 @apply(--paper-header-panel-scroll-container);
51 overflow: visible;
54 :host([mode=scroll]) {
55 overflow-y: auto;
56 overflow-x: hidden;
57 -webkit-overflow-scrolling: touch;
61 * mode: cover
63 :host([mode=cover]) #mainContainer {
64 @apply(--paper-header-panel-cover-container);
66 position: absolute;
67 top: 0;
68 right: 0;
69 bottom: 0;
70 left: 0;
73 :host([mode=cover]) #mainPanel {
74 position: static;
78 * mode: standard
80 :host([mode=standard]) #mainContainer {
81 @apply(--paper-header-panel-standard-container);
85 * mode: seamed
87 :host([mode=seamed]) #mainContainer {
88 @apply(--paper-header-panel-seamed-container);
93 * mode: waterfall
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);
106 #dropShadow {
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;
118 position: absolute;
119 top: 0;
120 left: 0;
121 right: 0;
122 height: 6px;
123 opacity: 0;
126 #dropShadow.has-shadow {
127 opacity: 1;
129 -webkit-transform: scale3d(1, 1, 1);
130 transform: scale3d(1, 1, 1);