Skip to content

Instantly share code, notes, and snippets.

@bencao
Created March 12, 2015 15:19
Show Gist options
  • Save bencao/819417bf88e27e0aa92a to your computer and use it in GitHub Desktop.
Save bencao/819417bf88e27e0aa92a to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../paper-radio-button/paper-radio-button.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../topeka-elements/avatars.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../cool-clock/cool-clock.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_radio_button {
left: 190px;
top: 110px;
position: absolute;
}
#paper_toast {
left: 830px;
top: 200px;
position: absolute;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 120px;
top: 0px;
position: absolute;
background-color: rgb(0, 188, 212);
}
#paper_tab2 {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#paper_fab {
left: 240px;
top: 230px;
position: absolute;
}
#core_icon {
height: 64px;
width: 64px;
left: 120px;
top: 160px;
position: absolute;
}
#topeka_app {
width: 300px;
height: 300px;
min-height: 450px;
left: 300px;
top: 100px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 600px;
top: 100px;
position: absolute;
}
#cool_clock {
width: 400px;
height: 300px;
left: 600px;
top: 510px;
position: absolute;
}
</style>
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom" touch-action="none"></paper-toast>
<paper-radio-button label="Radio Button" id="paper_radio_button"></paper-radio-button>
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
<core-icon icon="avatars:avatar-1" id="core_icon" designmeta="topeka-avatar"></core-icon>
<topeka-app selected="profile" disableleaderboard id="topeka_app" vertical layout></topeka-app>
<google-map latitude="37.473640907951214" longitude="-122.320543046875" id="google_map"></google-map>
<cool-clock id="cool_clock"></cool-clock>
</template>
<script>
Polymer({
});
</script>
</polymer-element><paper-tabs selected="1" selectedindex="1" 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_tab2" inline flex center-center horizontal layout active>ITEM THREE</paper-tab>
<paper-tab id="paper_tab4" inline flex center-center horizontal layout>ITEM FIVE</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
</paper-tabs>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment