Created
August 20, 2014 13:19
-
-
Save luchux/5c3749df733237eae958 to your computer and use it in GitHub Desktop.
designer
This file contains 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="../chart-js/chart-js.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-menu-button/core-menu-button.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#chart_js { | |
width: 300px; | |
height: 200px; | |
left: 30px; | |
top: 340px; | |
position: absolute; | |
} | |
#core_icon_button { | |
left: 960px; | |
top: 410px; | |
position: absolute; | |
} | |
#core_menu { | |
font-size: 16px; | |
left: 860px; | |
top: 510px; | |
position: absolute; | |
} | |
#core_menu_button { | |
left: 750px; | |
top: 370px; | |
position: absolute; | |
} | |
#core_menu1 { | |
font-size: 16px; | |
left: 790px; | |
top: 40px; | |
position: absolute; | |
} | |
#core_selector { | |
width: 100%; | |
height: 50px; | |
left: 720px; | |
top: 320px; | |
position: absolute; | |
} | |
#core_field { | |
left: 860px; | |
top: 380px; | |
position: absolute; | |
} | |
</style> | |
<chart-js id="chart_js"></chart-js> | |
<core-icon-button id="core_icon_button" icon="menu" theme="core-light-theme"></core-icon-button> | |
<core-menu id="core_menu" selected="0"> | |
<core-submenu active id="core_submenu" icon="settings" label="Topics"> | |
<core-item id="core_item" label="Topic 1" horizontal center layout></core-item> | |
<core-item id="core_item1" label="Topic 2" horizontal center layout></core-item> | |
</core-submenu> | |
<core-submenu id="core_submenu1" icon="settings" label="Favorites"> | |
<core-item id="core_item2" label="Favorite 1" horizontal center layout></core-item> | |
<core-item id="core_item3" label="Favorite 2" horizontal center layout></core-item> | |
<core-item id="core_item4" label="Favorite 3" horizontal center layout></core-item> | |
</core-submenu> | |
</core-menu> | |
<core-menu-button id="core_menu_button" icon="more-vert" selected="0"> | |
<core-item id="core_item5" icon="content-cut" label="Cut" horizontal center layout active></core-item> | |
<core-item id="core_item6" icon="content-copy" label="Copy" horizontal center layout></core-item> | |
<core-item id="core_item7" icon="content-paste" label="Paste" horizontal center layout></core-item> | |
</core-menu-button> | |
<core-menu id="core_menu1" selected="0"> | |
<core-submenu active id="core_submenu2" icon="settings" label="Topics"> | |
<core-item id="core_item8" label="Topic 1" horizontal center layout></core-item> | |
<core-item id="core_item9" label="Topic 2" horizontal center layout></core-item> | |
</core-submenu> | |
<core-submenu id="core_submenu3" icon="settings" label="Favorites"> | |
<core-item id="core_item10" label="Favorite 1" horizontal center layout></core-item> | |
<core-item id="core_item11" label="Favorite 2" horizontal center layout></core-item> | |
<core-item id="core_item12" label="Favorite 3" horizontal center layout></core-item> | |
</core-submenu> | |
</core-menu> | |
<core-selector id="core_selector" selected="0"></core-selector> | |
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon id="core_icon" icon="search"></core-icon> | |
<core-input placeholder="text input" id="core_input" flex></core-input> | |
</core-field> | |
</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