Skip to content

Instantly share code, notes, and snippets.

@jvelezpo
Created July 30, 2014 23:55
Show Gist options
  • Save jvelezpo/57a9e5bf88a07d8b737f to your computer and use it in GitHub Desktop.
Save jvelezpo/57a9e5bf88a07d8b737f 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;
}
#section {
left: 1430px;
top: 580px;
}
#core_scaffold {
position: absolute;
top: 260px;
right: 0px;
bottom: 0px;
left: 1580px;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 80px;
top: 180px;
position: absolute;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 160px;
top: 60px;
position: absolute;
background-color: rgb(0, 188, 212);
}
#paper_button {
left: 260px;
top: 350px;
position: absolute;
}
</style>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section" active>Page One</section>
<section id="section1">Page Two</section>
</core-pages>
<paper-tabs selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
<paper-tab id="paper_tab2">ITEM THREE</paper-tab>
<paper-tab id="paper_tab3">ITEM FOUR</paper-tab>
<paper-tab id="paper_tab4">ITEM FIVE</paper-tab>
</paper-tabs>
<paper-button label="Paper Button" id="paper_button"></paper-button>
</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