Created
August 27, 2014 23:30
-
-
Save kevinpschaaf/a32fc593385e81991afd 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-menu/core-submenu.html" rel="import"> | |
<link href="../core-item/core-item.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
width: 100%; | |
height: 100%; | |
position: absolute; | |
box-sizing: border-box; | |
} | |
#core_card { | |
border-radius: 2px; | |
left: 40px; | |
top: 80px; | |
width: 300px; | |
height: 300px; | |
position: absolute; | |
box-shadow: 0px 2px 4px rgba(0,0,0,0.098), 0px 0px 3px rgba(0,0,0,0.098); | |
background-color: rgb(18, 52, 86); | |
} | |
#core_menu { | |
left: 440px; | |
top: 80px; | |
position: absolute; | |
} | |
</style> | |
<core-card id="core_card" layout vertical></core-card> | |
<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" layout center horizontal label="Topic 1"></core-item> | |
<core-item id="core_item1" layout center horizontal label="Topic 2"></core-item> | |
</core-submenu> | |
<core-submenu id="core_submenu1" icon="settings" label="Favorites"> | |
<core-item id="core_item2" layout center horizontal label="Favorite 1"></core-item> | |
<core-item id="core_item3" layout center horizontal label="Favorite 2"></core-item> | |
<core-item id="core_item4" layout center horizontal label="Favorite 3"></core-item> | |
</core-submenu> | |
</core-menu> | |
</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