Skip to content

Instantly share code, notes, and snippets.

@Limeth
Created October 20, 2014 20:09
Show Gist options
  • Save Limeth/a4595ca82ab57f35fc6c to your computer and use it in GitHub Desktop.
Save Limeth/a4595ca82ab57f35fc6c to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-ripple/paper-ripple.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-categories.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: 1600px;
top: 570px;
}
#speech_mic {
left: 1690px;
top: 660px;
}
#smoothie_chart {
left: 1710px;
top: 640px;
}
#notification_alert {
left: 1680px;
top: 600px;
}
#google_map_search {
left: 1690px;
top: 620px;
}
#core_field {
left: 1710px;
top: 590px;
}
#paper_button {
left: 530px;
top: 510px;
position: absolute;
}
#paper_toast {
left: 640px;
top: 720px;
position: absolute;
}
#paper_tab {
width: 250px;
height: 110px;
left: 700px;
top: 260px;
position: absolute;
}
#paper_ripple {
width: 300px;
height: 300px;
left: 1030px;
top: 230px;
position: absolute;
}
#topeka_app1 {
width: 300px;
height: 300px;
min-height: 450px;
left: 1680px;
top: 690px;
}
#core_icon {
height: 64px;
width: 64px;
left: 710px;
top: 430px;
position: absolute;
}
#core_selector {
left: 710px;
top: 500px;
position: absolute;
width: 300px;
height: 130px;
}
#core_icon1 {
height: 64px;
width: 64px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
}
#core_icon2 {
height: 64px;
width: 64px;
margin: 0px 8px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
}
#core_icon3 {
height: 64px;
width: 64px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
}
#topeka_categories {
width: 300px;
height: 300px;
left: 1050px;
top: 480px;
position: absolute;
}
</style>
<paper-toast text="Toast!" id="paper_toast" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<paper-tab id="paper_tab">TAB</paper-tab>
<paper-ripple id="paper_ripple"></paper-ripple>
<core-icon icon="avatars:avatar-1" id="core_icon" designmeta="topeka-avatar"></core-icon>
<core-selector selected="2" selectedindex="2" id="core_selector" flex layout horizontal>
<core-icon icon="avatars:avatar-1" id="core_icon1" designmeta="topeka-avatar"></core-icon>
<core-icon icon="avatars:avatar-2" id="core_icon2" designmeta="topeka-avatar"></core-icon>
<core-icon icon="avatars:avatar-3" id="core_icon3" designmeta="topeka-avatar" active></core-icon>
</core-selector>
<topeka-categories id="topeka_categories" vertical layout></topeka-categories>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment