Skip to content

Instantly share code, notes, and snippets.

@jvelezpo
Created July 1, 2014 12:38
Show Gist options
  • Save jvelezpo/a839827323feeb9ae745 to your computer and use it in GitHub Desktop.
Save jvelezpo/a839827323feeb9ae745 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="../paper-button/paper-button.html">
<link rel="import" href="../paper-input/paper-input.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_animated_pages {
width: 100%;
overflow: hidden;
height: 100%;
background-color: rgb(255, 255, 255);
}
#section3 {
border: 5px solid rgb(204, 204, 204);
height: 99%;
left: -270px;
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(10, 3, 124);
}
#section4 {
height: 100%;
}
</style>
<section id="section3" layout vertical>
<paper-tabs noink selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab" active>La uno</paper-tab>
<paper-tab id="paper_tab1">La dos</paper-tab>
</paper-tabs>
<section id="section4" flex relative>
<core-animated-pages selected="{{ $.paper_tabs.selected }}" selectedindex="0" notap id="core_animated_pages">
<section id="section" center center-justified vertical layout active>
<paper-button label="Paper Button" id="paper_button"></paper-button>
</section>
<section id="section1" center center-justified vertical layout>
<paper-input label="User" floatinglabel inputvalue="sd" value="sd" id="paper_input"></paper-input>
<paper-input label="Password" floatinglabel type="password" inputvalue="wefwr" value="wefwr" id="paper_input1"></paper-input>
</section>
</core-animated-pages>
</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