Skip to content

Instantly share code, notes, and snippets.

@manuelbordallo
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save manuelbordallo/2c93ecd5e5edeff8fb7d to your computer and use it in GitHub Desktop.

Select an option

Save manuelbordallo/2c93ecd5e5edeff8fb7d to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map.html">
<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="../core-menu-button/core-menu-button.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#google_map {
position: static;
left: 490px;
top: 90px;
}
#core_header_panel {
opacity: 1;
position: absolute;
top: 120px;
left: 0px;
width: 100%;
height: 100%;
}
#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));
}
#core_item {
left: 140px;
top: 106px;
position: absolute;
}
#core_item1 {
left: 28px;
top: 10px;
position: absolute;
}
</style>
<google-map latitude="38.97106953045797" longitude="-5.794606944774627" zoom="15" showcentermarker id="google_map" horizontal layout center center-justified wrap></google-map>
<core-header-panel mode="standard" id="core_header_panel" justified wrap vertical layout end>
<core-toolbar id="core_toolbar">
<core-menu-button icon="menu" opened id="core_icon_button">
<core-item id="core_item1" icon="settings" label="Item1" horizontal center layout>aaa</core-item>
<core-item id="core_item" icon="settings" label="Item2" horizontal center layout>bbbb</core-item>
</core-menu-button>
<div id="div">Header</div>
</core-toolbar>
<section id="section">
</section>
</core-header-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