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

Side by Side Diff: third_party/polymer/v0_8/components/paper-styles/shadow.html

Issue 1155683008: Rename polymer and cr_elements v0_8 to v1_0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v1
Patch Set: fix a merge mistake Created 5 years, 6 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 @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.g ithub.io/LICENSE.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
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
9 -->
10
11 <link rel="import" href="../polymer/polymer.html">
12
13 <style is="custom-style">
14
15 :root {
16
17 --shadow-transition: {
18 transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
19 };
20
21 /* from http://codepen.io/shyndman/pen/c5394ddf2e8b2a5c9185904b57421cdb */
22
23 --shadow-elevation-2dp: {
24 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
25 0 1px 5px 0 rgba(0, 0, 0, 0.12),
26 0 3px 1px -2px rgba(0, 0, 0, 0.2);
27 };
28
29 --shadow-elevation-3dp: {
30 box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14),
31 0 1px 8px 0 rgba(0, 0, 0, 0.12),
32 0 3px 3px -2px rgba(0, 0, 0, 0.4);
33 };
34
35 --shadow-elevation-4dp: {
36 box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14),
37 0 1px 10px 0 rgba(0, 0, 0, 0.12),
38 0 2px 4px -1px rgba(0, 0, 0, 0.4);
39 };
40
41 --shadow-elevation-6dp: {
42 box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14),
43 0 1px 18px 0 rgba(0, 0, 0, 0.12),
44 0 3px 5px -1px rgba(0, 0, 0, 0.4);
45 };
46
47 --shadow-elevation-8dp: {
48 box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
49 0 3px 14px 2px rgba(0, 0, 0, 0.12),
50 0 5px 5px -3px rgba(0, 0, 0, 0.4);
51 };
52
53 --shadow-elevation-16dp: {
54 box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14),
55 0 6px 30px 5px rgba(0, 0, 0, 0.12),
56 0 8px 10px -5px rgba(0, 0, 0, 0.4);
57 };
58
59 }
60
61 </style>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698