Created
March 13, 2015 22:02
-
-
Save toby1kenobi/4da7cc97ee36af2a5e3e 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="../google-map/google-map.html" rel="import"> | |
<link href="../core-menu/core-submenu.html" rel="import"> | |
<link href="../core-item/core-item.html" rel="import"> | |
<link href="../core-field/core-field.html" rel="import"> | |
<link href="../core-icon/core-icon.html" rel="import"> | |
<link href="../core-input/core-input.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#google_map { | |
width: 400px; | |
height: 400px; | |
display: block; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#core_card { | |
position: absolute; | |
width: 380px; | |
height: 50px; | |
background-color: rgb(255, 255, 255); | |
border-radius: 2px; | |
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.098), 0px 0px 3px rgba(0, 0, 0, 0.098); | |
left: 10px; | |
top: 10px; | |
} | |
#core_field { | |
left: 720px; | |
top: 60px; | |
position: absolute; | |
} | |
#core_menu_button { | |
left: 1390px; | |
top: 610px; | |
} | |
#core_menu { | |
font-size: 16px; | |
} | |
</style> | |
<google-map id="google_map"></google-map> | |
<core-card id="core_card" vertical layout> | |
<core-menu selected="0" selectedindex="0" id="core_menu"> | |
<core-submenu opened active id="core_submenu" label="Topics" icon="settings"> | |
<core-item id="core_item" label="Topic 1" layout center horizontal></core-item> | |
<core-item id="core_item1" label="Topic 2" layout center horizontal></core-item> | |
</core-submenu> | |
<core-submenu id="core_submenu1" label="Favorites" icon="settings"> | |
<core-item id="core_item2" label="Favorite 1" layout center horizontal></core-item> | |
<core-item id="core_item3" label="Favorite 2" layout center horizontal></core-item> | |
<core-item id="core_item4" label="Favorite 3" layout center horizontal></core-item> | |
</core-submenu> | |
</core-menu> | |
</core-card> | |
<core-field id="core_field" theme="core-light-theme" icon="search" layout horizontal center> | |
<core-input id="core_input" flex></core-input> | |
</core-field> | |
<core-menu selected="0" selectedindex="0" id="core_menu"> | |
<core-submenu opened active id="core_submenu" label="Topics" icon="settings"> | |
<core-item id="core_item" label="Topic 1" layout center horizontal></core-item> | |
<core-item id="core_item1" label="Topic 2" layout center horizontal></core-item> | |
</core-submenu> | |
<core-submenu id="core_submenu1" label="Favorites" icon="settings"> | |
<core-item id="core_item2" label="Favorite 1" layout center horizontal></core-item> | |
<core-item id="core_item3" label="Favorite 2" layout center horizontal></core-item> | |
<core-item id="core_item4" label="Favorite 3" layout center horizontal></core-item> | |
</core-submenu> | |
</core-menu> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment