Skip to content

Instantly share code, notes, and snippets.

@udarapathmin
Last active August 29, 2015 14:08
Show Gist options
  • Save udarapathmin/1c81373f6392621e3b04 to your computer and use it in GitHub Desktop.
Save udarapathmin/1c81373f6392621e3b04 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/topeka-datasource.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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 280px;
top: 10px;
position: absolute;
}
#section1 {
background-color: rgb(255, 255, 141);
}
#div {
box-sizing: border-box;
position: absolute;
height: 80px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
left: 880px;
top: 460px;
background-color: rgb(255, 235, 59);
}
#div2 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab {
background-color: rgb(255, 64, 129);
}
#app {
left: -10px;
top: 0px;
position: absolute;
}
</style>
<div id="div">
<topeka-datasource url="../topeka-elements/categories.json" id="datasource" hidden></topeka-datasource>
</div>
<topeka-app selected="profile" connected="{{ $.datasource.connected }}" disableleaderboard id="app" categories="[]" fit vertical layout></topeka-app>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment