Last active
November 3, 2015 03:13
-
-
Save clayrisser/c45e9404be8df891110e to your computer and use it in GitHub Desktop.
designer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="../core-drawer-panel/core-drawer-panel.html" rel="import"> | |
<link href="../core-menu-button/core-menu-button.html" rel="import"> | |
<link href="../core-icons/core-icons.html" rel="import"> | |
<link href="../core-item/core-item.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_drawer_panel { | |
position: absolute; | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
} | |
#section { | |
background-color: rgb(250, 250, 250); | |
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.098), 0px 0px 3px rgba(0, 0, 0, 0.098); | |
} | |
#section1 { | |
height: 100%; | |
box-sizing: border-box; | |
background-color: rgb(221, 221, 221); | |
} | |
#core_menu_button { | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
} | |
</style> | |
<core-drawer-panel transition id="core_drawer_panel" touch-action> | |
<section id="section" drawer> | |
<core-menu-button opened id="core_menu_button" selected="0" icon="more-vert" relative> | |
<core-item id="core_item" label="Cut" icon="content-cut" layout center horizontal></core-item> | |
<core-item id="core_item1" label="Copy" icon="content-copy" layout center horizontal></core-item> | |
<core-item id="core_item2" label="Paste" icon="content-paste" layout center horizontal></core-item> | |
</core-menu-button> | |
</section> | |
<section id="section1" main></section> | |
</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