Created
July 7, 2014 10:54
-
-
Save hrandika/18450af535a49657e420 to your computer and use it in GitHub Desktop.
designer
This file contains 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-icon-button/core-icon-button.html" rel="import"> | |
<link href="../core-toolbar/core-toolbar.html" rel="import"> | |
<link href="../core-drawer-panel/core-drawer-panel.html" rel="import"> | |
<link href="../core-menu/core-submenu.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_toolbar { | |
right: 0px; | |
left: 0px; | |
background-color: rgb(79, 125, 201); | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
top: 0px; | |
position: absolute; | |
} | |
#paper_toast1 { | |
left: 580px; | |
top: 350px; | |
position: absolute; | |
width: 0px; | |
height: 250px; | |
} | |
#paper_tab { | |
width: 120px; | |
height: 40px; | |
left: 1020px; | |
top: 410px; | |
} | |
#google_map { | |
width: 400px; | |
height: 400px; | |
display: block; | |
left: 1110px; | |
top: 370px; | |
} | |
#core_drawer_panel { | |
position: absolute; | |
top: 480px; | |
right: 0px; | |
bottom: 0px; | |
left: 880px; | |
} | |
#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 { | |
font-size: 16px; | |
} | |
#core_drawer_panel1 { | |
right: 0px; | |
bottom: 0px; | |
} | |
#section2 { | |
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); | |
} | |
#section3 { | |
height: 100%; | |
box-sizing: border-box; | |
background-color: rgb(221, 221, 221); | |
} | |
#core_drawer_panel2 { | |
position: absolute; | |
top: 60px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
} | |
#section4 { | |
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); | |
} | |
#section5 { | |
height: 100%; | |
box-sizing: border-box; | |
background-color: rgb(221, 221, 221); | |
} | |
</style> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button> | |
<div id="div" flex>Toolbar</div> | |
</core-toolbar> | |
<core-drawer-panel id="core_drawer_panel"> | |
<section id="section" drawer></section> | |
<section id="section1" main> | |
<core-drawer-panel id="core_drawer_panel1"> | |
<section id="section2" drawer></section> | |
<section id="section3" main></section> | |
</core-drawer-panel> | |
</section> | |
</core-drawer-panel> | |
<core-drawer-panel id="core_drawer_panel2"> | |
<section id="section4" drawer> | |
<core-menu selected="0" selectedindex="0" id="core_menu"> | |
<core-submenu active label="Topics" icon="tree" id="core_submenu"> | |
<core-item label="Topic 1" id="core_item" layout center horizontal></core-item> | |
<core-item label="Topic 2" id="core_item1" layout center horizontal></core-item> | |
</core-submenu> | |
<core-submenu label="Favorites" icon="settings" id="core_submenu1"> | |
<core-item label="Favorite 1" id="core_item2" layout center horizontal></core-item> | |
<core-item label="Favorite 2" id="core_item3" layout center horizontal></core-item> | |
<core-item label="Favorite 3" id="core_item4" layout center horizontal></core-item> | |
</core-submenu> | |
</core-menu> | |
</section> | |
<section id="section5" main></section> | |
</core-drawer-panel> | |
</template> | |
<script> | |
Polymer('my-element', { | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment