Created
August 1, 2014 14:24
-
-
Save identor/42d620a8ae999d5290f4 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="../components/polymer/polymer.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| box-sizing: border-box; | |
| } | |
| #core_scaffold { | |
| position: absolute; | |
| top: 0px; | |
| right: 0px; | |
| bottom: 0px; | |
| left: 0px; | |
| } | |
| #core_header_panel { | |
| background-color: rgb(255, 255, 255); | |
| } | |
| #core_toolbar { | |
| color: rgb(255, 255, 255); | |
| background-color: rgb(79, 125, 201); | |
| } | |
| #core_menu { | |
| font-size: 16px; | |
| } | |
| #core_input { | |
| padding: 15px; | |
| left: 370px; | |
| top: 70px; | |
| position: absolute; | |
| } | |
| #chart_js { | |
| width: 300px; | |
| height: 200px; | |
| left: 280px; | |
| top: 140px; | |
| position: absolute; | |
| } | |
| #core_icon { | |
| height: 24px; | |
| width: 24px; | |
| left: 300px; | |
| top: 80px; | |
| position: absolute; | |
| } | |
| #svg { | |
| pointer-events: none; | |
| width: 24px; | |
| height: 24px; | |
| display: block; | |
| } | |
| </style> | |
| <core-scaffold id="core_scaffold"> | |
| <core-header-panel mode="seamed" id="core_header_panel" navigation flex> | |
| <core-toolbar id="core_toolbar"></core-toolbar> | |
| <core-menu selected="Item2" valueattr="label" selectedindex="1" id="core_menu" theme="core-light-theme"> | |
| <core-item label="Item1" icon="settings" size="24" id="core_item" horizontal center layout></core-item> | |
| <core-item label="Item2" icon="settings" size="24" id="core_item1" horizontal center layout active></core-item> | |
| </core-menu> | |
| </core-header-panel> | |
| <div id="div" tool>Title</div> | |
| </core-scaffold> | |
| <core-input placeholder="Type something..." id="core_input"></core-input> | |
| <chart-js kind="Line" id="chart_js"></chart-js> | |
| <core-icon icon="search" id="core_icon"> | |
| <svg id="svg" viewbox="0 0 24 24"> | |
| <g id="g"> | |
| <path id="path" d="M15.5,14h-0.8l-0.3-0.3c1-1.1,1.6-2.6,1.6-4.2C16,5.9,13.1,3,9.5,3C5.9,3,3,5.9,3,9.5S5.9,16,9.5,16c1.6,0,3.1-0.6,4.2-1.6l0.3,0.3v0.8l5,5l1.5-1.5L15.5,14z M9.5,14C7,14,5,12,5,9.5S7,5,9.5,5C12,5,14,7,14,9.5S12,14,9.5,14z"></path> | |
| </g> | |
| </svg> | |
| </core-icon> | |
| </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