Skip to content

Instantly share code, notes, and snippets.

@rafal98
Created September 24, 2014 08:20
Show Gist options
  • Save rafal98/adf76422f511fa6cfe73 to your computer and use it in GitHub Desktop.
Save rafal98/adf76422f511fa6cfe73 to your computer and use it in GitHub Desktop.
designer
<link href="../core-icon-button/core-icon-button.html" rel="import">
<link href="../core-toolbar/core-toolbar.html" rel="import">
<link href="../core-input/core-input.html" rel="import">
<link href="../paper-button/paper-button.html" rel="import">
<link href="../paper-checkbox/paper-checkbox.html" rel="import">
<link href="../chart-js/chart-js.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_input {
padding: 15px;
left: 90px;
top: 90px;
position: absolute;
}
#core_toolbar {
right: 0px;
left: 0px;
background-color: rgb(79, 125, 201);
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: -10px;
position: absolute;
}
#paper_button {
left: 460px;
top: 90px;
position: absolute;
}
#paper_checkbox {
left: 640px;
top: 90px;
position: absolute;
}
#chart_js {
width: 300px;
height: 200px;
left: 120px;
top: 190px;
position: absolute;
}
</style>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Toolbar</div>
</core-toolbar>
<core-input willvalidate placeholder="Type something..." id="core_input"></core-input>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
<chart-js kind="Radar" id="chart_js"></chart-js>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment