Skip to content

Instantly share code, notes, and snippets.

@rgl
Created August 23, 2014 12:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rgl/5875e08db405aab14f2d to your computer and use it in GitHub Desktop.
Save rgl/5875e08db405aab14f2d 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/topeka-categories.html">
<link rel="import" href="../topeka-elements/topeka-category.html">
<link rel="import" href="../topeka-elements/avatars.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../topeka-elements/topeka-leaderboard.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#topeka_app {
width: 550px;
height: 700px;
min-height: 450px;
left: 450px;
top: 90px;
position: absolute;
}
#topeka_categories {
width: 370px;
height: 660px;
left: 50px;
top: 70px;
position: absolute;
}
#topeka_category {
width: 420px;
height: 560px;
left: 560px;
top: 40px;
position: absolute;
}
#core_selector {
left: 600px;
top: 100px;
position: absolute;
}
#core_icon {
height: 64px;
width: 64px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
}
#core_icon1 {
height: 64px;
width: 64px;
margin: 0px 8px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
left: 670px;
top: 120px;
position: absolute;
}
#core_icon2 {
height: 64px;
width: 64px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
left: 720px;
top: 70px;
position: absolute;
}
#core_icon3 {
height: 256px;
width: 256px;
left: 760px;
top: -10px;
position: absolute;
}
#topeka_leaderboard {
width: 300px;
height: 300px;
left: 590px;
top: 350px;
position: absolute;
}
</style>
<topeka-app id="topeka_app" vertical layout></topeka-app>
<topeka-categories id="topeka_categories" vertical layout></topeka-categories>
<topeka-category id="topeka_category" vertical layout></topeka-category>
<core-icon id="core_icon2" icon="avatars:avatar-3" designmeta="topeka-avatar"></core-icon>
<core-icon id="core_icon1" icon="avatars:avatar-2" designmeta="topeka-avatar"></core-icon>
<core-selector id="core_selector" selected="0" flex layout horizontal>
<core-icon id="core_icon" icon="avatars:avatar-1" designmeta="topeka-avatar"></core-icon>
</core-selector>
<core-icon id="core_icon3" icon="category-images:food" designmeta="topeka-image"></core-icon>
<topeka-leaderboard disabled id="topeka_leaderboard" vertical layout></topeka-leaderboard>
</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