Skip to content

Instantly share code, notes, and snippets.

@dong77
Last active August 29, 2015 14:09
Show Gist options
  • Save dong77/7e267700ceb3aee7a2e9 to your computer and use it in GitHub Desktop.
Save dong77/7e267700ceb3aee7a2e9 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
color: black;
background-color: rgb(110, 37, 156);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_icon {
left: 898px;
top: 20px;
position: absolute;
}
#core_icon_button {
left: 858px;
top: 10px;
position: absolute;
}
#core_animated_pages {
width: 100%;
height: 100%;
overflow: hidden;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(120, 104, 238);
}
#section1 {
background-color: rgb(219, 121, 255);
}
</style>
<core-header-panel mode="waterfall" id="core_header_panel">
<core-toolbar id="core_toolbar" end>
<div id="div" flex>coinport</div>
<core-icon-button icon="account-circle" id="account" theme="core-light-theme"></core-icon-button>
<core-icon-button icon="verified-user" id="security" theme="core-light-theme"></core-icon-button>
</core-toolbar>
<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-header-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment