Skip to content

Instantly share code, notes, and snippets.

@preddy5
Created June 28, 2014 02:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save preddy5/87db07474cb3a72d0122 to your computer and use it in GitHub Desktop.
Save preddy5/87db07474cb3a72d0122 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-checkbox/paper-checkbox.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
background-color: rgb(255, 255, 255);
}
#core_header_panel {
width: 300px;
height: 400px;
left: 330px;
top: 140px;
position: absolute;
background-color: rgb(236, 240, 241);
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(241, 196, 15);
}
#div {
padding: 20px;
}
#section {
height: 100px;
left: 470px;
top: 200px;
position: absolute;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)) rgb(236, 240, 241);
}
</style>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<div id="div">Enorgo</div>
</core-toolbar>
<paper-checkbox id="paper_checkbox"></paper-checkbox>
</core-header-panel>
<section id="section"></section>
</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