Skip to content

Instantly share code, notes, and snippets.

@tokamak-git
Last active September 19, 2016 04:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tokamak-git/f7a69a024cf3b0f6053374fc5d43a31c to your computer and use it in GitHub Desktop.
Save tokamak-git/f7a69a024cf3b0f6053374fc5d43a31c 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="../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-icon-button/paper-icon-button.html">
<link rel="import" href="../core-icon-button/core-icon-button.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_drawer_panel {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
#section {
background-color: rgb(250, 250, 250);
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 0px;
top: 0px;
position: absolute;
}
#section1 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#core_menu {
font-size: 16px;
left: 32px;
top: 142px;
position: absolute;
}
#core_icon_button1 {
left: 1090px;
top: 730px;
}
#core_icon {
left: 30px;
top: 90px;
position: absolute;
}
#paper_icon_button {
left: 20px;
top: 20px;
position: absolute;
}
#core_selector {
left: 1120px;
top: 830px;
}
#core_icon_button {
left: 42px;
top: 832px;
position: absolute;
}
#core_item2 {
left: 30px;
top: 180px;
position: absolute;
}
</style>
<core-drawer-panel transition id="core_drawer_panel" touch-action persistant mini>
<section id="section1" main></section>
<section id="section" drawer>
<core-menu selected="0" id="core_menu">
</core-menu>
<core-icon icon="avatars:avatar-1" id="core_icon" designmeta="topeka-avatar"></core-icon>
<paper-icon-button icon="menu" toggle="{{ }}" id="paper_icon_button"></paper-icon-button>
<core-icon-button icon="favourite" id="core_icon_button" theme="core-light-theme">Logout</core-icon-button>
<core-item id="core_item2" icon="fingerprint" horizontal center layout>Promotions</core-item>
</section>
</core-drawer-panel>
</template>
<script>
Polymer({
favorite: 'power-settings-new'
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment