Skip to content

Instantly share code, notes, and snippets.

@riyastir
Last active August 29, 2015 14:17
Show Gist options
  • Save riyastir/a827eba83bf8b177c8d1 to your computer and use it in GitHub Desktop.
Save riyastir/a827eba83bf8b177c8d1 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-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../topeka-elements/topeka-datasource.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_header_panel {
width: 1070px;
height: 660px;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
width: 100%;
background-color: rgb(252, 29, 29);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)) rgb(128, 0, 128);
}
#core_icon {
height: 64px;
width: 64px;
left: 0px;
top: -64px;
position: absolute;
}
#core_card {
position: absolute;
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 30px;
top: 26px;
background-color: rgb(255, 255, 255);
}
#core_icon1 {
height: 64px;
width: 64px;
left: 10px;
top: 10px;
}
#paper_item {
left: 0px;
top: -64px;
position: absolute;
}
#topeka_datasource2 {
left: 0px;
top: -64px;
position: absolute;
}
#name {
width: 170px;
height: 0px;
position: absolute;
left: 80px;
top: 10px;
}
#div {
left: 88px;
top: 20px;
position: absolute;
}
</style>
<core-header-panel mode="standard" id="core_header_panel" horizontal layout center>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div">
<br id="br"></br>
<br></br>
<br id="br1"></br>
<br></br>
<br id="br2"></br>
<br></br>
<br id="br3"></br>
<br></br>
</div>
</core-toolbar>
<section id="section">
<core-icon icon="avatars:avatar-1" id="core_icon" designmeta="topeka-avatar"></core-icon>
<core-card id="core_card" layout vertical>
<core-icon src="https://media.licdn.com/mpr/mpr/shrink_240_240/p/2/000/1a5/044/1e93a25.jpg" icon="avatars:avatar-1" id="core_icon1" designmeta="topeka-avatar"></core-icon>
<div id="name">
<br></br>
</div>
</core-card>
<paper-item id="paper_item" icon="settings" label="Item"></paper-item>
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource2" hidden></topeka-datasource>
</section>
</core-header-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment