OLD | NEW |
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 --> | 9 --> |
10 | 10 |
11 <link rel="import" href="../polymer/polymer.html"> | 11 <link rel="import" href="../polymer/polymer.html"> |
12 | 12 |
13 <style is="custom-style"> | 13 <style is="custom-style"> |
14 | 14 |
15 :root { | 15 :root { |
16 | 16 |
17 --shadow-transition: { | 17 --shadow-transition: { |
18 transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); | 18 transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); |
19 }; | 19 }; |
20 | 20 |
| 21 --shadow-none: { |
| 22 box-shadow: none; |
| 23 }; |
| 24 |
21 /* from http://codepen.io/shyndman/pen/c5394ddf2e8b2a5c9185904b57421cdb */ | 25 /* from http://codepen.io/shyndman/pen/c5394ddf2e8b2a5c9185904b57421cdb */ |
22 | 26 |
23 --shadow-elevation-2dp: { | 27 --shadow-elevation-2dp: { |
24 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), | 28 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), |
25 0 1px 5px 0 rgba(0, 0, 0, 0.12), | 29 0 1px 5px 0 rgba(0, 0, 0, 0.12), |
26 0 3px 1px -2px rgba(0, 0, 0, 0.2); | 30 0 3px 1px -2px rgba(0, 0, 0, 0.2); |
27 }; | 31 }; |
28 | 32 |
29 --shadow-elevation-3dp: { | 33 --shadow-elevation-3dp: { |
30 box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14), | 34 box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14), |
(...skipping 21 matching lines...) Expand all Loading... |
52 | 56 |
53 --shadow-elevation-16dp: { | 57 --shadow-elevation-16dp: { |
54 box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), | 58 box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), |
55 0 6px 30px 5px rgba(0, 0, 0, 0.12), | 59 0 6px 30px 5px rgba(0, 0, 0, 0.12), |
56 0 8px 10px -5px rgba(0, 0, 0, 0.4); | 60 0 8px 10px -5px rgba(0, 0, 0, 0.4); |
57 }; | 61 }; |
58 | 62 |
59 } | 63 } |
60 | 64 |
61 </style> | 65 </style> |
OLD | NEW |