Last active
August 29, 2015 14:05
-
-
Save jpfreire/fc053f850be4c126b674 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; | |
} | |
#core_scaffold { | |
position: absolute; | |
top: 60px; | |
right: 0px; | |
bottom: 0px; | |
left: 140px; | |
} | |
#core_header_panel { | |
background-color: rgb(255, 255, 255); | |
} | |
#core_toolbar { | |
background-color: rgb(79, 125, 201); | |
color: rgb(255, 255, 255); | |
} | |
#core_menu { | |
font-size: 16px; | |
} | |
#core_scroll_header_panel { | |
width: 380px; | |
height: 460px; | |
left: 250px; | |
top: 60px; | |
position: absolute; | |
} | |
#core_toolbar1 { | |
background-color: rgb(66, 133, 244); | |
color: rgb(241, 241, 241); | |
fill: #f1f1f1; | |
} | |
#section { | |
height: 5000px; | |
background-image: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
left: 300px; | |
top: 0px; | |
position: absolute; | |
} | |
#paper_tabs { | |
background-color: rgb(0, 188, 212); | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
} | |
#core_animated_pages { | |
width: 420px; | |
height: 582px; | |
overflow: hidden; | |
background-color: rgb(238, 238, 238); | |
} | |
</style> | |
<section id="section" layout vertical> | |
<paper-tabs noink nobar selected="0" 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-tabs> | |
<section id="section1" flex relative> | |
<core-animated-pages lastselected="1" transitions="slide-down" selected="{{ $.paper_tabs.selected }}" selectedindex="0" notap id="core_animated_pages"> | |
<section id="section2" layout horizontal center center-justified active> | |
</section> | |
<section id="section3"> | |
</section> | |
<section id="section4"> | |
</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