Skip to content

Instantly share code, notes, and snippets.

@elsplatto
Last active August 29, 2015 14:20
Show Gist options
  • Save elsplatto/48d3d526aaf5a62aa6b6 to your computer and use it in GitHub Desktop.
Save elsplatto/48d3d526aaf5a62aa6b6 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<polymer-element name="my-element">
<template>
<style>
:host {
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;
width: 100%;
background-color: rgb(121, 121, 121);
}
#div {
width: 200px;
height: auto;
}
#core_drawer_panel {
position: absolute;
top: 60px;
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;
background-color: rgb(214, 214, 214);
}
#section1 {
height: 100%;
box-sizing: border-box;
width: 100%;
top: 0px;
position: absolute;
background-color: rgb(255, 255, 255);
}
#core_icon {
left: 1220px;
top: 20px;
width: 30px;
height: 30px;
position: absolute;
}
#core_icon1 {
left: 1180px;
top: 20px;
position: absolute;
height: 30px;
width: 30px;
}
h2 {
width: 500px;
font-size: 20px;
font-weight: 400;
}
#core_icon_button1 span {
position: relative;
padding-top: 5px;
}
#core_menu {
font-size: 16px;
left: 10px;
top: 22px;
position: absolute;
}
#core_icon_button1 {
left: 628px;
top: 12px;
position: absolute;
background-color: rgb(255, 147, 0);
}
#core_icon_button1 span {
position: relative;
top: 1px;
}
#core_menu1 {
font-size: 16px;
left: 1440px;
top: 660px;
}
#core_menu_button {
left: 1390px;
top: 550px;
}
#paper_item {
left: 1490px;
top: 660px;
}
#core_icon2 {
left: 974px;
top: 30px;
position: absolute;
background-color: rgb(255, 255, 255);
}
.actions {
color: rgb(60, 98, 154);
width: 30px;
height: 30px;
}
#core_icon3 {
left: 934px;
top: 30px;
position: absolute;
}
#core_icon4 {
left: 894px;
top: 30px;
position: absolute;
}
#list1 {
left: 54px;
top: 112px;
position: absolute;
margin: 0px;
padding: 0px;
display: list-item;
width: 900px;
height: auto;
list-style: none;
box-shadow: rgba(0, 0, 0, 0.258824) 0px 2px 5px 0px;
}
#list1 li {
position: relative;
overflow: hidden;
padding: 10px 20px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: rgb(238, 238, 238);
width: 860px;
height: auto;
display: list-item;
}
.name {
font-size: 20px;
font-weight: 400;
float: left;
padding-left: 20px;
position: relative;
width: 300px;
}
h3 {
width: 300px;
left: 54px;
top: 40px;
position: absolute;
font-size: 30px;
font-weight: 400;
color: rgb(51, 51, 51);
}
.user-checkbox {
position: relative;
float: left;
top: 3px;
}
</style>
<core-drawer-panel transition selected="main" id="core_drawer_panel" touch-action>
<section id="section" drawer>
<core-menu selected="0" selectedindex="0" id="core_menu">
<core-submenu opened active id="core_submenu" icon="settings" label="Reviews">
<core-item id="core_item" label="Accounts" horizontal center layout></core-item>
<core-item id="core_item1" label="Users" horizontal center layout active></core-item>
<core-item id="core_item2" label="Reports" horizontal center layout></core-item>
</core-submenu>
<core-submenu id="core_submenu1" icon="settings" label="Structure">
<core-item id="core_item2" label="Action 1" horizontal center layout></core-item>
<core-item id="core_item3" label="Action 2" horizontal center layout></core-item>
<core-item id="core_item4" label="Action 3" horizontal center layout></core-item>
</core-submenu>
</core-menu>
</section>
<section id="section1" main>
<core-icon icon="save" id="core_icon2" class="actions"></core-icon>
<core-icon icon="delete" id="core_icon3" class="actions"></core-icon>
<core-icon icon="mail" id="core_icon4" class="actions"></core-icon>
<h3 id="h3">Users</h3>
<ul id="list1">
<li id="li">
<paper-checkbox checked id="paper_checkbox2" class="user-checkbox"></paper-checkbox>
<div id="div2" class="name">John Smith</div>
</li>
<li id="li1">
<paper-checkbox checked id="paper_checkbox2" class="user-checkbox"></paper-checkbox>
<div id="div2" class="name">Jane Jones</div>
</li>
<li id="li2">
<paper-checkbox id="paper_checkbox3" class="user-checkbox"></paper-checkbox>
<div id="div3" class="name">Paul Peterson</div>
</li>
<li id="li3">
<paper-checkbox id="paper_checkbox4" class="user-checkbox"></paper-checkbox>
<div id="div4" class="name">Daniel Pitt</div>
</li>
<li id="li4">
<paper-checkbox id="paper_checkbox5" class="user-checkbox"></paper-checkbox>
<div id="div5" class="name">Belinda Burns</div>
</li>
<li id="li5">
<paper-checkbox checked id="paper_checkbox6" class="user-checkbox"></paper-checkbox>
<div id="div6" class="name">Fred Francis</div>
</li>
</ul>
</section>
</core-drawer-panel>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div">
<h2 id="h2">Evaluation Manager</h2>
</div>
<core-icon icon="account-circle" id="core_icon"></core-icon>
<core-icon icon="search" id="core_icon1"></core-icon>
<core-icon-button icon="add-circle" id="core_icon_button1" theme="core-light-theme">
<span id="span">Create Review</span>
</core-icon-button>
<div id="div1" layout horizontal>
</div>
</core-toolbar>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment