Skip to content

Instantly share code, notes, and snippets.

@carlvlewis
Created July 13, 2014 10:55
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 carlvlewis/7ab1d684217a16ad3c11 to your computer and use it in GitHub Desktop.
Save carlvlewis/7ab1d684217a16ad3c11 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_menu {
font-size: 16px;
left: 760px;
top: 240px;
position: absolute;
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 1430px;
top: 820px;
}
#core_scaffold1 {
right: 0px;
bottom: 0px;
left: 160px;
top: 70px;
background-color: rgb(122, 129, 255);
}
#core_header_panel1 {
background-color: rgb(255, 255, 255);
}
#core_toolbar1 {
color: rgb(255, 255, 255);
border: 0px;
background-color: rgb(223, 110, 40);
}
#core_menu3 {
font-size: 16px;
}
#chart_js1 {
width: 300px;
height: 200px;
left: 410px;
top: 280px;
position: absolute;
}
#core_header_panel {
width: 300px;
height: 400px;
left: 110px;
top: 30px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(255, 147, 0);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
</style>
<core-menu selected="0" selectedindex="0" id="core_menu">
<core-submenu active label="Topics" icon="settings" valueattr="name" id="core_submenu">
<core-item label="Topic 1" size="24" id="core_item" horizontal center layout></core-item>
<core-item label="Topic 2" size="24" id="core_item1" horizontal center layout></core-item>
</core-submenu>
<core-submenu label="Favorites" icon="settings" valueattr="name" id="core_submenu1">
<core-item label="Favorite 1" size="24" id="core_item2" horizontal center layout></core-item>
<core-item label="Favorite 2" size="24" id="core_item3" horizontal center layout></core-item>
<core-item label="Favorite 3" size="24" id="core_item4" horizontal center layout></core-item>
</core-submenu>
</core-menu>
<chart-js kind="Bar" 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"></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