Skip to content

Instantly share code, notes, and snippets.

@manishkpr manishkpr/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-menu/core-submenu.html">
<link rel="import" href="../paper-slider/paper-slider.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#div {
left: 48px;
top: 20px;
position: absolute;
}
#core_drawer_panel {
position: absolute;
top: 60px;
right: 0px;
bottom: 0px;
left: 0px;
}
#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_menu {
font-size: 16px;
left: 22px;
top: 32px;
position: absolute;
}
#paper_slider {
left: -256px;
top: -60px;
position: absolute;
}
#paper_slider1 {
left: -256px;
top: -60px;
position: absolute;
}
</style>
<core-drawer-panel transition id="core_drawer_panel" touch-action>
<section id="section" drawer>
<core-menu selected="0" id="core_menu">
</core-menu>
</section>
<section id="section1" main>
<paper-slider id="paper_slider"></paper-slider>
<paper-slider id="paper_slider1"></paper-slider>
</section>
</core-drawer-panel>
<core-toolbar id="core_toolbar">
<core-icon-button active icon="menu" id="core_icon_button" class="selected"></core-icon-button>
<div id="div" flex>Toolbar</div>
</core-toolbar>
</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.