Skip to content

Instantly share code, notes, and snippets.

@jmellicker
Created April 11, 2015 06:01
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 jmellicker/861f283e0dbf7a705fdb to your computer and use it in GitHub Desktop.
Save jmellicker/861f283e0dbf7a705fdb to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../core-drawer-panel/core-drawer-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_card {
position: absolute;
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 210px;
top: 90px;
background-color: rgb(255, 255, 255);
}
#core_drawer_panel {
position: absolute;
top: 430px;
right: 0px;
bottom: 0px;
left: 770px;
}
</style>
<core-card id="core_card" layout vertical>
<paper-item id="paper_item" icon="settings" label="Item"></paper-item>
<paper-button id="paper_button">button</paper-button>
<paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-button>
</core-card>
<core-drawer-panel transition id="core_drawer_panel" touch-action>
</core-drawer-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