Skip to content

Instantly share code, notes, and snippets.

@a8775
Last active October 30, 2015 07:31
Show Gist options
  • Save a8775/e6cf5454b5e5620f0fdd to your computer and use it in GitHub Desktop.
Save a8775/e6cf5454b5e5620f0fdd to your computer and use it in GitHub Desktop.
designer
<link href="../chart-js/chart-js.html" rel="import">
<link href="../paper-button/paper-button.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
left: 0px;
top: 0px;
width: 100%;
height: 100%;
position: absolute;
box-sizing: border-box;
}
#core_card {
padding: 16px;
border-radius: 2px;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
position: absolute;
box-shadow: 0px 2px 4px rgba(0,0,0,0.098), 0px 0px 3px rgba(0,0,0,0.098);
background-color: rgb(255, 255, 255);
}
#chart_js {
width: 300px;
height: 200px;
}
#chart_js1 {
left: 730px;
top: 450px;
width: 300px;
height: 200px;
}
</style>
<core-card id="core_card" layout vertical>
<h1 id="h1">Tytuł</h1>
<chart-js id="chart_js"></chart-js>
<paper-button id="paper_button">Zamknij</paper-button>
</core-card>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment