Skip to content

Instantly share code, notes, and snippets.

@rafaelcorreiapoli
Last active August 29, 2015 14:24
Show Gist options
  • Save rafaelcorreiapoli/9ebc2b6e55c49e4b95d9 to your computer and use it in GitHub Desktop.
Save rafaelcorreiapoli/9ebc2b6e55c49e4b95d9 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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
background-image: url(http://covermyfb.com/media/covers/P6RyX5juHvRGTkwg.jpg);
background-size: 100% 100%;
}
#cover {
height: 100%;
}
#paper_tabs {
width: 100%;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 0px;
top: 0px;
position: absolute;
height: 100%;
opacity: 0;
background-color: rgb(0, 0, 0);
}
</style>
<div id="cover" layout vertical>
<div id="div" flex>branco</div>
<div id="div2" flex two>
<div id="div1" layout horizontal>
<div id="div6" flex three>a</div>
<div id="div5" flex four>b
</div>
<div id="div7" flex three>c</div>
</div>
</div>
<div id="div3" flex>nome</div>
<div id="div4" flex>
<paper-tabs selected="3" selectedindex="3" 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_tab2" inline flex center-center horizontal layout>ITEM THREE</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-tabs>
</div>
</div>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment