Skip to content

Instantly share code, notes, and snippets.

@BLamy
Last active August 29, 2015 14:17
Show Gist options
  • Save BLamy/6a859b21547e3af29c44 to your computer and use it in GitHub Desktop.
Save BLamy/6a859b21547e3af29c44 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="components/polymer/polymer.html">
<link rel="import" href="/bower_components/core-iconset-svg/core-iconset-svg.html">
<link href="http://fonts.googleapis.com/css?family=Roboto:400,700,500italic" rel="stylesheet" type="text/css">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#core_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
color: rgb(0, 150, 136);
background-color: white;
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
</style>
<core-header-panel mode="standard" id="core_header_panel" condenses="true" condensedheaderheight="5px">
<core-toolbar id="core_toolbar">
<core-icon icon="custom-icons:logo"></core-icon>
<div id="div" flex>Header</div>
<div flex>blah</div>
<div>blah</div>
<div>blah</div>
</core-toolbar>
<section id="section"></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