Skip to content

Instantly share code, notes, and snippets.

@g00fy-
Last active August 29, 2015 14:06
Show Gist options
  • Save g00fy-/d7e0f9a8c77b9052e57e to your computer and use it in GitHub Desktop.
Save g00fy-/d7e0f9a8c77b9052e57e 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-icon-button/core-icon-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 710px;
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, 188, 212);
}
#section1 {
left: 530px;
top: 260px;
position: absolute;
}
#paper_slider {
left: 1610px;
top: 710px;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
background-color: rgb(238, 238, 238);
}
#section2 {
left: 5px;
top: 7px;
}
#core_card {
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(255, 255, 255);
}
</style>
<section id="section1" flex relative>
</section>
<section id="section" layout vertical>
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs">
<paper-tab id="paper_tab">ITEM ONE</paper-tab>
<paper-tab id="paper_tab1" active>ITEM TWO</paper-tab>
<paper-tab id="paper_tab3">ITEM 3TWO</paper-tab>
</paper-tabs>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section3" active>
<section id="section2" layout horizontal center center-justified>
<core-card id="core_card" horizontal layout>
<core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme"></core-icon-button>
</core-card>
</section>
</section>
<section id="section4">
</section>
</core-animated-pages>
</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