Skip to content

Instantly share code, notes, and snippets.

@pdegenhardt
Last active August 29, 2015 14:06
Show Gist options
  • Save pdegenhardt/03e84f96bcc180a34410 to your computer and use it in GitHub Desktop.
Save pdegenhardt/03e84f96bcc180a34410 to your computer and use it in GitHub Desktop.
designer
<link href="../google-map/google-map.html" rel="import">
<link href="../cool-clock/cool-clock.html" rel="import">
<link href="../core-field/core-field.html" rel="import">
<link href="../core-icon/core-icon.html" rel="import">
<link href="../core-input/core-input.html" rel="import">
<link href="../core-icons/core-icons.html" rel="import">
<link href="../core-menu/core-submenu.html" rel="import">
<link href="../core-item/core-item.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 10px;
top: 10px;
position: absolute;
}
#cool_clock {
width: 170px;
height: 160px;
left: 940px;
top: 10px;
position: absolute;
}
#section {
box-sizing: border-box;
width: 420px;
height: 630px;
left: 490px;
top: 30px;
position: absolute;
}
#div {
box-sizing: border-box;
position: relative;
height: 240px;
background-color: rgb(255, 235, 59);
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
}
#section1 {
background-color: rgb(238, 238, 238);
padding: 24px;
font-size: 16px;
}
#core_field {
left: 100px;
top: 440px;
position: absolute;
}
#core_menu {
font-size: 16px;
left: 930px;
top: 210px;
position: absolute;
}
#core_submenu {
opacity: 1;
}
</style>
<google-map latitude="37.53900566488866" longitude="-122.1996934375" id="google_map"></google-map>
<cool-clock skin="fancy" id="cool_clock"></cool-clock>
<section id="section" layout vertical>
<div id="div" hero>
<span id="span" justified start reverse layout horizontal>Question</span>
</div>
<section id="section1" hero flex>
<span id="span1">Answer here</span>
</section>
</section>
<core-field id="core_field" center horizontal layout icon="search" theme="core-light-theme">
<core-icon icon="search" id="core_icon"></core-icon>
<core-input willvalidate placeholder="text input" id="core_input" flex></core-input>
</core-field>
<core-menu selected="0" selectedindex="0" id="core_menu">
<core-submenu opened active id="core_submenu" icon="settings" label="Admin">
<core-item id="core_item" horizontal center layout label="Countries"></core-item>
<core-item id="core_item1" horizontal center layout label="Currencies"></core-item>
</core-submenu>
<core-submenu id="core_submenu1" icon="settings" label="Operations">
<core-item id="core_item2" horizontal center layout label="Reservations"></core-item>
<core-item id="core_item3" horizontal center layout label="Check Outs"></core-item>
<core-item id="core_item4" horizontal center layout label="Check Ins"></core-item>
</core-submenu>
</core-menu>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment