Skip to content

Instantly share code, notes, and snippets.

@iamralpht
Created August 4, 2014 21:24
Show Gist options
  • Save iamralpht/4ba3e8b94a9a0aae976b to your computer and use it in GitHub Desktop.
Save iamralpht/4ba3e8b94a9a0aae976b to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 30px;
top: 10px;
position: absolute;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
#section1 {
left: 10px;
top: 120px;
position: absolute;
}
#google_map {
width: 430px;
height: 590px;
display: block;
left: 30px;
top: 60px;
position: absolute;
}
</style>
<section id="section1" flex relative>
</section>
<google-map id="google_map"></google-map>
<section id="section" layout vertical>
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs">
<paper-tab id="paper_tab">MAP</paper-tab>
<paper-tab id="paper_tab1" active>DIRECTIONS</paper-tab>
</paper-tabs>
</section>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment