Skip to content

Instantly share code, notes, and snippets.

@mattieapps
Created July 9, 2014 18:35
Show Gist options
  • Save mattieapps/20a28300fd8fdeb28fed to your computer and use it in GitHub Desktop.
Save mattieapps/20a28300fd8fdeb28fed 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">
<link href="../core-field/core-field.html" rel="import">
<link href="../core-icon/core-icon.html" rel="import">
<link href="../core-input/core-input.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_header_panel {
width: 290px;
height: 510px;
left: 370px;
top: 40px;
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;
}
</style>
<core-header-panel mode="standard" id="core_header_panel">
<section id="section">
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div">Header</div>
</core-toolbar>
<core-field id="core_field" theme="core-light-theme" icon="search" layout horizontal center>
</core-field>
<core-icon-button icon="menu" id="core_icon_button1" theme="core-light-theme"></core-icon-button>
</section>
</core-header-panel>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment