Skip to content

Instantly share code, notes, and snippets.

@oscarmcm
Last active August 29, 2015 14:06
Show Gist options
  • Save oscarmcm/8e9a6cb33258d6e95e58 to your computer and use it in GitHub Desktop.
Save oscarmcm/8e9a6cb33258d6e95e58 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-calculator/paper-calculator.html">
<link rel="import" href="../core-ajax/core-ajax.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-drawer-panel/core-drawer-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 540px;
top: 110px;
position: absolute;
}
#div2 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_calculator {
width: 400px;
height: 560px;
}
#core_ajax1 {
left: 1140px;
top: 520px;
position: absolute;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 1040px;
top: 190px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#core_drawer_panel {
position: absolute;
top: 70px;
right: 0px;
bottom: 0px;
left: 290px;
}
#section4 {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(250, 250, 250);
}
#section5 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
</style>
<section id="section" layout vertical>
<div id="div1" hero class="dummy"></div>
<div id="div2" class="fab fab-0">
</div>
<paper-calculator responsivewidth="2000px" id="paper_calculator"></paper-calculator>
<core-ajax handleas="json" method="GET" id="core_ajax" hidden></core-ajax>
</section>
<core-ajax handleas="json" method="GET" id="core_ajax1" hidden></core-ajax>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section1" layout horizontal center center-justified active>
</section>
<section id="section2">
</section>
<section id="section3">
</section>
</core-animated-pages>
<core-drawer-panel transition id="core_drawer_panel" touch-action>
<section id="section4" drawer></section>
<section id="section5" main></section>
</core-drawer-panel>
</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