Skip to content

Instantly share code, notes, and snippets.

@davenotik
Created June 30, 2014 20:39
Show Gist options
  • Save davenotik/5a39dc22475eec6b6cd7 to your computer and use it in GitHub Desktop.
Save davenotik/5a39dc22475eec6b6cd7 to your computer and use it in GitHub Desktop.
designer
<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">
<polymer-element name="my-element">
<template>
<style>
:host {
box-sizing: border-box;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#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;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 1020px;
top: 780px;
}
#core_card {
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;
margin: 10px auto;
width: 95%;
position: relative;
display: block;
background-color: rgb(255, 255, 255);
}
#core_card > #content {
margin: 15px;
padding: 10px;
}
#main_wrapper {
height: 500px;
background-color: yellow;
}
#main_panel {
background-color: blue;
}
#right_panel {
overflow: auto;
background-color: red;
}
</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="Watching" valueattr="label" selectedindex="1" id="core_menu" theme="core-light-theme">
<core-item label="All" icon="settings" id="core_item" horizontal center layout></core-item>
<core-item label="Watching" icon="settings" id="core_item" horizontal center layout active></core-item>
<core-item label="Updates" icon="settings" id="core_item" horizontal center layout></core-item>
</core-menu>
</core-header-panel>
<div id="div" tool>Updates</div>
<div id="main_wrapper" horizontal layout wrap>
<section id="main_panel">
<core-card id="core_card">
<div id="content">
<h2 id="h2">The Project details!</h2>
<p id="p">would be great if this notified me when people updated my project or responded to a comment i make on their project. otherwise i might miss their stuff or be slow to respond.</p>
</div>
</core-card>
</section>
<section id="right_panel">
<core-card id="core_card">
<div id="content">
<h2 id="h2">Project Tracker</h2>
<p id="p">would be great if this notified me when people updated my project or responded to a comment i make on their project. otherwise i might miss their stuff or be slow to respond.</p>
</div>
</core-card>
<core-card id="core_card">
<div id="content">
<h2 id="h2">Project Tracker</h2>
<p id="p">would be great if this notified me when people updated my project or responded to a comment i make on their project. otherwise i might miss their stuff or be slow to respond.</p>
</div>
</core-card>
<core-card id="core_card">
<div id="content">
<h2 id="h2">Another project that's rad</h2>
<p id="p">would be great if this notified me when people updated my project or responded to a comment i make on their project. otherwise i might miss their stuff or be slow to respond.</p>
</div>
</core-card>
<core-card id="core_card">
<div id="content">
<h2 id="h2">Another project that's rad</h2>
<p id="p">would be great if this notified me when people updated my project or responded to a comment i make on their project. otherwise i might miss their stuff or be slow to respond.</p>
</div>
</core-card>
<core-card id="core_card">
<div id="content">
<h2 id="h2">Another project that's rad</h2>
<p id="p">would be great if this notified me when people updated my project or responded to a comment i make on their project. otherwise i might miss their stuff or be slow to respond. would be great if this notified me when people updated my project or responded to a comment i make on their project. otherwise i might miss their stuff or be slow to respond.</p>
</div>
</core-card>
<core-card id="core_card">
<div id="content">
<h2 id="h2">Another project that's rad</h2>
<p id="p">would be great if this notified me when people updated my project or responded to a comment i make on their project. otherwise i might miss their stuff or be slow to respond.</p>
</div>
</core-card>
<core-card id="core_card">
<div id="content">
<h2 id="h2">Another project that's rad</h2>
<p id="p">would be great if this notified me when people updated my project or responded to a comment i make on their project. otherwise i might miss their stuff or be slow to respond.</p>
</div>
</core-card>
<core-card id="core_card">
<div id="content">
<h2 id="h2">Another project that's rad</h2>
<p id="p">would be great if this notified me when people updated my project or responded to a comment i make on their project. otherwise i might miss their stuff or be slow to respond.</p>
</div>
</core-card>
<core-card id="core_card">
<div id="content">
<h2 id="h2">Another project that's rad</h2>
<p id="p">would be great if this notified me when people updated my project or responded to a comment i make on their project. otherwise i might miss their stuff or be slow to respond.</p>
</div>
</core-card>
<core-card id="core_card">
<div id="content">
<h2 id="h2">Another project that's rad</h2>
<p id="p">would be great if this notified me when people updated my project or responded to a comment i make on their project. otherwise i might miss their stuff or be slow to respond.</p>
</div>
</core-card>
</section>
</div>
</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