Skip to content

Instantly share code, notes, and snippets.

@vincenzovitale
Created July 28, 2014 12:56
Show Gist options
  • Save vincenzovitale/9440bf19662580af9bc5 to your computer and use it in GitHub Desktop.
Save vincenzovitale/9440bf19662580af9bc5 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../chart-js/chart-js.html">
<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="../smoothie-chart/smoothie-chart.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../notification-elements/notification-alert.html">
<link rel="import" href="../paper-progress/paper-progress.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#chart_js {
width: 300px;
height: 200px;
left: 260px;
top: 40px;
position: absolute;
}
#chart_js1 {
width: 300px;
height: 200px;
left: 440px;
top: 150px;
position: absolute;
}
#core_header_panel {
width: 300px;
height: 400px;
left: 860px;
top: 230px;
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));
}
#core_icon {
height: 24px;
width: 24px;
}
#core_input {
padding: 15px;
}
#section1 {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 210px;
top: 120px;
position: absolute;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
</style>
<chart-js kind="Line" id="chart_js"></chart-js>
<chart-js kind="Radar" id="chart_js1"></chart-js>
<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">
<smoothie-chart id="smoothie_chart"></smoothie-chart>
<core-input placeholder="Type something..." id="core_input"></core-input>
<core-icon icon="search" id="core_icon"></core-icon>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert1"></notification-alert>
<paper-progress id="paper_progress"></paper-progress>
<paper-item label="Item" icon="settings" id="paper_item" center horizontal layout></paper-item>
</section>
</core-header-panel>
<section id="section1" layout vertical>
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
</paper-tabs>
<section id="section2" flex relative>
</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