Skip to content

Instantly share code, notes, and snippets.

@bredfern
Created August 5, 2014 04:15
Show Gist options
  • Save bredfern/921bf605e2a0d40a5165 to your computer and use it in GitHub Desktop.
Save bredfern/921bf605e2a0d40a5165 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;
}
#section {
left: 130px;
top: 110px;
position: absolute;
}
#section1 {
left: 80px;
top: 60px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
left: 0px;
top: 0px;
position: absolute;
width: 690px;
height: 60px;
background-color: rgb(79, 125, 201);
}
#section3 {
height: 1000px;
left: 150px;
top: 80px;
position: absolute;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#section2 {
left: 120px;
top: 100px;
position: absolute;
}
#section4 {
left: 60px;
top: 70px;
position: absolute;
}
#speech_mic {
left: 640px;
top: 10px;
position: absolute;
}
#chart_js {
width: 300px;
height: 200px;
left: 160px;
top: 140px;
position: absolute;
}
#chart_js1 {
width: 300px;
height: 200px;
left: 140px;
top: 170px;
position: absolute;
}
</style>
<section id="section" layout horizontal center center-justified>
</section>
<section id="section1">
</section>
<section id="section3" width:></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>
<section id="section2" layout horizontal center center-justified>
</section>
<section id="section4">
</section>
<speech-mic id="speech_mic"></speech-mic>
<chart-js kind="Line" id="chart_js"></chart-js>
<chart-js kind="Bar" id="chart_js1"></chart-js>
</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