Created
July 23, 2014 10:39
-
-
Save suzuki0keiichi/fb6efaf71fdf6a1f80cf to your computer and use it in GitHub Desktop.
designer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="import" href="../core-icons/core-icons.html"> | |
| <link rel="import" href="../paper-item/paper-item.html"> | |
| <link rel="import" href="../core-item/core-item.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| box-sizing: border-box; | |
| } | |
| #core_card { | |
| position: absolute; | |
| width: 300px; | |
| height: 300px; | |
| border-top-left-radius: 2px; | |
| border-top-right-radius: 2px; | |
| border-bottom-right-radius: 2px; | |
| border-bottom-left-radius: 2px; | |
| box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
| left: 480px; | |
| top: 140px; | |
| background-color: rgb(255, 255, 255); | |
| } | |
| #core_selector { | |
| width: 100%; | |
| height: 50px; | |
| } | |
| #core_card1 { | |
| width: 300px; | |
| height: 300px; | |
| border-top-left-radius: 2px; | |
| border-top-right-radius: 2px; | |
| border-bottom-right-radius: 2px; | |
| border-bottom-left-radius: 2px; | |
| box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
| display: none; | |
| background-color: rgb(255, 255, 255); | |
| } | |
| </style> | |
| <core-card id="core_card" layout vertical> | |
| <paper-item label="Item" icon="settings" id="paper_item" center horizontal layout></paper-item> | |
| <paper-item label="Item" icon="settings" id="paper_item1" center horizontal layout></paper-item> | |
| <paper-item label="Item" icon="settings" id="paper_item2" center horizontal layout></paper-item> | |
| <section id="section"></section> | |
| <section id="section1"></section> | |
| <core-selector selected="0" selectedindex="0" id="core_selector"> | |
| <core-card id="core_card1" layout vertical active> | |
| <core-item label="sub" icon="settings" size="24" id="core_item" horizontal center layout></core-item> | |
| </core-card> | |
| </core-selector> | |
| </core-card> | |
| </template> | |
| <script> | |
| Polymer('my-element', { | |
| }); | |
| </script> | |
| </polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment