Skip to content

Instantly share code, notes, and snippets.

@leonciocaminha
Created June 30, 2014 22:50
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 leonciocaminha/b7a8740866132201caac to your computer and use it in GitHub Desktop.
Save leonciocaminha/b7a8740866132201caac to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-tooltip/core-tooltip.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="../speech-mic/speech-mic.html">
<link rel="import" href="../yt-video/yt-search-video.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../google-map/google-map-directions.html">
<link rel="import" href="../notification-elements/notification-alert.html">
<link rel="import" href="../google-map/google-map-search.html">
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/iconsets/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-progress/paper-progress.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_tooltip {
left: 520px;
top: 200px;
position: absolute;
}
#core_scaffold {
position: absolute;
top: -60px;
right: 0px;
bottom: 0px;
left: 10px;
}
#core_header_panel {
background-color: rgb(255, 255, 255);
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#core_menu {
font-size: 16px;
}
#yt_search_video {
width: 300px;
height: 300px;
}
#google_map {
width: 400px;
height: 400px;
display: block;
}
#smoothie_chart {
left: 1020px;
top: 280px;
}
</style>
<core-tooltip id="core_tooltip"></core-tooltip>
<core-scaffold id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar">
<speech-mic id="speech_mic"></speech-mic>
<yt-search-video id="yt_search_video"></yt-search-video>
</core-toolbar>
<core-menu valueattr="label" id="core_menu" theme="core-light-theme">
<core-item label="Item1" icon="settings" id="core_item" horizontal center layout></core-item>
<core-item label="Item2" icon="settings" id="core_item1" horizontal center layout></core-item>
</core-menu>
</core-header-panel>
<div id="div" tool>Title</div>
<google-map-directions id="google_map_directions"></google-map-directions>
<google-map-directions id="google_map_directions1"></google-map-directions>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<google-map-search id="google_map_search"></google-map-search>
<google-map id="google_map"></google-map>
<google-map-directions id="google_map_directions2"></google-map-directions>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
<paper-progress id="paper_progress"></paper-progress>
</core-scaffold>
</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