Last active
August 29, 2015 14:20
-
-
Save Taiiwo/de388b5f895fb082a658 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 href="../core-icon-button/core-icon-button.html" rel="import"> | |
<link href="../core-toolbar/core-toolbar.html" rel="import"> | |
<link href="../core-icons/core-icons.html" rel="import"> | |
<link href="../paper-icon-button/paper-icon-button.html" rel="import"> | |
<link href="../paper-tabs/paper-tabs.html" rel="import"> | |
<link href="../paper-tabs/paper-tab.html" rel="import"> | |
<link href="../core-pages/core-pages.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_toolbar { | |
right: 0px; | |
background-color: rgb(210, 91, 91); | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#paper_tabs { | |
width: 100%; | |
background-color: rgb(255, 128, 128); | |
color: rgb(255, 255, 255); | |
box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.2); | |
left: 0px; | |
top: 60px; | |
position: absolute; | |
height: 80px; | |
} | |
#core_pages { | |
width: 100%; | |
height: calc(100% - 115px); | |
border: 1px solid silver; | |
left: 0px; | |
top: 128px; | |
position: absolute; | |
} | |
</style> | |
<core-toolbar class="medium-tall"> | |
<paper-icon-button icon="menu"></paper-icon-button> | |
<div flex>Title</div> | |
<paper-icon-button icon="search"></paper-icon-button> | |
<paper-icon-button icon="more-vert"></paper-icon-button> | |
<div layout horizontal class="bottom fit"> | |
<paper-tabs selected="0" selectedindex="0" id="tabs" {{selected}}"" flex layout center horizontal> | |
<paper-tab id="paper_tab2" layout horizontal center-center flex inline active>ITEM ONE</paper-tab> | |
<paper-tab id="paper_tab" layout horizontal center-center flex inline>ITEM TWO</paper-tab> | |
<paper-tab id="paper_tab1" layout horizontal center-center flex inline>ITEM THREE</paper-tab> | |
</paper-tabs> | |
</div> | |
</core-toolbar> | |
<core-pages selected="{{ $.tabs.selected }}" selectedindex="0" notap id="core_pages"> | |
<section id="section" active>Page One</section> | |
<section id="section1">Page Two</section> | |
</core-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