Skip to content

Instantly share code, notes, and snippets.

@woisme
Last active August 29, 2015 14:16
Show Gist options
  • Save woisme/0658781d1a401a1c6409 to your computer and use it in GitHub Desktop.
Save woisme/0658781d1a401a1c6409 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">
<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-search.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#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);
}
#core_toolbar {
right: 0px;
left: -6px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#core_icon_button1 {
left: 768px;
top: 10px;
position: absolute;
}
#google_map {
width: 100%;
height: 100%;
display: block;
left: 0px;
top: 0px;
position: absolute;
}
#core_icon_button2 {
right: 20px;
bottom: 20px;
position: absolute;
}
#google_map_search {
left: 100px;
top: 12px;
position: absolute;
width: 60%;
height: 40px;
background-color: rgb(255, 255, 255);
}
#paper_button {
left: 1320px;
top: 410px;
}
#paper_fab {
right: 40px;
bottom: 110px;
position: absolute;
}
#paper_fab1 {
right: 40px;
bottom: 40px;
position: absolute;
}
</style>
<core-drawer-panel transition id="core_drawer_panel" touch-action>
<section id="section" drawer></section>
<section id="section1" main>
<google-map latitude="51.51717963211318" longitude="-0.26852032910154255" id="google_map"></google-map>
<core-toolbar id="core_toolbar">
<core-icon-button icon="filter" id="core_icon_button1" theme="core-light-theme"></core-icon-button>
<google-map-search id="google_map_search">London</google-map-search>
<core-icon-button icon="filter-list" id="core_icon_button2" theme="core-light-theme"></core-icon-button>
</core-toolbar>
<paper-fab icon="list" id="paper_fab"></paper-fab>
<paper-fab id="paper_fab1"></paper-fab>
</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