Last active
August 29, 2015 14:21
-
-
Save ShockiTV/03ecbfa8be4c3df18674 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="../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"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#section { | |
width: 420px; | |
height: 630px; | |
border: 5px solid rgb(204, 204, 204); | |
left: 290px; | |
top: 80px; | |
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); | |
} | |
#core_animated_pages { | |
width: 100%; | |
height: 100%; | |
overflow: hidden; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
background-color: rgb(238, 238, 238); | |
} | |
#core_card { | |
width: 300px; | |
height: 400px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
padding: 50px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_card1 { | |
position: absolute; | |
width: 300px; | |
height: 200px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 35px; | |
top: 37px; | |
padding: 15px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_card2 { | |
position: absolute; | |
width: 300px; | |
height: 250px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 45px; | |
top: 277px; | |
padding: 15px; | |
background-color: rgb(255, 255, 255); | |
} | |
</style> | |
<section id="section" layout vertical> | |
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs" horizontal center layout> | |
<paper-tab id="paper_tab" inline flex center-center horizontal layout>Chat</paper-tab> | |
<paper-tab id="paper_tab1" inline flex center-center horizontal layout active>Search</paper-tab> | |
<paper-tab id="paper_tab2" inline flex center-center horizontal layout>Social</paper-tab> | |
</paper-tabs> | |
<section id="section1" flex relative> | |
<core-animated-pages transitions="slide-up slide-down cross-fade" selected="{{ $.paper_tabs.selected }}" lastselected="0" selectedindex="1" notap id="core_animated_pages"> | |
<section id="section2" layout horizontal center center-justified> | |
<core-card id="core_card" layout vertical center-justified center slide-up cross-fade>tadddda hero goes chat</core-card> | |
</section> | |
<section id="section3" active> | |
<core-card id="core_card1" layout vertical slide-down cross-fade>Search fields</core-card> | |
<core-card id="core_card2" layout vertical slide-up cross-fade>streams</core-card> | |
</section> | |
<section id="section4"> | |
</section> | |
</core-animated-pages> | |
</section> | |
</section> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment