Skip to content

Instantly share code, notes, and snippets.

@henalbrod
Last active August 29, 2015 14:12
Show Gist options
  • Save henalbrod/2c2d852835f3a1a83ffe to your computer and use it in GitHub Desktop.
Save henalbrod/2c2d852835f3a1a83ffe to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-menu/core-submenu.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="../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_menu {
font-size: 16px;
left: 580px;
top: 340px;
position: absolute;
}
#core_toolbar {
right: 0px;
left: 180px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
opacity: 1;
background-color: rgb(79, 125, 201);
}
#section {
left: 90px;
top: 260px;
position: absolute;
}
#section1 {
left: 630px;
top: 410px;
position: absolute;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 180px;
top: 60px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#section2 {
left: -10px;
top: 80px;
position: absolute;
}
#section3 {
left: -60px;
top: 10px;
position: absolute;
}
#section4 {
left: 160px;
top: 90px;
position: absolute;
}
</style>
<core-menu selected="0" id="core_menu">
</core-menu>
<section id="section"></section>
<section id="section1"></section>
<section id="section4">
<section id="section3">
<section id="section2" layout horizontal center center-justified>
</section>
</section>
</section>
<core-toolbar id="core_toolbar" horizontal layout>
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Toolbar</div>
</core-toolbar>
<core-animated-pages notap id="core_animated_pages">
</core-animated-pages>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment