Skip to content

Instantly share code, notes, and snippets.

@Glowin
Created August 30, 2014 09:35
Show Gist options
  • Save Glowin/ddd73679a70c26e480ee to your computer and use it in GitHub Desktop.
Save Glowin/ddd73679a70c26e480ee 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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#ace_element {
width: 400px;
height: 300px;
left: 60px;
top: 60px;
position: absolute;
}
#core_card {
position: absolute;
width: 300px;
height: 300px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 1170px;
top: 410px;
background-color: rgb(255, 255, 255);
}
#section1 {
left: 270px;
top: 440px;
position: absolute;
background-color: rgb(255, 255, 141);
}
#topeka_app {
width: 300px;
height: 300px;
min-height: 450px;
left: 270px;
top: 90px;
position: absolute;
}
</style>
<section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top">
</section>
<polymer-element name="my-element">
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element>
<topeka-app selected="categories" disableleaderboard id="topeka_app" user='{"name":"sdfsdf a","avatar":1,"score":0}' categories="[]" vertical layout></topeka-app>
</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