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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-styles/classes/shadow.html

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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 --> 9 -->
10 10
11 <style> 11 <style>
12 .shadow-transition { 12 .shadow-transition {
13 transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); 13 transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
14 } 14 }
15 15
16 .shadow-elevation-1 { 16 .shadow-elevation-2dp {
17 box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37); 17 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
18 0 1px 5px 0 rgba(0, 0, 0, 0.12),
19 0 3px 1px -2px rgba(0, 0, 0, 0.2);
18 } 20 }
19 21
20 .shadow-elevation-2 { 22 .shadow-elevation-3dp {
21 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 23 box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14),
22 0 6px 10px 0 rgba(0, 0, 0, 0.3); 24 0 1px 8px 0 rgba(0, 0, 0, 0.12),
25 0 3px 3px -2px rgba(0, 0, 0, 0.4);
23 } 26 }
24 27
25 .shadow-elevation-3 { 28 .shadow-elevation-4dp {
26 box-shadow: 0 11px 7px 0 rgba(0, 0, 0, 0.19), 29 box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14),
27 0 13px 25px 0 rgba(0, 0, 0, 0.3); 30 0 1px 10px 0 rgba(0, 0, 0, 0.12),
31 0 2px 4px -1px rgba(0, 0, 0, 0.4);
28 } 32 }
29 33
30 .shadow-elevation-4 { 34 .shadow-elevation-6dp {
31 box-shadow: 0 14px 12px 0 rgba(0, 0, 0, 0.17), 35 box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14),
32 0 20px 40px 0 rgba(0, 0, 0, 0.3); 36 0 1px 18px 0 rgba(0, 0, 0, 0.12),
37 0 3px 5px -1px rgba(0, 0, 0, 0.4);
33 } 38 }
34 39
35 .shadow-elevation-5 { 40 .shadow-elevation-8dp {
36 box-shadow: 0 17px 17px 0 rgba(0, 0, 0, 0.15), 41 box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
37 0 27px 55px 0 rgba(0, 0, 0, 0.3); 42 0 3px 14px 2px rgba(0, 0, 0, 0.12),
43 0 5px 5px -3px rgba(0, 0, 0, 0.4);
38 } 44 }
45
46 .shadow-elevation-16dp {
47 box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14),
48 0 6px 30px 5px rgba(0, 0, 0, 0.12),
49 0 8px 10px -5px rgba(0, 0, 0, 0.4);
50 }
51
39 </style> 52 </style>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698