Skip to content

Instantly share code, notes, and snippets.

@ressu
Last active August 29, 2015 14:17
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 ressu/b4ffe2d59c97116af48c to your computer and use it in GitHub Desktop.
Save ressu/b4ffe2d59c97116af48c to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
#core_drawer_panel {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#section {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(250, 250, 250);
}
#section1 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#google_map {
width: 100%;
height: 100%;
display: block;
}
.desc_card {
width: 80%;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
margin: 10%;
background-color: rgb(255, 255, 255);
}
#google_map_search {
left: 114px;
top: 290px;
position: absolute;
}
#p {
margin: 5%;
}
</style>
<core-drawer-panel transition id="core_drawer_panel" touch-action>
<section id="section" drawer>
<core-card id="core_card2" class="desc_card" layout vertical center center-justified>
<img id="img" src="http://www.vihanneslaitila.fi/wp-content/themes/VihannesLaitila/images/logo.png"></img>
</core-card>
<core-card id="core_card" class="desc_card" layout vertical center center-justified>
<h1>Peruna, Matilda</h1>
<dl>
<dt id="dt1">Tuottaja</dt>
<dd id="dd1">Erkki Esimerkki</dd>
<dt id="dt">Viljelypaikka</dt>
<dd>Kalanti</dd>
<dt id="dt2">Pakkaaja</dt>
<dd id="dd">Vihannes-Laitila</dd>
</dl>
</core-card>
<core-card id="core_card1" class="desc_card" layout vertical center center-justified>
<p id="p">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</p>
</core-card>
</section>
<section id="section1" main>
<google-map latitude="60.78846" longitude="21.61844499999995" disabledefaultui id="google_map">
<google-map-marker longitude="21.65582" latitude="60.75341" title="Erkki Esimerkki"></google-map-marker>
<google-map-marker longitude="21.58107" latitude="60.82351" title="Pakkaaja Vihannes-Laitila"></google-map-marker>
</google-map>
</section>
</core-drawer-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment