Skip to content

Instantly share code, notes, and snippets.

@danivicario
Last active August 29, 2015 14:14
Show Gist options
  • Save danivicario/787f33c4796272bdde18 to your computer and use it in GitHub Desktop.
Save danivicario/787f33c4796272bdde18 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-leaderboard.html">
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-quiz-view.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 280px;
top: 190px;
position: absolute;
}
#section {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 700px;
top: 200px;
position: absolute;
}
#section1 {
background-color: rgb(255, 255, 141);
}
#core_icon {
height: 256px;
width: 256px;
z-index: 100;
}
#div {
box-sizing: border-box;
position: relative;
height: 80px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
background-color: rgb(255, 235, 59);
}
#div2 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab {
background-color: rgb(255, 64, 129);
}
#topeka_leaderboard {
width: 300px;
height: 300px;
left: 1640px;
top: 370px;
position: absolute;
}
#topeka_quiz_view {
width: 300px;
height: 300px;
left: 2050px;
top: 790px;
position: absolute;
}
</style>
<google-map id="google_map"></google-map>
<section id="section" layout vertical>
<section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top">
<core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon>
</section>
<div id="div" class="bottom" hero hero-id="bottom">
<span id="span">General Knowledge2</span>
</div>
<div id="div1" hero class="dummy"></div>
<div id="div2" class="fab fab-0">
<paper-fab id="paper_fab" cross-fade-delayed icon="av:play-arrow"></paper-fab>
</div>
</section>
<topeka-leaderboard id="topeka_leaderboard"></topeka-leaderboard>
<topeka-quiz-view id="topeka_quiz_view"></topeka-quiz-view>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment