Skip to content

Instantly share code, notes, and snippets.

@tobiaslins
Created July 13, 2014 10:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobiaslins/6475e567378bd8ed6ed1 to your computer and use it in GitHub Desktop.
Save tobiaslins/6475e567378bd8ed6ed1 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="../paper-button/paper-button.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.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_card {
position: absolute;
width: 300px;
height: 300px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 20px;
top: 10px;
background-color: rgb(255, 255, 255);
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 360px;
top: 30px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#paper_tabs {
width: 100%;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
position: absolute;
left: 0px;
top: 0px;
background-color: rgb(0, 188, 212);
}
</style>
<core-card id="core_card" layout vertical></core-card>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section" layout horizontal center center-justified active>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<paper-item label="Item" icon="settings" id="paper_item" center horizontal layout></paper-item>
<paper-tabs selected="2" selectedindex="2" id="paper_tabs" horizontal layout center>
<paper-tab id="paper_tab">ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
<paper-tab id="paper_tab2" active>ITEM THREE</paper-tab>
<paper-tab id="paper_tab3">ITEM FOUR</paper-tab>
<paper-tab id="paper_tab4">ITEM FIVE</paper-tab>
</paper-tabs>
</section>
<section id="section1">
</section>
<section id="section2">
</section>
</core-animated-pages>
</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