Skip to content

Instantly share code, notes, and snippets.

@ilan-schemoul
Last active August 29, 2015 14:10
Show Gist options
  • Save ilan-schemoul/31212eabd3ddae03db35 to your computer and use it in GitHub Desktop.
Save ilan-schemoul/31212eabd3ddae03db35 to your computer and use it in GitHub Desktop.
designer
<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="../core-header-panel/core-header-panel.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;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#section1 {
width: 100%;
height: 100%;
position: absolute;
top: 0px;
left: 0px;
}
#core_header_panel {
width: 100%;
height: 100%;
position: absolute;
top: 0px;
left: 0px;
}
#core_toolbar {
color: rgb(255, 255, 255);
opacity: 1;
background-color: transparent;
}
#paper_tabs {
width: 102%;
color: rgb(244, 67, 54);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: -18px;
top: 0px;
position: absolute;
height: 100%;
background-color: transparent;
}
.pink paper-tab::shadow #ink {
color: rgb(0, 0, 0);
}
</style>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section" layout horizontal center center-justified active>
<section id="section1" layout vertical>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<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_tab2" inline flex center-center horizontal layout active>ITEM THREE</paper-tab>
<paper-tab id="paper_tab3" inline flex center-center horizontal layout>ITEM FOUR</paper-tab>
<paper-tab id="paper_tab4" inline flex center-center horizontal layout>ITEM FIVE</paper-tab>
</paper-tabs>
</core-toolbar>
</core-header-panel>
</section>
</section>
</core-animated-pages>
</template>
<script>
Polymer({
blue: false
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment