Skip to content

Instantly share code, notes, and snippets.

@oraclebox
Last active August 29, 2015 14:18
Show Gist options
  • Save oraclebox/da842300361c9b355a7a to your computer and use it in GitHub Desktop.
Save oraclebox/da842300361c9b355a7a to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<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-header-panel/core-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 720px;
top: 360px;
position: absolute;
}
#div2 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab {
background-color: rgb(255, 64, 129);
}
#core_icon {
height: 256px;
width: 256px;
left: 1280px;
top: 600px;
}
#core_menu {
font-size: 16px;
left: 820px;
top: 220px;
position: absolute;
}
#core_header_panel {
width: 1210px;
height: 730px;
left: -10px;
top: 0px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section1 {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
</style>
<section id="section" layout vertical>
<div id="div1" hero class="dummy"></div>
<div id="div2" class="fab fab-0">
<paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
</div>
</section>
<core-menu selected="0" id="core_menu">
</core-menu>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div">Header</div>
</core-toolbar>
<section id="section1"></section>
</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