Skip to content

Instantly share code, notes, and snippets.

@jparish3
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jparish3/4c9138f17b7c8d6441c5 to your computer and use it in GitHub Desktop.
Save jparish3/4c9138f17b7c8d6441c5 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.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="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../topeka-elements/category-icons.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
background-color: rgb(178, 223, 219);
}
#section {
left: 650px;
top: 440px;
position: absolute;
background-color: rgb(0, 253, 255);
}
#section1 {
width: 100%;
height: 100%;
border: 5px solid rgb(204, 204, 204);
left: 0px;
top: 0px;
position: absolute;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
#paper_tabs1 {
width: 480px;
color: rgb(0, 188, 212);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 1030px;
top: 560px;
background-color: rgb(0, 188, 212);
}
#core_animated_pages {
width: 100%;
height: 100%;
overflow: hidden;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(0, 253, 255);
}
#core_icon {
height: 100%;
width: 100%;
position: static;
}
#topeka_category {
width: 300px;
height: 300px;
left: 1300px;
top: 570px;
}
#topeka_app {
width: 300px;
height: 300px;
min-height: 450px;
left: 1130px;
top: 460px;
}
#core_selector {
left: 1170px;
top: 560px;
}
#topeka_categories {
width: 300px;
height: 300px;
left: 1160px;
top: 520px;
}
#core_icon1 {
height: 100%;
width: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_icon2 {
height: 100%;
width: 100%;
left: 0px;
top: 0px;
position: absolute;
}
</style>
<section id="section"></section>
<section id="section1" layout vertical>
<paper-tabs noink nobar selected="{{ page }}" valueattr="page" selectedindex="0" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab" inline flex center-center horizontal layout page="one" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout page="two">ITEM TWO</paper-tab>
<paper-tab id="paper_tab2" inline flex center-center horizontal layoutpage="three" layout>ITEM THREE</paper-tab>
</paper-tabs>
<section id="section2" flex relative>
<core-animated-pages selected="{{ page }}" lastselected="2" valueattr="page" selectedindex="0" notap id="core_animated_pages">
<section id="section3" page="one" layout horizontal center center-justified active>
<core-icon icon="category-images:knowledge" id="core_icon" designmeta="topeka-image"></core-icon>
</section>
<section id="section4" page="two">
<core-icon icon="category-icons:history" id="core_icon1" designmeta="topeka-icon"></core-icon>
</section>
<section id="section5" page="three">
<core-icon icon="category-icons:food" id="core_icon2" designmeta="topeka-icon"></core-icon>
</section>
</core-animated-pages>
</section>
</section>
</template>
<script>
Polymer({
page: 'one'
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment