Skip to content

Instantly share code, notes, and snippets.

@yasitha999
Last active August 29, 2015 14:17
Show Gist options
  • Save yasitha999/154e78aee09a27eef51b to your computer and use it in GitHub Desktop.
Save yasitha999/154e78aee09a27eef51b to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../cool-clock/cool-clock.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="../core-item/core-item.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#google_map {
width: 480px;
height: 210px;
display: block;
left: 150px;
top: 100px;
position: absolute;
}
#cool_clock {
width: 140px;
height: 120px;
left: 660px;
top: 90px;
position: absolute;
}
#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);
}
#core_submenu {
left: 218px;
top: 10px;
position: absolute;
}
#paper_button {
left: 140px;
top: 330px;
position: absolute;
}
#paper_button1 {
left: 220px;
top: 330px;
position: absolute;
}
#paper_calculator {
width: 230px;
height: 230px;
left: 300px;
top: 330px;
position: absolute;
}
</style>
<google-map latitude="37.719549747935744" longitude="-121.91542219726563" id="google_map"></google-map>
<cool-clock id="cool_clock"></cool-clock>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Toolbar</div>
<core-submenu id="core_submenu" icon="settings" label="Topics">
<core-item id="core_item" label="Topic 1" horizontal center layout></core-item>
<core-item id="core_item1" label="Topic 2" horizontal center layout></core-item>
</core-submenu>
</core-toolbar>
<paper-button id="paper_button">button</paper-button>
<paper-button raised recenteringtouch active focused id="paper_button1">button</paper-button>
<paper-calculator responsivewidth="2000px" id="paper_calculator"></paper-calculator>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment