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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-backdrop.html

Issue 1901343004: [Polymer] update third_party polymer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: new pull 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 unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 @license 2 @license
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. 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.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 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/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --><html><head><link rel="import" href="../polymer/polymer.html"> 9 --><html><head><link rel="import" href="../polymer/polymer.html">
10 <link rel="import" href="iron-overlay-manager.html"> 10 <link rel="import" href="iron-overlay-manager.html">
(...skipping 15 matching lines...) Expand all
26 --> 26 -->
27 27
28 </head><body><dom-module id="iron-overlay-backdrop"> 28 </head><body><dom-module id="iron-overlay-backdrop">
29 29
30 <style> 30 <style>
31 31
32 :host { 32 :host {
33 position: fixed; 33 position: fixed;
34 top: 0; 34 top: 0;
35 left: 0; 35 left: 0;
36 width: 100vw; 36 width: 100%;
37 height: 100vh; 37 height: 100%;
38 background-color: var(--iron-overlay-backdrop-background-color, #000); 38 background-color: var(--iron-overlay-backdrop-background-color, #000);
39 opacity: 0; 39 opacity: 0;
40 transition: opacity 0.2s; 40 transition: opacity 0.2s;
41 pointer-events: none; 41 pointer-events: none;
42 42
43 @apply(--iron-overlay-backdrop); 43 @apply(--iron-overlay-backdrop);
44 } 44 }
45 45
46 :host([opened]) { 46 :host([opened]) {
47 opacity: var(--iron-overlay-backdrop-opacity, 0.6); 47 opacity: var(--iron-overlay-backdrop-opacity, 0.6);
48 pointer-events: auto; 48 pointer-events: auto;
49 49
50 @apply(--iron-overlay-backdrop-opened); 50 @apply(--iron-overlay-backdrop-opened);
51 } 51 }
52 52
53 </style> 53 </style>
54 54
55 <template> 55 <template>
56 <content></content> 56 <content></content>
57 </template> 57 </template>
58 58
59 </dom-module> 59 </dom-module>
60 60
61 <script src="iron-overlay-backdrop-extracted.js"></script></body></html> 61 <script src="iron-overlay-backdrop-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698