Skip to content

Instantly share code, notes, and snippets.

@bashtian
Created August 15, 2014 09:08
Show Gist options
  • Save bashtian/d76a5a54956ca09e8ee8 to your computer and use it in GitHub Desktop.
Save bashtian/d76a5a54956ca09e8ee8 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="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.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-app.html">
<link rel="import" href="../topeka-elements/topeka-datasource.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;
background-color: rgb(0, 188, 212);
}
#paper_fab {
opacity: 1;
position: relative;
background-color: rgb(106, 196, 218);
}
#div1 {
height: 100%;
width: 100%;
overflow: hidden;
}
#div2 {
height: 100%;
width: 100%;
overflow: hidden;
}
</style>
<section id="section" layout vertical>
<paper-tabs id="paper_tabs" selected="0" noink nobar>
<paper-tab id="paper_tab" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
<div id="div" layout horizontal>
<paper-fab icon="check" id="paper_fab"></paper-fab>
</div>
<div id="div1">
<topeka-app id="app" categories="[]" fit connected vertical layout></topeka-app>
<topeka-datasource url="../topeka-elements/categories.json" id="datasource" hidden></topeka-datasource>
</div>
<div id="div2">
<topeka-app id="app" categories="[]" fit connected vertical layout></topeka-app>
<topeka-datasource url="../topeka-elements/categories.json" id="datasource" hidden></topeka-datasource>
</div>
</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