Skip to content

Instantly share code, notes, and snippets.

@himanshu-dixit
Last active August 29, 2015 14:13
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 himanshu-dixit/78dcca8c6c3f1c3e0a66 to your computer and use it in GitHub Desktop.
Save himanshu-dixit/78dcca8c6c3f1c3e0a66 to your computer and use it in GitHub Desktop.
designer
<link href="../core-icon-button/core-icon-button.html" rel="import">
<link href="../core-toolbar/core-toolbar.html" rel="import">
<link href="../topeka-elements/theme.html" rel="import">
<link href="../topeka-elements/topeka-resources.html" rel="import">
<link href="../topeka-elements/topeka-quizzes.html" rel="import">
<link href="../topeka-elements/topeka-app.html" rel="import">
<link href="../topeka-elements/topeka-datasource.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_toolbar1 {
right: 0px;
left: 1060px;
background-color: rgb(79, 125, 201);
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 600px;
}
#paper_button {
left: 1140px;
top: 580px;
}
#paper_tab1 {
width: 120px;
height: 40px;
left: 970px;
top: 770px;
}
#core_toolbar {
right: 0px;
left: 0px;
background-color: rgb(79, 125, 201);
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
}
#topeka_quizzes {
width: 300px;
height: 300px;
left: -280px;
top: 190px;
position: absolute;
}
#div1 {
height: 100%;
width: 100%;
overflow: hidden;
left: 130px;
top: 60px;
position: absolute;
}
#topeka_datasource {
left: 650px;
top: 610px;
position: absolute;
}
</style>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Toolbar</div>
</core-toolbar>
<topeka-quizzes id="topeka_quizzes" category="{}" layout vertical></topeka-quizzes>
<topeka-app selected="profile" connected="{{ $.datasource.connected }}" disableleaderboard id="app" fit class="drag-element" layout vertical></topeka-app>
</template>
<script>
Polymer({
});
</script>
</polymer-element><div id="div1">
<topeka-datasource url="../topeka-elements/categories.json" id="datasource" hidden></topeka-datasource>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment