Skip to content

Instantly share code, notes, and snippets.

@reekotubbs
Last active August 29, 2015 14:08
Show Gist options
  • Save reekotubbs/7f6b7f7593164429d118 to your computer and use it in GitHub Desktop.
Save reekotubbs/7f6b7f7593164429d118 to your computer and use it in GitHub Desktop.
designer
<link href="../core-icon-button/core-icon-button.html" rel="import">
<link href="../core-toolbar/core-toolbar.html" rel="import">
<link href="../core-header-panel/core-header-panel.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#core_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
background-color: rgb(79, 125, 201);
color: rgb(255, 255, 255);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), lightblue) repeat scroll 0% 0% transparent;
}
#design_host {
width: 100%;
height: 100%;
}
#core_card {
position: absolute;
width: 300px;
height: 300px;
background-color: rgb(255, 255, 255);
border-radius: 2px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.098), 0px 0px 3px rgba(0, 0, 0, 0.098);
left: 240px;
top: 151px;
}
</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">
<core-card id="core_card" vertical layout></core-card>
</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