Skip to content

Instantly share code, notes, and snippets.

@johnoscott
Created August 7, 2014 21:57
Show Gist options
  • Save johnoscott/aacf8502e0401eb954dd to your computer and use it in GitHub Desktop.
Save johnoscott/aacf8502e0401eb954dd to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#three_js_cube {
left: 450px;
top: 290px;
position: absolute;
}
#paper_button {
left: 530px;
top: 230px;
position: absolute;
}
#paper_checkbox {
left: 560px;
top: 270px;
position: absolute;
}
#paper_fab {
left: 280px;
top: 220px;
position: absolute;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 40px;
top: 20px;
position: absolute;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
</style>
<three-js-cube id="three_js_cube"></three-js-cube>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<section id="section" layout vertical>
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs">
<paper-tab id="paper_tab">ITEM ONE</paper-tab>
<paper-tab id="paper_tab1" active>ITEM TWO</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
</section>
</section>
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
</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