Skip to content

Instantly share code, notes, and snippets.

@aymen-mouelhi
Last active August 29, 2015 14:15
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 aymen-mouelhi/7258c612f094967cc548 to your computer and use it in GitHub Desktop.
Save aymen-mouelhi/7258c612f094967cc548 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../smoothie-chart/smoothie-chart.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">
<link rel="import" href="../topeka-elements/avatars.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../topeka-elements/topeka-profile.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
position: absolute;
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 330px;
top: 140px;
background-color: rgb(255, 255, 255);
}
#core_card1 {
position: absolute;
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 330px;
top: 530px;
background-color: rgb(255, 255, 255);
}
#core_icon1 {
height: 64px;
width: 64px;
margin: 10px;
}
#paper_toast {
left: 880px;
top: 730px;
position: absolute;
}
#paper_toast1 {
left: 860px;
top: 600px;
position: absolute;
}
#topeka_datasource {
left: 810px;
top: 620px;
position: absolute;
}
#div {
height: 100%;
width: 100%;
overflow: hidden;
}
#topeka_profile {
width: 510px;
height: 510px;
left: 700px;
top: 240px;
position: absolute;
}
</style>
<core-card id="core_card" layout vertical>
<smoothie-chart id="smoothie_chart"></smoothie-chart>
<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>
</core-card>
<core-card id="core_card1" layout vertical>
<core-icon icon="avatars:avatar-1" id="core_icon1" designmeta="topeka-avatar"></core-icon>
</core-card>
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom" touch-action="none"></paper-toast>
<paper-toast text="Toast!" id="paper_toast1" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource" hidden></topeka-datasource>
<topeka-profile id="topeka_profile" center layout vertical></topeka-profile>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment