Skip to content

Instantly share code, notes, and snippets.

@egelmex
Created July 9, 2014 08:56
Show Gist options
  • Save egelmex/43549e39742d581e6450 to your computer and use it in GitHub Desktop.
Save egelmex/43549e39742d581e6450 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="../core-header-panel/core-header-panel.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_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#google_map {
width: 400px;
height: 400px;
display: block;
}
</style>
<core-header-panel mode="waterfall-tall" shadow id="core_header_panel">
<section id="section">
<core-toolbar id="core_toolbar" class="animate tall">
<core-icon-button icon="arrow-back" id="core_icon_button" theme="core-light-theme"></core-icon-button>
<div id="div">martinellis.me</div>
<div id="div1" flex>
</div>
</core-toolbar>
<google-map id="google_map"></google-map>
</section>
</core-header-panel>
</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