Skip to content

Instantly share code, notes, and snippets.

@MasterAM MasterAM/designer.html
Last active Aug 29, 2015

Embed
What would you like to do?
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-item/core-item.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">
<link rel="import" href="../core-menu/core-submenu.html">
<polymer-element name="tanku-dual-drawer-view">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_drawer_panel2 {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: -256px;
}
#section {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(250, 250, 250);
}
#section1 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#core_drawer_panel3 {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: -256px;
}
#section2 {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(250, 250, 250);
}
#section3 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
</style>
<core-drawer-panel transition id="core_drawer_panel" touch-action>
<div id="div1" drawer class="left-drawer"></div>
<core-drawer-panel transition rightdrawer id="core_drawer_panel1" main touch-action>
<div id="div2" drawer class="right-drawer">
<core-item icon="menu" label="foo" horizontal center layout></core-item>
</div>
<div id="div" main></div>
<core-drawer-panel transition id="core_drawer_panel2" touch-action>
<core-header-panel drawer class="right-drawer">
<core-toolbar class="animate">
<core-item label="myapp" horizontal center layout>
<a href="/"></a>
</core-item>
</core-toolbar>
<div>
<core-menu>
<core-item label="foo" horizontal center layout></core-item>
<core-item label="Profile" horizontal center layout>
<a href="/u/profile"></a>
</core-item>
<core-item label="Password" horizontal center layout>
<a href="/change"></a>
</core-item>
<core-item label="Logout" horizontal center layout>
<a href="/logout"></a>
</core-item>
</core-menu>
</div>
</core-header-panel>
<section id="section" drawer></section>
<section id="section1" main></section>
</core-drawer-panel>
<core-drawer-panel transition id="core_drawer_panel3" touch-action>
<section id="section2" drawer>
<core-header-panel drawer class="right-drawer">
<core-toolbar class="animate">
<core-item label="myapp">
<a href="/"></a>
</core-item>
</core-toolbar>
<div>
<core-menu>
<core-item label="foo"></core-item>
<core-item label="Profile"><a href="/u/profile"></a></core-item>
<core-item label="Password"><a href="/change"></a></core-item>
<core-item label="Logout"><a href="/logout"></a></core-item>
</core-menu>
</div>
</core-header-panel>
</section>
<section id="section3" main></section>
</core-drawer-panel>
</core-drawer-panel>
</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
You can’t perform that action at this time.