Created
July 24, 2014 08:20
-
-
Save Jpsy/f76e4108ac6dda8d72a1 to your computer and use it in GitHub Desktop.
designer
This file contains hidden or 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 rel="import" href="../google-map/google-map.html"> | |
<link rel="import" href="../core-menu/core-submenu.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="../paper-button/paper-button.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../paper-icon-button/paper-icon-button.html"> | |
<link rel="import" href="../paper-ripple/paper-ripple.html"> | |
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#google_map { | |
width: 400px; | |
height: 400px; | |
display: block; | |
left: 250px; | |
top: 180px; | |
position: absolute; | |
} | |
#core_menu { | |
font-size: 16px; | |
left: 60px; | |
top: 40px; | |
position: absolute; | |
} | |
#core_icon_button { | |
left: 220px; | |
top: 640px; | |
position: absolute; | |
} | |
#paper_button { | |
left: 400px; | |
top: 740px; | |
position: absolute; | |
} | |
#paper_icon_button { | |
left: 360px; | |
top: 660px; | |
position: absolute; | |
} | |
#paper_ripple { | |
width: 300px; | |
height: 300px; | |
left: 80px; | |
top: 710px; | |
position: absolute; | |
} | |
#core_drawer_panel { | |
position: absolute; | |
top: 210px; | |
right: 0px; | |
bottom: 0px; | |
left: 790px; | |
} | |
#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); | |
} | |
</style> | |
<google-map latitude="49.2" longitude="7" zoom="11" id="google_map"></google-map> | |
<core-menu selected="1" selectedindex="1" id="core_menu"> | |
<core-submenu label="Topics" icon="settings" valueattr="name" id="core_submenu"> | |
<core-item label="Topic 1" size="24" id="core_item" horizontal center layout></core-item> | |
<core-item label="Topic 2" size="24" id="core_item1" horizontal center layout></core-item> | |
</core-submenu> | |
<core-submenu active label="Favorites" icon="settings" valueattr="name" id="core_submenu1"> | |
<core-item label="Favorite 1" size="24" id="core_item2" horizontal center layout></core-item> | |
<core-item label="Favorite 2" size="24" id="core_item3" horizontal center layout></core-item> | |
<core-item label="Favorite 3" size="24" id="core_item4" horizontal center layout></core-item> | |
</core-submenu> | |
</core-menu> | |
<core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme"></core-icon-button> | |
<paper-button label="Paper Button" id="paper_button"></paper-button> | |
<paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-button> | |
<paper-ripple id="paper_ripple" horizontal layout start-justified></paper-ripple> | |
<core-drawer-panel id="core_drawer_panel"> | |
<section id="section1" main> | |
<section id="section" drawer horizontal layout start-justified></section> | |
</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