Skip to content

Instantly share code, notes, and snippets.

@akissu
Created August 17, 2014 06:24
Show Gist options
  • Save akissu/44066f81be90271a8be4 to your computer and use it in GitHub Desktop.
Save akissu/44066f81be90271a8be4 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="../topeka-elements/avatars.html">
<link rel="import" href="../core-icon/core-icon.html">
<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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_toolbar2 {
right: 0px;
left: 1220px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 590px;
background-color: rgb(79, 125, 201);
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 1240px;
top: 510px;
}
#core_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
height: 80px;
padding: 10px;
background-color: rgb(44, 209, 186);
}
#core_icon_button {
opacity: 0.5;
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_icon {
height: 40%;
width: 100%;
top: 20px;
}
#core_icon1 {
height: 64px;
width: 64px;
}
#core_icon2 {
height: 64px;
width: 64px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
}
#core_icon3 {
height: 64px;
width: 64px;
margin: 0px 8px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
}
#core_icon4 {
height: 64px;
width: 64px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
}
#core_scaffold {
position: absolute;
top: 560px;
right: 0px;
bottom: 0px;
left: 1230px;
}
#core_header_panel1 {
width: 300px;
height: 400px;
left: 1210px;
top: 520px;
}
#core_field {
left: 1200px;
top: 550px;
}
#core_menu {
font-size: 16px;
}
#core_selector {
width: 100%;
height: 50px;
left: 1220px;
top: 490px;
}
#core_submenu {
left: 1230px;
top: 530px;
}
#core_toolbar1 {
right: 0px;
left: 1200px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 560px;
background-color: rgb(79, 125, 201);
}
#core_drawer_panel {
right: 0px;
bottom: 0px;
}
#section1 {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(250, 250, 250);
}
#section2 {
height: 100%;
box-sizing: border-box;
padding: 50px;
background-color: rgb(221, 221, 221);
}
#core_card {
width: 100%;
height: 500px;
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;
top: 100%;
background-color: rgb(255, 255, 255);
}
#topeka_profile {
width: 300px;
height: 300px;
left: 1270px;
top: 590px;
}
</style>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<core-icon-button id="core_icon_button" icon="menu"></core-icon-button>
<core-icon id="core_icon2" icon="avatars:avatar-1" designmeta="topeka-avatar"></core-icon>
<div id="div">Alex @ Bty3.me</div>
</core-toolbar>
<section id="section">
<core-drawer-panel selected="main" id="core_drawer_panel" touch-action>
<section id="section1" drawer>
<core-menu id="core_menu" selected="0">
<core-submenu active id="core_submenu" icon="settings" label="Topics">
<core-item id="core_item" label="Topic 1" horizontal center layout></core-item>
<core-item id="core_item1" label="Topic 2" horizontal center layout></core-item>
</core-submenu>
<core-submenu id="core_submenu1" icon="settings" label="Favorites">
<core-item id="core_item2" label="Favorite 1" horizontal center layout></core-item>
<core-item id="core_item3" label="Favorite 2" horizontal center layout></core-item>
<core-item id="core_item4" label="Favorite 3" horizontal center layout></core-item>
</core-submenu>
</core-menu>
</section>
<section id="section2" main>
<core-card id="core_card" layout vertical>
<core-icon id="core_icon" icon="avatars:avatar-1" designmeta="topeka-avatar" end></core-icon>
</core-card>
</section>
</core-drawer-panel>
</section>
</core-header-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