Skip to content

Instantly share code, notes, and snippets.

@michaelstephens
Created July 3, 2014 23:19
Show Gist options
  • Save michaelstephens/6a270809f57d7383b5aa to your computer and use it in GitHub Desktop.
Save michaelstephens/6a270809f57d7383b5aa to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-tooltip/core-tooltip.html">
<link rel="import" href="../core-menu/core-submenu.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-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
opacity: 1;
}
#core_toolbar {
right: 0px;
left: 60px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 120px;
position: absolute;
background-color: rgb(153, 31, 13);
}
#core_tooltip {
left: 1150px;
top: 530px;
position: absolute;
}
#core_icon {
height: 24px;
width: 24px;
}
#core_menu {
font-size: 16px;
left: 1640px;
top: 710px;
position: absolute;
}
</style>
<core-tooltip id="core_tooltip"></core-tooltip>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element><core-menu selected="0" selectedindex="0" id="core_menu" class="drag-element">
<core-submenu active label="Favorites" icon="settings" id="core_submenu1">
<core-item label="Favorite 1" id="core_item2" horizontal center layout></core-item>
<core-item label="Favorite 2" id="core_item3" horizontal center layout></core-item>
<core-item label="Favorite 3" id="core_item4" horizontal center layout></core-item>
</core-submenu>
</core-menu>
<core-toolbar id="core_toolbar" class="drag-element">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Warble Garble</div>
<core-tooltip id="core_tooltip1"></core-tooltip>
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-icon icon="search" id="core_icon"></core-icon>
<core-input placeholder="search" id="core_input" flex></core-input>
</core-field>
</core-toolbar>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment