Skip to content

Instantly share code, notes, and snippets.

@catalint
Created August 7, 2014 12:01
Show Gist options
  • Save catalint/9ee26c537f5c57f2bdf3 to your computer and use it in GitHub Desktop.
Save catalint/9ee26c537f5c57f2bdf3 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#three_js_camera {
left: 980px;
top: 330px;
position: absolute;
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 650px;
top: -30px;
}
#core_header_panel {
width: 300px;
height: 400px;
left: 520px;
top: 130px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
</style>
<three-js-camera id="three_js_camera"></three-js-camera>
<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"></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