Skip to content

Instantly share code, notes, and snippets.

@reel
Created November 20, 2014 03:44
Show Gist options
  • Save reel/8fe41c1abe6c18d52917 to your computer and use it in GitHub Desktop.
Save reel/8fe41c1abe6c18d52917 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-app.html">
<link rel="import" href="../topeka-elements/avatars.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../topeka-elements/topeka-leaderboard.html">
<link rel="import" href="../topeka-elements/topeka-category.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;
}
#topeka_app {
width: 300px;
height: 300px;
min-height: 450px;
left: 740px;
top: 270px;
position: absolute;
}
#core_icon {
height: 64px;
width: 64px;
left: 550px;
top: 160px;
position: absolute;
}
#topeka_leaderboard {
width: 300px;
height: 300px;
left: 190px;
top: 80px;
position: absolute;
}
#topeka_category {
width: 300px;
height: 300px;
left: 480px;
top: 270px;
position: absolute;
}
#div {
height: 100%;
width: 100%;
overflow: hidden;
left: 10px;
top: -10px;
position: absolute;
}
</style>
<topeka-app selected="profile" disableleaderboard id="topeka_app" vertical layout></topeka-app>
<core-icon icon="avatars:avatar-1" id="core_icon" designmeta="topeka-avatar"></core-icon>
<topeka-leaderboard selected="1" id="topeka_leaderboard" vertical layout></topeka-leaderboard>
<topeka-category id="topeka_category" vertical layout></topeka-category>
<div id="div">
<topeka-app selected="profile" connected="{{ $.datasource.connected }}" disableleaderboard id="app" categories="[]" fit vertical layout></topeka-app>
<topeka-datasource url="../topeka-elements/categories.json" id="datasource" hidden></topeka-datasource>
</div>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment