Created
July 18, 2014 15:25
-
-
Save newpost/797d931ed8ba1ff6ce1b 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-input/core-input.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="../core-pages/core-pages.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-icons/core-icons.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: 1060px; | |
top: 470px; | |
position: absolute; | |
} | |
#core_input { | |
padding: 15px; | |
left: 570px; | |
top: 230px; | |
position: absolute; | |
} | |
#core_icon_button { | |
left: 580px; | |
top: 360px; | |
position: absolute; | |
} | |
#core_selector { | |
width: 100%; | |
height: 50px; | |
left: 0px; | |
top: 90px; | |
position: absolute; | |
} | |
#core_toolbar { | |
right: 0px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#core_pages { | |
width: 400px; | |
height: 400px; | |
border: 1px solid silver; | |
left: 60px; | |
top: 210px; | |
position: absolute; | |
} | |
#core_menu { | |
font-size: 16px; | |
left: 760px; | |
top: 200px; | |
position: absolute; | |
} | |
#core_field { | |
left: 610px; | |
top: 430px; | |
position: absolute; | |
} | |
#core_icon { | |
height: 24px; | |
width: 24px; | |
} | |
</style> | |
<chart-js kind="Radar" id="chart_js"></chart-js> | |
<core-input placeholder="Type something..." inputvalue="rtere" value="rtere" id="core_input"></core-input> | |
<core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme"></core-icon-button> | |
<core-selector selected="0" selectedindex="0" id="core_selector"> | |
<core-toolbar id="core_toolbar" active> | |
<core-icon-button icon="menu" id="core_icon_button1"></core-icon-button> | |
<div id="div" flex>Toolbar</div> | |
</core-toolbar> | |
</core-selector> | |
<core-pages selected="0" selectedindex="0" notap id="core_pages"> | |
<section id="section" active>Page One</section> | |
<section id="section1">Page Two</section> | |
</core-pages> | |
<core-menu selected="1" selectedindex="1" id="core_menu"> | |
<core-submenu label="Topics" icon="settings" valueattr="name" id="core_submenu"> | |
<core-item label="Topic 1" size="24" id="core_item" horizontal center layout></core-item> | |
<core-item label="Topic 2" size="24" id="core_item1" horizontal center layout></core-item> | |
</core-submenu> | |
<core-submenu active label="Favorites" icon="settings" valueattr="name" id="core_submenu1"> | |
<core-item label="Favorite 1" size="24" id="core_item2" horizontal center layout></core-item> | |
<core-item label="Favorite 2" size="24" id="core_item3" horizontal center layout></core-item> | |
<core-item label="Favorite 3" size="24" id="core_item4" horizontal center layout></core-item> | |
</core-submenu> | |
</core-menu> | |
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<core-input placeholder="text input" id="core_input1" 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