Skip to content

Instantly share code, notes, and snippets.

@sfrjrs
Created July 23, 2014 15:17
Show Gist options
  • Save sfrjrs/32cc6a42575d083d6416 to your computer and use it in GitHub Desktop.
Save sfrjrs/32cc6a42575d083d6416 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">
<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-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.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="../core-header-panel/core-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
opacity: 1;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 420px;
top: 30px;
position: absolute;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 128, 0);
}
#paper_tab2 {
width: 120px;
height: 48px;
}
#paper_tab3 {
width: 120px;
height: 48px;
}
#paper_tab4 {
width: 120px;
height: 48px;
}
#paper_tab5 {
width: 120px;
height: 48px;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
background-color: rgb(238, 238, 238);
}
#core_header_panel {
width: 300px;
height: 400px;
left: 870px;
top: 170px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section5 {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
</style>
<section id="section" layout vertical>
<paper-tabs noink nobar selected="3" selectedindex="3" id="paper_tabs">
<paper-tab id="paper_tab2">Home</paper-tab>
<paper-tab id="paper_tab3">About</paper-tab>
<paper-tab id="paper_tab4">Refinance</paper-tab>
<paper-tab id="paper_tab5" active>Buying</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
<paper-tab id="paper_tab">ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
<section id="section2" layout horizontal center center-justified>
</section>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section3" active>
<paper-item label="Item" icon="settings" id="paper_item" center horizontal layout reverse></paper-item>
</section>
<section id="section4">
</section>
</core-animated-pages>
</section>
</section>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div">Header</div>
</core-toolbar>
<section id="section5"></section>
</core-header-panel>
</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