Created
December 4, 2014 05:28
-
-
Save Hiddenx/91d0ea7d1c3fe6fe0fda 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="../paper-tabs/paper-tabs.html"> | |
| <link rel="import" href="../paper-tabs/paper-tab.html"> | |
| <link rel="import" href="../paper-toast/paper-toast.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| box-sizing: border-box; | |
| } | |
| #section1 { | |
| width: 420px; | |
| height: 630px; | |
| border: 5px solid rgb(204, 204, 204); | |
| left: 350px; | |
| top: 20px; | |
| position: absolute; | |
| } | |
| #paper_tabs { | |
| color: rgb(255, 255, 255); | |
| box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
| background-color: rgb(0, 188, 212); | |
| } | |
| #section2 { | |
| background-color: rgb(240, 240, 240); | |
| } | |
| #paper_fab { | |
| left: 1200px; | |
| top: 510px; | |
| } | |
| #paper_button { | |
| left: 1260px; | |
| top: 480px; | |
| } | |
| #paper_toast { | |
| left: -355px; | |
| top: -73px; | |
| position: absolute; | |
| } | |
| </style> | |
| <section id="section1" layout vertical> | |
| <paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs" horizontal center layout> | |
| <paper-tab id="paper_tab" inline flex center-center horizontal layout active>ITEM ONE</paper-tab> | |
| <paper-tab id="paper_tab1" inline flex center-center horizontal layout>ITEM TWO</paper-tab> | |
| </paper-tabs> | |
| <section id="section2" flex relative> | |
| <paper-toast text="Toast!" id="paper_toast" class="core-transition-bottom core-transition" touch-action="none"></paper-toast> | |
| </section> | |
| </section> | |
| </template> | |
| <script> | |
| Polymer({ | |
| }); | |
| </script> | |
| </polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment