Skip to content

Instantly share code, notes, and snippets.

@elazafranjusticiero
Last active August 29, 2015 14:17
Show Gist options
  • Save elazafranjusticiero/23b601817dadfd338ada to your computer and use it in GitHub Desktop.
Save elazafranjusticiero/23b601817dadfd338ada to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../topeka-elements/avatars.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-quiz-view.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;
}
#core_icon {
height: 256px;
width: 256px;
left: 30px;
top: 40px;
position: absolute;
}
#core_selector {
left: 70px;
top: 300px;
position: absolute;
}
#core_icon1 {
height: 64px;
width: 64px;
border-radius: 50%;
overflow: hidden;
}
#core_icon2 {
height: 64px;
width: 64px;
margin: 0px 8px;
border-radius: 50%;
overflow: hidden;
}
#core_icon3 {
height: 64px;
width: 64px;
border-radius: 50%;
overflow: hidden;
}
#topeka_leaderboard {
width: 300px;
height: 300px;
left: 330px;
top: 50px;
position: absolute;
}
#topeka_quiz_view {
width: 300px;
height: 300px;
left: 320px;
top: 430px;
position: absolute;
}
</style>
<core-icon icon="category-images:food" id="core_icon" designmeta="topeka-image"></core-icon>
<core-selector selected="0" selectedindex="0" id="core_selector" flex layout horizontal>
<core-icon icon="avatars:avatar-1" id="core_icon1" designmeta="topeka-avatar" active></core-icon>
<core-icon icon="avatars:avatar-2" id="core_icon2" designmeta="topeka-avatar"></core-icon>
<core-icon icon="avatars:avatar-3" id="core_icon3" designmeta="topeka-avatar"></core-icon>
</core-selector>
<topeka-quiz-view id="topeka_quiz_view" block></topeka-quiz-view>
<topeka-leaderboard selected="1" id="topeka_leaderboard" vertical layout></topeka-leaderboard>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment