Skip to content

Instantly share code, notes, and snippets.

@filipkowicz
Last active August 29, 2015 14:20
Show Gist options
  • Save filipkowicz/7212cb4dcb0c9cad8d7f to your computer and use it in GitHub Desktop.
Save filipkowicz/7212cb4dcb0c9cad8d7f to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.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-menu/core-submenu.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<link rel="import" href="../google-map/google-map.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>
#core_header_panel {
background-color: rgb(255, 255, 255);
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#core_menu {
font-size: 16px;
}
#paper_button {
left: 43px;
top: 230px;
position: absolute;
}
#paper_fab {
position: absolute;
bottom: 10px;
right: 10px;
}
</style>
<core-scaffold id="core_scaffold" flex layout vertical class="drop-target">
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar"></core-toolbar>
<core-menu selected="map" valueattr="label" selectedindex="0" id="core_menu" theme="core-light-theme">
<core-item id="map" icon="map" label="map" horizontal center layout active></core-item>
<core-item id="profile" icon="account-circle" label="profile" horizontal center layout></core-item>
<core-item id="timetable" icon="account-circle" label="timeTable" horizontal center layout></core-item>
</core-menu>
<paper-button id="paper_button">button</paper-button>
</core-header-panel>
<div id="div" tool>{{ $.core_menu.selected }}</div>
<core-animated-pages selected="{{ $.core_menu.selected }}" lastselected="timeTable" valueattr="id" selectedindex="0" notap id="core_animated_pages" class="drag-element" fit>
<section id="map" layout horizontal center center-justified fit active>
<google-map latitude="37.19739065484108" longitude="-121.35786604492188" id="google_map" fit></google-map>
<paper-fab icon="add" id="paper_fab"></paper-fab>
</section>
<section id="profile">
</section>
</core-animated-pages>
</core-scaffold>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment