Skip to content

Instantly share code, notes, and snippets.

@saki007ster
Last active August 29, 2015 14:23
Show Gist options
  • Select an option

  • Save saki007ster/180572edc3de52ea6ae0 to your computer and use it in GitHub Desktop.

Select an option

Save saki007ster/180572edc3de52ea6ae0 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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
width: 100%;
height: 100%;
border: 5px solid rgb(204, 204, 204);
left: 0px;
top: 0px;
position: absolute;
}
#paper_tabs1 {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
#core_animated_pages {
width: 100%;
height: 100%;
overflow: hidden;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(238, 238, 238);
}
</style>
<section id="section" layout vertical>
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs1" horizontal center layout>
<paper-tab id="paper_tab6" inline flex center-center horizontal layout>ITEM ONE</paper-tab>
<paper-tab id="paper_tab7" inline flex center-center horizontal layout active>ITEM TWO</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section2" layout horizontal center center-justified active>{{ $.core_animated_pages.www.drupal.org }}</section>
<section id="section3">
</section>
<section id="section4">
</section>
</core-animated-pages>
</section>
</section>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment