Skip to content

Instantly share code, notes, and snippets.

@Aupajo
Created July 17, 2014 22:15
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 Aupajo/cf5650da3c39b2a20535 to your computer and use it in GitHub Desktop.
Save Aupajo/cf5650da3c39b2a20535 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../speech-mic/speech-mic.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 390px;
top: 160px;
position: absolute;
}
#speech_mic {
left: 910px;
top: 140px;
position: absolute;
}
#core_icon {
height: 24px;
width: 24px;
left: 860px;
top: 170px;
position: absolute;
}
#core_card {
position: absolute;
width: 670px;
height: 520px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 100px;
top: 100px;
background-color: rgb(255, 255, 255);
}
</style>
<core-card id="core_card" layout vertical></core-card>
<google-map id="google_map"></google-map>
<speech-mic id="speech_mic"></speech-mic>
<core-icon icon="search" id="core_icon"></core-icon>
</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