| Index: third_party/polymer/v0_8/components-chromium/paper-material/paper-material.html
|
| diff --git a/third_party/polymer/v0_8/components-chromium/paper-material/paper-material.html b/third_party/polymer/v0_8/components-chromium/paper-material/paper-material.html
|
| index 3182471ef6067c6373a3e2f10932da58ffc893e5..634556b66241b7b126076b028590570ef5db5bd6 100644
|
| --- a/third_party/polymer/v0_8/components-chromium/paper-material/paper-material.html
|
| +++ b/third_party/polymer/v0_8/components-chromium/paper-material/paper-material.html
|
| @@ -6,7 +6,10 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
| The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
| Code distributed by Google as part of the polymer project is also
|
| subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
| ---><!--
|
| +--><html><head><link rel="import" href="../polymer/polymer.html">
|
| +<link rel="import" href="../paper-styles/shadow.html">
|
| +
|
| +<!--
|
|
|
| `paper-material` is a container that renders two shadows on top of each other to
|
| create the effect of a lifted piece of paper.
|
| @@ -19,34 +22,35 @@ Example:
|
|
|
| @group Paper Elements
|
| @class paper-material
|
| ---><html><head><link href="../polymer/polymer.html" rel="import">
|
| -<link href="../paper-styles/shadow.html" rel="import">
|
| +@demo demo/index.html
|
| +-->
|
| +
|
| </head><body><dom-module id="paper-material">
|
| <style>
|
| :host {
|
| display: block;
|
| position: relative;
|
| - mixin(--shadow-transition);
|
| + @apply(--shadow-transition);
|
| }
|
|
|
| :host([elevation="1"]) {
|
| - mixin(--shadow-elevation-2dp);
|
| + @apply(--shadow-elevation-2dp);
|
| }
|
|
|
| :host([elevation="2"]) {
|
| - mixin(--shadow-elevation-4dp);
|
| + @apply(--shadow-elevation-4dp);
|
| }
|
|
|
| :host([elevation="3"]) {
|
| - mixin(--shadow-elevation-6dp);
|
| + @apply(--shadow-elevation-6dp);
|
| }
|
|
|
| :host([elevation="4"]) {
|
| - mixin(--shadow-elevation-8dp);
|
| + @apply(--shadow-elevation-8dp);
|
| }
|
|
|
| :host([elevation="5"]) {
|
| - mixin(--shadow-elevation-16dp);
|
| + @apply(--shadow-elevation-16dp);
|
| }
|
| </style>
|
| <template>
|
|
|