Skip to content

Instantly share code, notes, and snippets.

@digu087
Last active August 29, 2015 14:14
Show Gist options
  • Save digu087/0d744c2fa6f046b380d9 to your computer and use it in GitHub Desktop.
Save digu087/0d744c2fa6f046b380d9 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="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="dashboard-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_scaffold {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#core_header_panel1 {
background-color: rgb(255, 255, 255);
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#core_menu {
font-size: 16px;
}
#core_menu_button {
left: 1020px;
top: 410px;
}
#core_submenu {
left: 1040px;
top: 520px;
}
#section {
left: 1060px;
top: 470px;
}
#core_menu1 {
font-size: 16px;
left: 1070px;
top: 500px;
}
#core_icon {
left: 1240px;
top: 10px;
position: absolute;
width: 50px;
height: 40px;
}
</style>
<core-header-panel mode="standard" id="core_header_panel">
<core-scaffold id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel1" navigation flex>
<core-toolbar id="core_toolbar"></core-toolbar>
<core-menu selected="Accounting" valueattr="label" selectedindex="3" id="core_menu" theme="core-light-theme">
<core-item id="dashboard" icon="dashboard" label="Dashboard" horizontal center layout></core-item>
<core-item id="clients" icon="group" label="Clients" horizontal center layout></core-item>
<core-item id="suppliers" icon="people" label="Suppliers" horizontal center layout></core-item>
<core-item id="accounting" icon="account-balance" label="Accounting" horizontal center layout active></core-item>
<core-item id="projects" icon="apps" label="Projects" horizontal center layout></core-item>
<core-item id="messages" icon="messenger" label="Messaging" horizontal center layout></core-item>
<core-item id="jobs" icon="work" label="Jobs" horizontal center layout></core-item>
<core-item id="invoicing" icon="print" label="Invoicing" horizontal center layout></core-item>
<core-item id="administrator" icon="supervisor-account" label="Administrtor" horizontal center layout></core-item>
<core-item id="staf" icon="nature-people" label="Staf" horizontal center layout></core-item>
<core-item id="documents" icon="description" label="Documents" horizontal center layout></core-item>
<core-item id="reporting" icon="insert-chart" label="Reporting" horizontal center layout></core-item>
<core-item id="inventory" icon="storage" label="Inventory" horizontal center layout></core-item>
<core-item id="calendar" icon="today" label="Calendar" horizontal center layout></core-item>
<core-item id="notes" icon="settings" label="Notes" horizontal center layout></core-item>
</core-menu>
</core-header-panel>
<div id="div" tool>Title</div>
<core-icon icon="more-vert" id="core_icon"></core-icon>
</core-scaffold>
</core-header-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment