Created
August 7, 2014 08:26
-
-
Save ThomasAlexandre/99d40dad05786c559261 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="../components/polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#section { | |
width: 420px; | |
height: 630px; | |
border: 5px solid rgb(204, 204, 204); | |
left: 170px; | |
top: 120px; | |
position: absolute; | |
} | |
#paper_tabs { | |
background-color: rgb(0, 188, 212); | |
color: rgb(255, 255, 255); | |
box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.2); | |
} | |
#core_menu { | |
font-size: 16px; | |
left: 230px; | |
top: 220px; | |
position: absolute; | |
} | |
</style> | |
<section id="section" vertical layout> | |
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs"> | |
<paper-tab id="paper_tab" active> | |
<core-menu selected="0" selectedindex="0" id="core_menu"> | |
<core-submenu active label="Topics" icon="settings" valueattr="name" id="core_submenu"> | |
<core-item label="Topic 1" size="24" id="core_item" layout center horizontal></core-item> | |
<core-item label="Topic 2" size="24" id="core_item1" layout center horizontal></core-item> | |
</core-submenu> | |
<core-submenu label="Favorites" icon="settings" valueattr="name" id="core_submenu1"> | |
<core-item label="Favorite 1" size="24" id="core_item2" layout center horizontal></core-item> | |
<core-item label="Favorite 2" size="24" id="core_item3" layout center horizontal></core-item> | |
<core-item label="Favorite 3" size="24" id="core_item4" layout center horizontal></core-item> | |
</core-submenu> | |
</core-menu> | |
</paper-tab> | |
<paper-tab id="paper_tab1">ITEM TWO</paper-tab> | |
</paper-tabs> | |
<section id="section1" relative flex> | |
</section> | |
</section> | |
</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