Skip to content

Instantly share code, notes, and snippets.

@neocodegs
Last active August 29, 2015 14:06
Show Gist options
  • Select an option

  • Save neocodegs/31e0e4faaa74c74849f1 to your computer and use it in GitHub Desktop.

Select an option

Save neocodegs/31e0e4faaa74c74849f1 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-quizzes.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
<template>
<style>
#topeka_quizzes {
width: 300px;
height: 300px;
left: 130px;
top: 100px;
position: absolute;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 340px;
top: 150px;
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>
<topeka-quizzes id="topeka_quizzes" category="{}" vertical></topeka-quizzes>
<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>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment