Skip to content

Instantly share code, notes, and snippets.

@Dave76
Created September 3, 2014 11:44
Show Gist options
  • Save Dave76/c0d4f3d9cc7f0a444734 to your computer and use it in GitHub Desktop.
Save Dave76/c0d4f3d9cc7f0a444734 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-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#div1 {
left: 1150px;
top: 150px;
position: absolute;
}
#paper_fab1 {
left: 1040px;
top: 150px;
position: absolute;
}
</style>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Toolbar</div>
<paper-icon-button icon="search" id="paper_icon_button"></paper-icon-button>
</core-toolbar>
<div id="div1" layout horizontal>
<paper-fab icon="check" id="paper_fab"></paper-fab>
</div>
<paper-fab icon="av:play-arrow" id="paper_fab1"></paper-fab>
</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