Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sunilkumarc
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sunilkumarc/c86cdf80a8f5781c6953 to your computer and use it in GitHub Desktop.
Save sunilkumarc/c86cdf80a8f5781c6953 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#core_icon_button {
left: 360px;
top: 210px;
position: absolute;
}
#core_menu {
font-size: 16px;
left: 400px;
top: 190px;
position: absolute;
}
#paper_toast {
left: 960px;
top: 530px;
position: absolute;
}
#paper_toast1 {
left: 1160px;
top: 520px;
position: absolute;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 560px;
top: 160px;
position: absolute;
background-color: rgb(0, 188, 212);
}
#core_icon {
height: 720px;
width: 1270px;
left: -20px;
top: -30px;
position: absolute;
}
</style>
<core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme"></core-icon-button>
<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" label="Topic 1" horizontal center layout></core-item>
<core-item id="core_item1" label="Topic 2" horizontal center layout></core-item>
</core-submenu>
<core-submenu id="core_submenu1" icon="settings" label="Favorites">
<core-item id="core_item2" label="Favorite 1" horizontal center layout></core-item>
<core-item id="core_item3" label="Favorite 2" horizontal center layout></core-item>
<core-item id="core_item4" label="Favorite 3" horizontal center layout></core-item>
</core-submenu>
</core-menu>
<paper-toast text="Toast!" id="paper_toast" class="core-transition-bottom core-transition" touch-action="none"></paper-toast>
<paper-toast text="Toast!" id="paper_toast1" touch-action="none" class="core-transition-bottom core-transition"></paper-toast>
<paper-tabs selected="4" selectedindex="4" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab" inline flex center-center horizontal layout>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
<paper-tab id="paper_tab2" inline flex center-center horizontal layout>ITEM THREE</paper-tab>
<paper-tab id="paper_tab3" inline flex center-center horizontal layout>ITEM FOUR</paper-tab>
<paper-tab id="paper_tab4" inline flex center-center horizontal layout active>ITEM FIVE</paper-tab>
</paper-tabs>
<core-icon icon="category-images:food" id="core_icon" designmeta="topeka-image"></core-icon>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment