Skip to content

Instantly share code, notes, and snippets.

@evanhalley
Created September 27, 2014 02:22
Show Gist options
  • Save evanhalley/8e32dd5adec3e8fd684c to your computer and use it in GitHub Desktop.
Save evanhalley/8e32dd5adec3e8fd684c 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-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="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_header_panel {
width: 480px;
height: 820px;
left: 440px;
top: 70px;
position: absolute;
background-color: rgb(250, 20, 20);
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#paper_fab {
left: -430px;
top: -114px;
position: absolute;
}
#paper_fab1 {
left: 380px;
top: 646px;
position: absolute;
}
#core_submenu {
left: 1670px;
top: 650px;
}
#core_menu {
font-size: 16px;
left: 1710px;
top: 760px;
}
#core_card {
position: absolute;
width: 440px;
height: 150px;
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;
left: 10px;
top: 16px;
background-color: rgb(255, 255, 255);
}
#core_field {
left: 1610px;
top: 520px;
}
#paper_button {
left: -440px;
top: -134px;
position: absolute;
}
</style>
<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="section">
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
<paper-fab z="4" icon="add" id="paper_fab1"></paper-fab>
<core-card id="core_card" layout vertical></core-card>
<paper-button label="Paper Button" id="paper_button"></paper-button>
</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