Last active
August 29, 2015 14:08
-
-
Save evoxmusic/77cde6c11e32c0a044fb 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 rel="import" href="../core-ajax/core-ajax.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../core-pages/core-pages.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_menu { | |
font-size: 16px; | |
left: 1300px; | |
top: 530px; | |
position: absolute; | |
} | |
#ace_element { | |
width: 400px; | |
height: 300px; | |
left: 1250px; | |
top: 520px; | |
} | |
#google_map { | |
width: 400px; | |
height: 400px; | |
display: block; | |
left: 1240px; | |
top: 690px; | |
} | |
#core_menu1 { | |
font-size: 16px; | |
opacity: 0.8; | |
left: 10px; | |
top: 20px; | |
position: absolute; | |
} | |
#core_pages { | |
width: 400px; | |
height: 400px; | |
border: 1px solid silver; | |
left: 30px; | |
top: 170px; | |
position: absolute; | |
} | |
#section { | |
border: 10px; | |
left: 70px; | |
top: 170px; | |
position: absolute; | |
} | |
#core_ajax { | |
left: 860px; | |
top: 410px; | |
position: absolute; | |
} | |
#core_ajax1 { | |
left: 870px; | |
top: 410px; | |
position: absolute; | |
} | |
#core_ajax2 { | |
left: 940px; | |
top: 480px; | |
position: absolute; | |
} | |
#core_ajax3 { | |
left: 810px; | |
top: 410px; | |
position: absolute; | |
} | |
#paper_tabs { | |
width: 480px; | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
background-color: rgb(0, 188, 212); | |
} | |
</style> | |
<core-ajax handleas="json" method="GET" id="core_ajax" hidden></core-ajax> | |
<core-ajax handleas="json" method="GET" id="core_ajax1" hidden></core-ajax> | |
<core-ajax handleas="json" method="GET" contenttype="application/json" id="core_ajax2" hidden></core-ajax> | |
<core-ajax url="http://api.dev.nousmotards.com/api/v1/account" handleas="json" params="Authorization: 3n20urh0djkk7bjf7vv32q0i5f8h2u1i" method="GET" contenttype="application/json" id="core_ajax3" hidden></core-ajax> | |
<core-menu selected="2" selectedindex="2" id="core_menu1" vertical layout start-justified one flex start> | |
<core-submenu 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_submenu2" icon="settings" label="Favorites"> | |
<core-item id="core_item5" label="Favorite 1" horizontal center layout></core-item> | |
<core-item id="core_item6" label="Favorite 2" horizontal center layout></core-item> | |
<core-item id="core_item7" label="Favorite 3" horizontal center layout></core-item> | |
</core-submenu> | |
<paper-tabs selected="1" selectedindex="1" id="paper_tabs" active> | |
<paper-tab id="paper_tab">ITEM ONE</paper-tab> | |
<paper-tab id="paper_tab1" active>ITEM TWO</paper-tab> | |
<paper-tab id="paper_tab2">ITEM THREE</paper-tab> | |
<paper-tab id="paper_tab3">ITEM FOUR</paper-tab> | |
<paper-tab id="paper_tab4">ITEM FIVE</paper-tab> | |
</paper-tabs> | |
</core-menu> | |
<section id="section" wrap>Page One</section> | |
<core-pages selected="0" selectedindex="0" notap id="core_pages"> | |
<section id="section1" active>Page Two</section> | |
</core-pages> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element><core-menu selected="0" selectedindex="0" id="core_menu"> | |
<core-submenu opened active 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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment