Created
July 6, 2014 19:16
-
-
Save itsDineth/1e7fbe8f321d82dbf2d3 to your computer and use it in GitHub Desktop.
designer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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-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; | |
} | |
#core_animated_pages { | |
width: 420px; | |
height: 582px; | |
overflow: hidden; | |
left: 870px; | |
top: 360px; | |
position: absolute; | |
background-color: rgb(238, 238, 238); | |
} | |
#paper_tabs { | |
width: 480px; | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
left: 900px; | |
top: 160px; | |
position: absolute; | |
background-color: rgb(0, 188, 212); | |
} | |
</style> | |
<core-animated-pages transitions="hero-transition" selectedindex="0" notap id="core_animated_pages"> | |
<section id="section" layout horizontal center center-justified animate active> t1</section> | |
<section id="section1" animate> t2</section> | |
<section id="section2"> t3</section> | |
</core-animated-pages> | |
<paper-tabs selected="{{ $.core_animated_pages.selected }}" selectedindex="0" id="paper_tabs"> | |
<paper-tab id="paper_tab" active>ITEM ONE</paper-tab> | |
<paper-tab id="paper_tab1">ITEM TWO</paper-tab> | |
<paper-tab id="paper_tab2">ITEM THREE</paper-tab> | |
<paper-tab id="paper_tab3">ITEM FOUR</paper-tab> | |
<paper-tab id="paper_tab4">ITEM FIVE</paper-tab> | |
</paper-tabs> | |
</template> | |
<script> | |
Polymer('my-element', { | |
section: 0 | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment