Created
February 13, 2015 12:45
-
-
Save sebholstein/260ee78a4a1247a29aa5 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="../chart-js/chart-js.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<link rel="import" href="../speech-mic/speech-mic.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"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#chart_js { | |
opacity: 1; | |
} | |
#google_map { | |
width: 400px; | |
height: 400px; | |
display: block; | |
left: 310px; | |
top: 180px; | |
position: absolute; | |
} | |
#speech_mic { | |
left: 860px; | |
top: 360px; | |
position: absolute; | |
} | |
#section { | |
box-sizing: border-box; | |
width: 420px; | |
height: 582px; | |
left: 660px; | |
top: 60px; | |
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); | |
} | |
</style> | |
<chart-js kind="{{ sda }}" id="chart_js" horizontal layout start end-justified twelve flex wrap></chart-js> | |
<google-map latitude="37.40712808508407" longitude="-121.63115095703125" id="google_map"></google-map> | |
<speech-mic id="speech_mic"></speech-mic> | |
<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 Knowledge</span> | |
</div> | |
<div id="div1" hero class="dummy"></div> | |
<div id="div2" class="fab fab-0"> | |
<paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab> | |
</div> | |
</section> | |
</template> | |
<script> | |
Polymer({ | |
sda: '' | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment