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

Side by Side Diff: third_party/polymer/components-chromium/core-header-panel/core-header-panel.css

Issue 592593002: Inline scripts were extracted from Polymer elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/echo ""/echo/ Created 6 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
8 */
9
10 :host {
11 display: block;
12 position: relative;
13 }
14
15 #outerContainer {
16 position: absolute;
17 top: 0;
18 right: 0;
19 bottom: 0;
20 left: 0;
21 overflow-y: auto;
22 overflow-x: hidden;
23 -webkit-overflow-scrolling: touch;
24 }
25
26 #mainPanel {
27 position: relative;
28 }
29
30 #mainContainer {
31 position: relative;
32 overflow-y: auto;
33 overflow-x: hidden;
34 -webkit-overflow-scrolling: touch;
35 }
36
37 #dropShadow {
38 position: absolute;
39 top: 0;
40 left: 0;
41 right: 0;
42 height: 6px;
43 box-shadow: inset 0px 5px 6px -3px rgba(0, 0, 0, 0.4);
44 }
45
46 #dropShadow.hidden {
47 display: none;
48 }
49
50 /*
51 mode: scroll
52 */
53 :host([mode=scroll]) #mainContainer {
54 overflow: visible;
55 }
56
57 /*
58 mode: cover
59 */
60 :host([mode=cover]) #mainPanel {
61 position: static;
62 }
63
64 :host([mode=cover]) #mainContainer {
65 position: absolute;
66 top: 0;
67 right: 0;
68 bottom: 0;
69 left: 0;
70 }
71
72 :host([mode=cover]) #dropShadow {
73 position: static;
74 width: 100%;
75 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698