Skip to content

Instantly share code, notes, and snippets.

@karliky
Last active August 29, 2015 14:07
Show Gist options
  • Save karliky/25db51f9407be99464f1 to your computer and use it in GitHub Desktop.
Save karliky/25db51f9407be99464f1 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-progress/paper-progress.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-leaderboard.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#section1 {
left: 620px;
top: 170px;
position: absolute;
background-color: rgb(255, 255, 141);
}
#section {
box-sizing: border-box;
width: 420px;
height: 630px;
left: 590px;
top: 110px;
position: absolute;
}
#div {
box-sizing: border-box;
position: relative;
height: 240px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
background-color: rgb(255, 235, 59);
}
#section2 {
padding: 24px;
font-size: 16px;
background-color: rgb(238, 238, 238);
}
#topeka_leaderboard {
width: 300px;
height: 300px;
left: 170px;
top: 80px;
position: absolute;
}
#paper_button {
left: 225px;
top: 60px;
position: absolute;
}
</style>
<section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top">
</section>
<section id="section" layout vertical>
<div id="div" hero>
<span id="span">Question</span>
</div>
<section id="section2" hero flex>
<span id="span1">Answer here</span>
<paper-button label="Paper Button" id="paper_button"></paper-button>
</section>
<paper-progress id="paper_progress"></paper-progress>
</section>
<topeka-leaderboard disabled id="topeka_leaderboard" vertical layout></topeka-leaderboard>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment