| Index: polymer_1.2.3/bower_components/paper-material/paper-material-shared-styles.html
|
| diff --git a/polymer_1.0.4/bower_components/iron-menu-behavior/demo/simple-menu.html b/polymer_1.2.3/bower_components/paper-material/paper-material-shared-styles.html
|
| similarity index 50%
|
| copy from polymer_1.0.4/bower_components/iron-menu-behavior/demo/simple-menu.html
|
| copy to polymer_1.2.3/bower_components/paper-material/paper-material-shared-styles.html
|
| index cd1c7cf113179f84de8257115266ff9d551cd476..3fed5004a97c64ad4e57756886b4f1d84136cbcd 100644
|
| --- a/polymer_1.0.4/bower_components/iron-menu-behavior/demo/simple-menu.html
|
| +++ b/polymer_1.2.3/bower_components/paper-material/paper-material-shared-styles.html
|
| @@ -8,43 +8,33 @@ 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
|
| -->
|
|
|
| -<link rel="import" href="../../polymer/polymer.html">
|
| -<link rel="import" href="../iron-menu-behavior.html">
|
| -
|
| -<dom-module id="simple-menu">
|
| -
|
| - <style>
|
| -
|
| - .content ::content > .iron-selected {
|
| - color: red;
|
| - }
|
| -
|
| - </style>
|
| -
|
| +<dom-module id="paper-material-shared-styles">
|
| <template>
|
| -
|
| - <div class="content">
|
| - <content></content>
|
| - </div>
|
| -
|
| + <style>
|
| + :host {
|
| + display: block;
|
| + position: relative;
|
| + }
|
| +
|
| + :host([elevation="1"]) {
|
| + @apply(--shadow-elevation-2dp);
|
| + }
|
| +
|
| + :host([elevation="2"]) {
|
| + @apply(--shadow-elevation-4dp);
|
| + }
|
| +
|
| + :host([elevation="3"]) {
|
| + @apply(--shadow-elevation-6dp);
|
| + }
|
| +
|
| + :host([elevation="4"]) {
|
| + @apply(--shadow-elevation-8dp);
|
| + }
|
| +
|
| + :host([elevation="5"]) {
|
| + @apply(--shadow-elevation-16dp);
|
| + }
|
| + </style>
|
| </template>
|
| -
|
| </dom-module>
|
| -
|
| -<script>
|
| -
|
| -(function() {
|
| -
|
| - Polymer({
|
| -
|
| - is: 'simple-menu',
|
| -
|
| - behaviors: [
|
| - Polymer.IronMenuBehavior
|
| - ]
|
| -
|
| - });
|
| -
|
| -})();
|
| -
|
| -</script>
|
|
|