Skip to content

Instantly share code, notes, and snippets.

@leoj3n
Created July 12, 2014 06:39
Show Gist options
  • Save leoj3n/f3c275fb1dec0d7b8810 to your computer and use it in GitHub Desktop.
Save leoj3n/f3c275fb1dec0d7b8810 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="../core-icons/iconsets/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../paper-ripple/paper-ripple.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#core_card {
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;
background-color: rgb(255, 255, 255);
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 220px;
top: -10px;
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);
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
background-color: rgb(238, 238, 238);
}
#core_icon {
height: 24px;
width: 24px;
}
</style>
<section id="section" layout vertical>
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
<core-animated-pages selected="{{ $.paper_tabs.selected }}" selectedindex="0" notap id="core_animated_pages">
<section id="section2" layout horizontal center center-justified active>
<core-card id="core_card" layout vertical>
<div id="div" layout horizontal>
<paper-fab icon="check" id="paper_fab"></paper-fab>
</div>
<paper-fab icon="av:play-arrow" id="paper_fab1"></paper-fab>
<core-icon icon="search" id="core_icon"></core-icon>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<paper-input label="Type something..." id="paper_input"></paper-input>
<paper-item label="Item" icon="settings" id="paper_item" center horizontal layout></paper-item>
</core-card>
</section>
<section id="section3">
<paper-ripple id="paper_ripple" fit></paper-ripple>
</section>
<section id="section4">
</section>
</core-animated-pages>
</section>
</section>
</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