Skip to content

Instantly share code, notes, and snippets.

@nokrosis
Created September 8, 2014 15:51
Show Gist options
  • Save nokrosis/60e17c44ea5ce03c9632 to your computer and use it in GitHub Desktop.
Save nokrosis/60e17c44ea5ce03c9632 to your computer and use it in GitHub Desktop.
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="../core-item/core-item.html">
<link rel="import" href="../core-pages/core-pages.html">
<polymer-element name="sdp-imagenes-upload">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_drawer_panel {
position: absolute;
top: 0px;
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;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
}
</style>
<core-drawer-panel transition id="core_drawer_panel" touch-action>
<section id="section" drawer>
<core-menu selected="0" selectedindex="0" id="core_menu">
<core-submenu opened active id="core_submenu" icon="settings" label="Imagenes">
<core-item id="core_item" label="Subir Imagen" horizontal center layout active></core-item>
<core-item id="core_item1" label="Buscar Imagen" horizontal center layout></core-item>
</core-submenu>
<core-submenu id="core_submenu1" icon="settings" label="Favorites">
<core-item id="core_item2" label="Favorite 1" horizontal center layout></core-item>
<core-item id="core_item3" label="Favorite 2" horizontal center layout></core-item>
<core-item id="core_item4" label="Favorite 3" horizontal center layout></core-item>
</core-submenu>
</core-menu>
</section>
<section id="section1" main>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section2" active>Subir Imagen</section>
<section id="section3">Buscar Imagen</section>
</core-pages>
</section>
</core-drawer-panel>
</template>
<script>
Polymer('sdp-imagenes-upload', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment