Skip to content

Instantly share code, notes, and snippets.

@jasonrundell
Created June 26, 2014 04:38
Show Gist options
  • Save jasonrundell/11b06af6b4b292a10ca0 to your computer and use it in GitHub Desktop.
Save jasonrundell/11b06af6b4b292a10ca0 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../smoothie-chart/smoothie-chart.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(106, 174, 123);
}
#core_drawer_panel {
position: absolute;
top: 60px;
right: 0px;
bottom: 0px;
left: 0px;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 440px;
top: 210px;
position: absolute;
}
#smoothie_chart {
left: 300px;
top: 170px;
position: absolute;
}
</style>
<smoothie-chart id="smoothie_chart"></smoothie-chart>
</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