Last active
August 29, 2015 14:13
-
-
Save rabmarjan/0d0ff1ffba55732232a5 to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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/topeka-quiz-view.html"> | |
<link rel="import" href="../topeka-elements/topeka-quizzes.html"> | |
<link rel="import" href="../topeka-elements/topeka-categories.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; | |
} | |
#topeka_app { | |
width: 300px; | |
height: 300px; | |
min-height: 450px; | |
left: 630px; | |
top: 0px; | |
position: absolute; | |
} | |
#topeka_categories { | |
width: 300px; | |
height: 300px; | |
left: 230px; | |
top: 0px; | |
position: absolute; | |
} | |
#topeka_datasource { | |
left: 150px; | |
top: 410px; | |
position: absolute; | |
} | |
#topeka_datasource1 { | |
left: 300px; | |
top: 410px; | |
position: absolute; | |
} | |
#topeka_profile { | |
width: 300px; | |
height: 300px; | |
left: 80px; | |
top: 310px; | |
position: absolute; | |
} | |
#topeka_quiz_view { | |
width: 300px; | |
height: 300px; | |
left: -30px; | |
top: 300px; | |
position: absolute; | |
} | |
#topeka_quizzes { | |
left: 50px; | |
top: 110px; | |
position: absolute; | |
background-color: rgb(128, 255, 0); | |
} | |
</style> | |
<topeka-app selected="profile" disableleaderboard id="topeka_app" categories="[]" vertical layout></topeka-app> | |
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource" hidden></topeka-datasource> | |
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource1" hidden></topeka-datasource> | |
<topeka-quiz-view id="topeka_quiz_view" block></topeka-quiz-view> | |
<topeka-quizzes id="topeka_quizzes" category="{}" vertical layout two flex></topeka-quizzes> | |
<topeka-categories id="topeka_categories" vertical layout></topeka-categories> | |
<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