Last active
August 29, 2015 14:22
-
-
Save gary-liguoliang/d47096ba1c80c7f86ddc 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-menu/core-submenu.html"> | |
| <link rel="import" href="../core-icon-button/core-icon-button.html"> | |
| <link rel="import" href="../core-toolbar/core-toolbar.html"> | |
| <link rel="import" href="../paper-toast/paper-toast.html"> | |
| <link rel="import" href="../paper-input/paper-input.html"> | |
| <link rel="import" href="../paper-button/paper-button.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| box-sizing: border-box; | |
| } | |
| #section { | |
| left: 140px; | |
| top: -40px; | |
| position: absolute; | |
| } | |
| #section1 { | |
| left: 190px; | |
| top: 20px; | |
| position: absolute; | |
| } | |
| #section2 { | |
| left: 160px; | |
| top: 30px; | |
| position: absolute; | |
| } | |
| #core_menu { | |
| font-size: 16px; | |
| left: 280px; | |
| top: 90px; | |
| position: absolute; | |
| } | |
| #core_toolbar { | |
| right: 0px; | |
| left: -20px; | |
| color: rgb(255, 255, 255); | |
| fill: rgb(255, 255, 255); | |
| top: 0px; | |
| position: absolute; | |
| background-color: rgb(79, 125, 201); | |
| } | |
| #paper_button { | |
| left: 320px; | |
| top: 140px; | |
| position: absolute; | |
| } | |
| #paper_toast { | |
| left: 270px; | |
| top: 180px; | |
| position: absolute; | |
| } | |
| #paper_input { | |
| left: 150px; | |
| top: 130px; | |
| position: absolute; | |
| } | |
| </style> | |
| <section id="section" layout horizontal center center-justified> | |
| </section> | |
| <section id="section1"> | |
| </section> | |
| <section id="section2"> | |
| </section> | |
| <core-menu selected="0" id="core_menu"> | |
| </core-menu> | |
| <core-toolbar id="core_toolbar"> | |
| <core-icon-button icon="menu" id="core_icon_button"></core-icon-button> | |
| <div id="div" flex>RabbitSrc</div> | |
| </core-toolbar> | |
| <paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom" touch-action="none"></paper-toast> | |
| <paper-input label="Type something..." id="paper_input"></paper-input> | |
| <paper-button raised recenteringtouch toggle id="paper_button" reverse>button</paper-button> | |
| </template> | |
| <script> | |
| Polymer({ | |
| }); | |
| </script> | |
| </polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment