Skip to content

Instantly share code, notes, and snippets.

@zmoshansky
Last active August 29, 2015 14:21
Show Gist options
  • Save zmoshansky/c058eb9a30264d177870 to your computer and use it in GitHub Desktop.
Save zmoshansky/c058eb9a30264d177870 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="../paper-progress/paper-progress.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.html">
<polymer-element name="my-element">
<template>
<style>
:host {
box-sizing: border-box;
}
#core_header_panel {
left: 0px;
top: 0px;
min-height: 400px;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(10, 128, 41);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)) rgb(38, 154, 48);
}
#core_icon_button1 {
position: absolute;
left: 18px;
top: -57px;
}
#paper_progress {
position: absolute;
top: 60px;
left: -8px;
opacity: 0.8;
display: block;
}
</style>
<div id="div1" layout horizontal>
</div>
<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" one flex>Ailments</div>
<core-icon-button icon="search" id="search" theme="core-light-theme" end></core-icon-button>
<paper-progress id="paper_progress"></paper-progress>
</core-toolbar>
<section id="section">
<core-list id="list" flex>
<template></template>
<paper-item id="paper_item" icon="settings" label="Item" one flex>blah</paper-item>
</core-list>
</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