Skip to content

Instantly share code, notes, and snippets.

@aristot
Created February 27, 2015 11:05
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 aristot/a0819cfa831b8de4b75d to your computer and use it in GitHub Desktop.
Save aristot/a0819cfa831b8de4b75d to your computer and use it in GitHub Desktop.
designer
<link href="../core-icon-button/core-icon-button.html" rel="import">
<link href="../core-toolbar/core-toolbar.html" rel="import">
<link href="../core-scroll-header-panel/core-scroll-header-panel.html" rel="import">
<link href="../core-scaffold/core-scaffold.html" rel="import">
<link href="../core-header-panel/core-header-panel.html" rel="import">
<link href="../core-menu/core-menu.html" rel="import">
<link href="../core-item/core-item.html" rel="import">
<link href="../core-input/core-input.html" rel="import">
<link href="../core-menu/core-submenu.html" rel="import">
<link href="../google-map/google-map.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_scroll_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_scaffold {
position: absolute;
top: 10px;
right: 0px;
bottom: 0px;
left: 10px;
}
#core_header_panel {
background-color: rgb(255, 255, 255);
}
#core_toolbar {
background-color: rgb(79, 125, 201);
color: rgb(255, 255, 255);
}
#core_menu {
font-size: 16px;
}
#div {
width: 80px;
}
#google_map {
width: 100%;
height: 100%;
display: block;
left: 0px;
top: 0px;
position: absolute;
}
#input {
padding: 15px;
left: 10px;
top: 10px;
position: absolute;
background-color: rgb(251, 251, 242);
width: 150px;
}
</style>
<core-scroll-header-panel headermargin="128" condenses headerheight="192" id="core_scroll_header_panel">
<core-scaffold id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel" flex navigation>
<core-toolbar id="core_toolbar">
<input id="input" placeholder="type something..." is="core-input">
</core-toolbar>
<core-menu valueattr="label" id="core_menu" theme="core-light-theme">
<core-item id="core_item" label="Item1" icon="settings" layout center horizontal></core-item>
<core-item id="core_item1" label="Item2" icon="settings" layout center horizontal></core-item>
</core-menu>
</core-header-panel>
<div id="div" tool>youpala</div>
<google-map latitude="36.08893084194024" longitude="-117.82301497070313" zoom="7" id="google_map"></google-map>
</core-scaffold>
</core-scroll-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