Skip to content

Instantly share code, notes, and snippets.

@smspillaz
Created August 12, 2014 03:49
Show Gist options
  • Save smspillaz/c4f5cc6badede0ac1eb9 to your computer and use it in GitHub Desktop.
Save smspillaz/c4f5cc6badede0ac1eb9 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-pages/core-pages.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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 790px;
top: 810px;
position: absolute;
}
#core_menu {
font-size: 16px;
left: 720px;
top: 730px;
}
#core_header_panel {
width: 300px;
height: 400px;
left: 0px;
top: 0px;
}
</style>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element><core-pages id="core_pages" selected="0" notap>
<section id="section1" active>Page Two</section>
</core-pages>
<core-header-panel mode="standard" id="core_header_panel" class="drag-element">
<core-toolbar>
<core-icon-button icon="menu"></core-icon-button>
<div>Header</div>
</core-toolbar>
<section></section>
</core-header-panel>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment