Skip to content

Instantly share code, notes, and snippets.

@abdel-ships-it
Last active August 29, 2015 14:22
Show Gist options
  • Save abdel-ships-it/99edff2d76034303ec81 to your computer and use it in GitHub Desktop.
Save abdel-ships-it/99edff2d76034303ec81 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-ajax/core-ajax.html">
<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-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_button {
left: 168px;
top: 137px;
position: absolute;
}
#paper_fab {
left: 1090px;
top: 730px;
}
#section1 {
left: 210px;
top: 50px;
position: absolute;
}
#core_ajax {
left: 790px;
top: 480px;
position: absolute;
}
#core_ajax1 {
left: 990px;
top: 500px;
}
#core_scaffold {
position: absolute;
top: -20px;
right: 0px;
bottom: 0px;
left: -30px;
}
#core_header_panel {
background-color: rgb(255, 255, 255);
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#core_menu1 {
font-size: 16px;
}
</style>
<core-ajax handleas="json" method="GET" id="core_ajax" hidden></core-ajax>
</template>
<script>
Polymer({
});
</script>
</polymer-element><core-scaffold id="core_scaffold" class="drag-element">
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar"></core-toolbar>
<core-menu selected="Item1" valueattr="label" selectedindex="0" id="core_menu1" theme="core-light-theme">
<core-item id="core_item5" icon="settings" label="Item1" horizontal center layout active></core-item>
<core-item id="core_item6" icon="settings" label="Item2" horizontal center layout></core-item>
</core-menu>
</core-header-panel>
<div id="div" tool>Title</div>
<section id="section1" flex relative>
<paper-button id="paper_button" start>button</paper-button>
</section>
</core-scaffold>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment