Skip to content

Instantly share code, notes, and snippets.

@Bostwickenator
Last active August 29, 2015 14:05
Show Gist options
  • Save Bostwickenator/58a054f8e5114e3c8407 to your computer and use it in GitHub Desktop.
Save Bostwickenator/58a054f8e5114e3c8407 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../topeka-elements/avatars.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../cool-clock/cool-clock.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#cool_clock {
width: 200px;
height: 300px;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 300px;
top: 150px;
position: absolute;
}
#core_icon {
height: 64px;
width: 64px;
}
#core_icon1 {
height: 64px;
width: 64px;
left: 1730px;
top: 700px;
}
#core_menu {
font-size: 16px;
left: -10px;
top: -10px;
position: absolute;
width: 100%;
}
#core_card {
position: absolute;
width: 300px;
height: 300px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 770px;
top: 200px;
background-color: rgb(255, 255, 255);
}
</style>
<google-map id="google_map"></google-map>
<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>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<core-icon icon="avatars:avatar-1" id="core_icon" designmeta="topeka-avatar"></core-icon>
<cool-clock skin="watermelon" id="cool_clock"></cool-clock>
</core-card>
</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