Skip to content

Instantly share code, notes, and snippets.

@msurguy
Created July 24, 2014 23:09
Show Gist options
  • Save msurguy/b47ab5278c7d369903fd to your computer and use it in GitHub Desktop.
Save msurguy/b47ab5278c7d369903fd to your computer and use it in GitHub Desktop.
designer
<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="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-radio-button/paper-radio-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 30px;
top: 20px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#section3 {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 460px;
top: 20px;
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_tab {
left: 440px;
top: 210px;
position: absolute;
}
#paper_radio_button {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
</style>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section" layout horizontal center center-justified active>
</section>
<section id="section1">
</section>
<section id="section2">
</section>
</core-animated-pages>
<paper-tab id="paper_tab">ITEM ONE</paper-tab>
<section id="section3" layout vertical>
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab1" active>ITEM TWO</paper-tab>
</paper-tabs>
<section id="section4" flex relative>
<paper-radio-button label="Radio Button" id="paper_radio_button"></paper-radio-button>
</section>
</section>
</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