Skip to content

Instantly share code, notes, and snippets.

@AstraLuma
Created January 7, 2015 00:37
Show Gist options
  • Select an option

  • Save AstraLuma/a160bfc50291232b36c3 to your computer and use it in GitHub Desktop.

Select an option

Save AstraLuma/a160bfc50291232b36c3 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="captainslog-app">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
paper-menu-button {
left: 1em;
top: 1em;
position: absolute;
}
#entries {
margin-left: calc(2em + 36px);
}
</style>
<paper-menu-button>
<paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-button>
<paper-dropdown class="dropdown">
<core-menu class="menu">
<core-item id="archive" icon="folder" label="Archive" horizontal center layout></core-item>
<core-item id="settings" icon="settings" label="Settings" horizontal center layout></core-item>
</core-menu>
</paper-dropdown>
</paper-menu-button>
<section id="entries">
<article>
<h1>2014-5-6 &endash; (Title)</h1>
</article>
</section>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment