Skip to content

Instantly share code, notes, and snippets.

@mpriour
Created November 19, 2014 19:20
Show Gist options
  • Save mpriour/a4412613c4d0d89dde38 to your computer and use it in GitHub Desktop.
Save mpriour/a4412613c4d0d89dde38 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-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 230px;
top: 50px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#core_drawer_panel {
right: 0px;
bottom: 0px;
}
#section3 {
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);
}
#section4 {
height: 100%;
box-sizing: border-box;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
background-color: rgb(221, 221, 221);
}
#input {
padding: 15px;
left: 70px;
top: 20px;
position: absolute;
}
#core_icon_button {
left: 12px;
top: 122px;
position: absolute;
}
#core_icon_button1 {
left: 72px;
top: 122px;
position: absolute;
}
#core_icon_button2 {
left: 122px;
top: 122px;
position: absolute;
}
#core_item {
left: 30px;
top: 40px;
position: absolute;
}
#core_item1 {
left: 30px;
top: 90px;
position: absolute;
}
#core_item2 {
left: 30px;
top: 150px;
position: absolute;
}
</style>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section" layout horizontal center center-justified active>
<core-drawer-panel transition id="core_drawer_panel" touch-action>
<section id="section3" drawer>
<core-item id="core_item" icon="settings" label="Item" horizontal center layout></core-item>
<core-item id="core_item1" icon="settings" label="Item" horizontal center layout></core-item>
<core-item id="core_item2" icon="settings" label="Item" horizontal center layout></core-item>
</section>
<section id="section4" main>
<input id="input" placeholder="type something..." is="core-input">
<core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme"></core-icon-button>
<core-icon-button icon="menu" id="core_icon_button1" theme="core-light-theme"></core-icon-button>
<core-icon-button icon="menu" id="core_icon_button2" theme="core-light-theme"></core-icon-button>
</section>
</core-drawer-panel>
</section>
<section id="section1">
</section>
<section id="section2">
</section>
</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