Skip to content

Instantly share code, notes, and snippets.

@AlexChittock
Created March 16, 2015 15:18
Show Gist options
  • Save AlexChittock/d02421b23efb380cc9a5 to your computer and use it in GitHub Desktop.
Save AlexChittock/d02421b23efb380cc9a5 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../google-map/google-map-search.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#chart_js {
width: 300px;
height: 200px;
left: 350px;
top: 190px;
position: absolute;
}
#google_map_search {
left: 270px;
top: 170px;
position: absolute;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 280px;
top: 80px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#core_menu {
font-size: 16px;
}
#core_drawer_panel {
position: absolute;
top: 580px;
right: 0px;
bottom: 0px;
left: 1060px;
}
#core_card {
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(255, 255, 255);
}
</style>
<chart-js id="chart_js"></chart-js>
<google-map-search id="google_map_search"></google-map-search>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section" layout horizontal center center-justified active>
<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>
<core-card id="core_card" layout vertical></core-card>
</section>
<section id="section1">
</section>
<section id="section2">
</section>
</core-animated-pages>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment