Skip to content

Instantly share code, notes, and snippets.

@timvdalen
Last active August 29, 2015 14:06
Show Gist options
  • Save timvdalen/a7f67fcfe39bcaf397ab to your computer and use it in GitHub Desktop.
Save timvdalen/a7f67fcfe39bcaf397ab to your computer and use it in GitHub Desktop.
designer
<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;
}
core-header-panel[mode="cover"]::shadow #mainContainer {
left: 80px;
}
.content {
margin: 60px 60px 60px 0px;
}
</style>
<core-header-panel mode="cover">
<core-appbar class="tall">
<core-icon-button icon="menu"></core-icon-button>
</core-appbar>
<div class="content"></div>
</core-header-panel>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment