Last active
August 29, 2015 14:03
-
-
Save davenotik/efd6a5beb6fd0dd351b4 to your computer and use it in GitHub Desktop.
designer, list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.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-menu/core-submenu.html"> | |
<link rel="import" href="../paper-toast/paper-toast.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
box-sizing: border-box; | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
} | |
#core_header_panel { | |
width: 300px; | |
height: 400px; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#core_scaffold { | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
background: green; | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
padding: 0px 0px 0px 8px; | |
background-color: rgb(24, 146, 25); | |
} | |
#core_menu { | |
font-size: 16px; | |
} | |
.item { | |
padding: 8px; | |
border-bottom-width: 1px; | |
border-bottom-style: solid; | |
border-bottom-color: rgb(244, 244, 244); | |
background-color: white; | |
} | |
.item:hover { | |
cursor: pointer; | |
overflow: hidden; | |
background-color: rgb(244, 244, 244); | |
} | |
.item-text { | |
overflow: hidden; | |
} | |
.item-updated { | |
color: rgb(102, 102, 102); | |
margin: 0px 5px; | |
font-weight: bold; | |
} | |
.pointer:hover { | |
cursor: pointer; | |
} | |
</style> | |
<core-scaffold id="core_scaffold"> | |
<core-header-panel mode="seamed" id="core_header_panel1" navigation flex> | |
<core-toolbar id="core_toolbar">Inbox</core-toolbar> | |
<core-menu selected="Updates" valueattr="label" selectedindex="2" id="core_menu" theme="core-light-theme"> | |
<core-item label="All" icon="settings" id="core_item" horizontal center layout class="pointer"></core-item> | |
<core-item label="Watching" icon="settings" id="core_item" horizontal center layout class="pointer"></core-item> | |
<core-item label="Updates" icon="settings" id="core_item" horizontal center layout class="pointer" active></core-item> | |
</core-menu> | |
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom"></paper-toast> | |
<paper-toast text="Toast!" id="paper_toast1" class="core-transition core-transition-bottom"></paper-toast> | |
</core-header-panel> | |
<div id="div" tool>All</div> | |
<core-item icon="star" id="item_1" horizontal center layout class="item"> | |
<div class="item-text" flex>Project Tracker – a way to see what's going on</div> | |
<div class="item-updated">3d ago by Dave</div> | |
</core-item> | |
<core-item icon="star" id="item_2" horizontal center layout class="item"> | |
<div class="item-text" flex>Project Tracker – a wonderful way to see what's going on</div> | |
<div class="item-updated">3d ago by Bob Dylan</div> | |
</core-item> | |
<core-item icon="star" id="item_3" horizontal center layout class="item"> | |
<div class="item-text" flex>Project Tracker – a way to see what's going on</div> | |
<div class="item-updated">3d ago by Dave</div> | |
</core-item> | |
<core-item icon="star" id="item_4" horizontal center layout class="item"> | |
<div class="item-text" flex>Project Tracker – a way to see what's going on</div> | |
<div class="item-updated">3d ago by Frank</div> | |
</core-item> | |
<core-item icon="star" id="item_5" horizontal center layout class="item"> | |
<div class="item-text" flex>Project Tracker – a way to see what's going on</div> | |
<div class="item-updated">3d ago by Dave</div> | |
</core-item> | |
<paper-toast text="Toast!" id="paper_toast2" class="core-transition core-transition-bottom"></paper-toast> | |
</core-scaffold> | |
</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