Created
June 25, 2014 18:05
-
-
Save depeele/3f3bb3b02151a1a09014 to your computer and use it in GitHub Desktop.
designer
This file contains 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-pages/core-pages.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; | |
background-color: rgb(255, 255, 255); | |
} | |
#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: relative; | |
background-color: rgb(0, 101, 213); | |
} | |
#core_pages { | |
width: 100%; | |
height: 100%; | |
border: 1px solid silver; | |
left: 0px; | |
top: 0px; | |
position: relative; | |
} | |
</style> | |
<core-pages selected="{{ $.paper_tabs.selected }}" valueattr="id" selectedindex="0" notap id="panes"> | |
<section id="home" active>{{ $.paper_tabs.selected }}</section> | |
<section id="accounts">{{ $.paper_tabs.selected }}</section> | |
<section id="transactions">{{ $.paper_tabs.selected }}</section> | |
<section id="envelopes">{{ $.paper_tabs.selected }}</section> | |
</core-pages> | |
<paper-tabs selected="home" valueattr="label" selectedindex="0" id="paper_tabs"> | |
<paper-tab id="paper_home" label="home" active>home</paper-tab> | |
<paper-tab id="paper_accounts" label="accounts">accounts</paper-tab> | |
<paper-tab id="paper_transactions" label="transactions">transactions</paper-tab> | |
<paper-tab id="paper_envelopes" label="envelopes">envelopes</paper-tab> | |
</paper-tabs> | |
</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