Last active
August 29, 2015 14:13
-
-
Save ilan-schemoul/23ed979bf80aa1467e92 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="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.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: 100%; | |
height: 100%; | |
overflow: hidden; | |
position: absolute; | |
left: 0px; | |
top: 0px; | |
} | |
#core_toolbar { | |
right: 0px; | |
left: 0px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
top: 0px; | |
position: absolute; | |
background-color: rgb(79, 125, 201); | |
} | |
#paper_tabs { | |
width: 100%; | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
left: -8px; | |
top: 0px; | |
position: absolute; | |
height: 100%; | |
background-color: rgb(244, 67, 54); | |
} | |
.card { | |
margin:auto; | |
margin-top:5px; | |
background-color:#FFFFFF; | |
border-radius:2px; | |
color:#000000; | |
border:1px solid #d8d8d8; | |
padding:10px; | |
text-align:left; | |
font-size:10pt; | |
position:relative; | |
} | |
</style> | |
<core-animated-pages selectedindex="0" notap id="core_animated_pages"> | |
<core-toolbar id="core_toolbar" active> | |
<paper-tabs selected="2" selectedindex="2" id="paper_tabs" horizontal center layout> | |
<paper-tab id="paper_tab" inline flex center-center horizontal layout>ITEM ONE</paper-tab> | |
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>ITEM TWO</paper-tab> | |
<paper-tab id="paper_tab3" inline flex center-center horizontal layout active>ITEM FOUR</paper-tab> | |
<paper-tab id="paper_tab4" inline flex center-center horizontal layout>ITEM FIVE</paper-tab> | |
<paper-tab id="paper_tab2" inline flex center-center horizontal layout>ITEM THREE</paper-tab> | |
</paper-tabs> | |
</core-toolbar> | |
<paper-shadow z="1" class="card"> | |
// card content | |
</paper-shadow> </core-animated-pages> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment