Skip to content

Instantly share code, notes, and snippets.

@cameronbaney
Created July 14, 2014 20:09
Show Gist options
  • Save cameronbaney/f9d8a43d04b94304b2b9 to your computer and use it in GitHub Desktop.
Save cameronbaney/f9d8a43d04b94304b2b9 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="../core-icon-button/core-icon-button.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_animated_pages {
width: 860px;
height: 720px;
overflow: hidden;
left: 180px;
top: 20px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#core_selector {
width: 100%;
height: 50px;
left: 1900px;
top: 890px;
}
#section {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
</style>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section1" active>
</section>
<section id="section2">
</section>
</core-animated-pages>
<section id="section" center end-justified wrap one flex>
<core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme"></core-icon-button>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
</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