Skip to content

Instantly share code, notes, and snippets.

@andyagtech
Last active August 29, 2015 14:09
Show Gist options
  • Save andyagtech/0641587ddc65ab749932 to your computer and use it in GitHub Desktop.
Save andyagtech/0641587ddc65ab749932 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-category.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
width: 100%;
height: 100%;
border: 5px solid rgb(204, 204, 204);
left: 0px;
top: 0px;
position: absolute;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background-color: rgb(0, 188, 212);
}
#paper_tab {
height: 10%;
background-color: rgb(255, 0, 128);
}
#paper_tab1 {
height: 10%;
background-color: rgb(177, 78, 122);
}
#paper_tab2 {
height: 10%;
background-color: rgb(213, 131, 252);
}
#paper_tab3 {
height: 10%;
background-color: rgb(177, 78, 122);
}
#section1 {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 10%;
}
#topeka_leaderboard {
width: 300px;
height: 300px;
left: 1640px;
top: 670px;
}
#topeka_category {
width: 33.33333%;
height: 80%;
left: 0px;
top: 10%;
position: absolute;
padding: 0px;
margin: 0px;
opacity: 1;
background-color: rgb(255, 128, 0);
}
</style>
<section id="section">
<paper-tabs selected="3" selectedindex="3" id="paper_tabs">
<paper-tab id="paper_tab">About</paper-tab>
<paper-tab id="paper_tab1">Team</paper-tab>
<paper-tab id="paper_tab2" active>Investors</paper-tab>
<topeka-category id="topeka_category" vertical layout active></topeka-category>
</paper-tabs>
<section id="section1" flex relative center wrap></section>
</section>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment