Skip to content

Instantly share code, notes, and snippets.

@munro
Created July 1, 2014 18:06
Show Gist options
  • Save munro/c8a3412491f447cdc9ab to your computer and use it in GitHub Desktop.
Save munro/c8a3412491f447cdc9ab to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../smoothie-chart/smoothie-chart.html">
<link rel="import" href="../code-mirror/code-mirror.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../ace-element/ace-element.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#ace_element {
width: 400px;
height: 300px;
}
#code_mirror {
width: 400px;
height: 300px;
left: 500px;
top: 40px;
position: absolute;
}
#chart_js {
width: 300px;
height: 200px;
left: 990px;
top: 380px;
}
#smoothie_chart {
left: 500px;
top: 380px;
position: absolute;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 30px;
top: 20px;
position: absolute;
}
#paper_tabs1 {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
</style>
<smoothie-chart id="smoothie_chart"></smoothie-chart>
<code-mirror value="<polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element>" id="code_mirror"><polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element></code-mirror>
<section id="section" layout vertical>
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs1">
<paper-tab id="paper_tab5">ITEM ONE</paper-tab>
<paper-tab id="paper_tab6" active>ITEM TWO</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
<ace-element value="<polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element>" id="ace_element"><polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element></ace-element>
</section>
</section>
</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