Skip to content

Instantly share code, notes, and snippets.

@augustgerro
Last active October 10, 2015 20:50
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 augustgerro/0408e7678c3cd899dbd4 to your computer and use it in GitHub Desktop.
Save augustgerro/0408e7678c3cd899dbd4 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../google-map/google-map-directions.html">
<link rel="import" href="../google-map/google-map-search.html">
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../notification-elements/notification-alert.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 {
width: 300px;
height: 200px;
left: 230px;
top: 110px;
position: absolute;
}
#google_map {
width: 960px;
height: 900px;
display: block;
left: 0px;
top: 0px;
position: absolute;
opacity: 0.6;
}
#google_map_directions {
left: 450px;
top: 650px;
position: absolute;
}
#google_map_search {
left: 370px;
top: 700px;
position: absolute;
}
#notification_alert {
left: 650px;
top: 470px;
position: absolute;
}
#core_selector {
width: 100%;
height: 50px;
left: 0px;
top: 250px;
position: absolute;
}
#section {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 390px;
top: 170px;
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);
}
#section2 {
box-sizing: border-box;
width: 420px;
height: 630px;
left: 160px;
top: 180px;
position: absolute;
}
#div3 {
box-sizing: border-box;
position: relative;
height: 240px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
background-color: rgb(255, 235, 59);
}
#section3 {
padding: 24px;
font-size: 16px;
background-color: rgb(238, 238, 238);
}
</style>
<chart-js id="chart_js"></chart-js>
<google-map-directions id="google_map_directions"></google-map-directions>
<google-map-search id="google_map_search"></google-map-search>
<google-map latitude="0" longitude="-180" maptype="terrain" disabledefaultui id="google_map"></google-map>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<core-selector id="core_selector" selected="0" horizontal layout>321</core-selector>
<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>
<paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
</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">
</div>
</section>
<section id="section2" layout vertical>
<div id="div3" hero>
<span id="span1">Question</span>
</div>
<section id="section3" hero flex>
<span id="span2">Answer here</span>
</section>
</section>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment