Skip to content

Instantly share code, notes, and snippets.

@stefl stefl/designer.html
Created Apr 3, 2015

What would you like to do?
<link rel="import" href="../core-drawer-panel/core-drawer-panel.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-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
#section {
left: 710px;
top: 500px;
position: absolute;
#section2 {
left: 850px;
top: 560px;
position: absolute;
#core_drawer_panel {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
width: 100%;
height: 100%;
#section1 {
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);
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
width: 100%;
height: 100%;
background-color: rgb(79, 125, 201);
#core_menu {
font-size: 16px;
left: 18px;
top: 60px;
position: absolute;
<section id="section"></section>
<core-drawer-panel transition selected="main" id="core_drawer_panel" touch-action>
<section id="section1" drawer>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Toolbar</div>
<core-menu selected="0" selectedindex="0" id="core_menu">
<core-submenu opened active id="core_submenu" icon="settings" label="Topics">
<core-item id="core_item" label="Topic 1" horizontal center layout active></core-item>
<core-item id="core_item1" label="Topic 2" horizontal center layout></core-item>
<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>
<section id="section2" main></section>
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.