Skip to content

Instantly share code, notes, and snippets.

@saske505
Last active August 29, 2015 14:19
Show Gist options
  • Save saske505/81f0218f6ea6ac0b8c7e to your computer and use it in GitHub Desktop.
Save saske505/81f0218f6ea6ac0b8c7e to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/topeka-datasource.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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_toolbar1 {
right: 0px;
left: 1150px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 500px;
background-color: rgb(79, 125, 201);
}
#core_menu_button {
left: 1220px;
top: 440px;
}
#paper_toggle_button {
left: 1090px;
top: 460px;
}
#core_item {
left: 1150px;
top: 370px;
}
#core_selector {
left: 1280px;
top: 420px;
}
#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: 1250px;
top: 410px;
background-color: rgb(255, 255, 255);
}
#div {
height: 100%;
width: 100%;
overflow: hidden;
left: 0px;
top: 0px;
position: absolute;
}
#app {
left: 0px;
top: -50px;
position: absolute;
}
</style>
<div id="div">
<topeka-datasource url="../topeka-elements/categories.json" id="datasource" hidden></topeka-datasource>
</div>
<topeka-app selected="profile" connected="{{ $.datasource.connected }}" id="app" categories="[]" fit vertical layout></topeka-app>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment