Skip to content

Instantly share code, notes, and snippets.

@Echo3ToEcho7
Created July 20, 2014 14:27
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 Echo3ToEcho7/6f4181e5277a635e9e52 to your computer and use it in GitHub Desktop.
Save Echo3ToEcho7/6f4181e5277a635e9e52 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-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(79, 125, 201);
}
.main-label {
padding: 0px 0px 20px 60px;
}
#core_drawer_panel {
position: absolute;
top: 130px;
right: 0px;
bottom: 0px;
left: 0px;
}
#section {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
width: 100%;
background-color: rgb(250, 246, 226);
}
#section1 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#core_card {
width: 300px;
height: 300px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(255, 255, 255);
}
#core_header_panel {
width: 300px;
height: 400px;
left: 1380px;
top: 550px;
}
#core_toolbar1 {
color: rgb(241, 241, 241);
fill: rgb(241, 241, 241);
background-color: rgb(66, 133, 244);
}
#card {
position: absolute;
top: -64px;
display: block;
margin: 64px 120px 60px 5px;
background-color: rgb(255, 255, 255);
}
#core_scroll_header_panel {
height: 100%;
}
</style>
<core-toolbar id="core_toolbar" class="medium-tall">
<paper-icon-button icon="menu" id="core_icon_button"></paper-icon-button>
<div flex></div>
<paper-icon-button icon="search" id="paper_icon_button2"></paper-icon-button>
<paper-icon-button icon="apps" id="paper_icon_button1"></paper-icon-button>
<paper-icon-button icon="account-circle" id="paper_icon_button"></paper-icon-button>
<div id="main_label" class="bottom main-label fit">Current Product</div>
</core-toolbar>
<core-drawer-panel selected="main" id="core_drawer_panel">
<section id="options" drawer>
<core-item label="Ideas" icon="settings" size="24" id="core_item" horizontal center layout></core-item>
<core-item label="Initiatives" icon="settings" size="24" id="core_item1" horizontal center layout></core-item>
</section>
<section id="content" main>
<core-scroll-header-panel condenses headerheight="192" condensedheaderheight="64" id="core_scroll_header_panel">
<core-toolbar id="core_toolbar1" class="tall">
<core-icon-button icon="arrow-back" id="core_icon_button1"></core-icon-button>
<div id="div" flex></div>
<core-icon-button icon="search" id="core_icon_button2"></core-icon-button>
<core-icon-button icon="more-vert" id="core_icon_button3"></core-icon-button>
<div id="div1" class="bottom indent">Title</div>
</core-toolbar>
<section id="section" content>
<table id="table">
<tbody>
<tr>
<td>Rank</td>
<td>Name</td>
</tr>
</tbody>
</table>
</section>
</core-scroll-header-panel>
</section>
</core-drawer-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