Skip to content

Instantly share code, notes, and snippets.

@joshuajnoble
Created June 26, 2014 17:49
Show Gist options
  • Select an option

  • Save joshuajnoble/7f6370e5c8fbfed2f9e1 to your computer and use it in GitHub Desktop.

Select an option

Save joshuajnoble/7f6370e5c8fbfed2f9e1 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
core-card {
display: block;
width: 300px;
height: 150px;
padding: 4px;
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;
margin: 20px 0px 0px;
font-size: 20px;
position: relative;
background-color: rgb(255, 255, 255);
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 0px;
top: 70px;
position: absolute;
}
#core_toolbar {
right: 0px;
left: -20px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(79, 125, 201);
}
</style>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Toolbar</div>
</core-toolbar>
<google-map id="google_map"></google-map>
</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