Skip to content

Instantly share code, notes, and snippets.

@AuroraNemoia
Created August 21, 2014 01:32
Show Gist options
  • Save AuroraNemoia/534b34db1611d5cdef4a to your computer and use it in GitHub Desktop.
Save AuroraNemoia/534b34db1611d5cdef4a 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="../core-toolbar/core-toolbar.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 480px;
height: 800px;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#core_animated_pages {
width: 480px;
height: 800px;
overflow: hidden;
background-color: rgb(255, 255, 255);
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
right: 0px;
background-color: rgb(251, 79, 4);
color: rgb(255, 255, 255);
fill: #ffffff;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: auto;
}
#section {
background-color: rgb(219, 219, 219);
}
#core_card1 {
width: 300px;
height: 300px;
background-color: rgb(255, 255, 255);
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;
position: absolute;
}
</style>
<core-animated-pages id="core_animated_pages" notap vertical layout>
<section id="section" layout horizontal center center-justified active>
<core-toolbar id="core_toolbar">
<core-icon-button id="core_icon_button" icon="menu"></core-icon-button>
<div id="div" flex>Toolbar</div>
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
</core-toolbar>
<core-card id="core_card" layout vertical></core-card>
</section>
<section id="section1">
</section>
<section id="section2">
</section>
</core-animated-pages>
<div id="div1" layout horizontal>
</div>
</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