Skip to content

Instantly share code, notes, and snippets.

@thrashr888
Created June 3, 2014 16:46
Show Gist options
  • Save thrashr888/767ded96ed8c4f3ac090 to your computer and use it in GitHub Desktop.
Save thrashr888/767ded96ed8c4f3ac090 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../code-mirror/code-mirror.html">
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../cool-clock/cool-clock.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#code_mirror {
width: 400px;
height: 300px;
left: 0px;
top: 0px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 510px;
top: 110px;
position: absolute;
opacity: 1;
}
#cool_clock {
width: 400px;
height: 300px;
left: 10px;
top: 300px;
position: absolute;
}
#core_icon {
height: 24px;
width: 24px;
left: 730px;
top: 40px;
position: absolute;
}
#svg {
pointer-events: none;
width: 24px;
height: 24px;
vertical-align: middle;
}
#core_drawer_panel {
top: 570px;
right: 0px;
bottom: 0px;
left: 0px;
position: absolute;
}
#core_panel {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
display: block;
background-color: rgb(250, 250, 250);
}
#core_panel1 {
height: 100%;
box-sizing: border-box;
display: block;
background-color: rgb(221, 221, 221);
}
</style>
<code-mirror value="<polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element>" id="code_mirror">
<polymer-element name="my-element">
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element>
</code-mirror>
<google-map latitude="{{ $.code_mirror }}" id="google_map"></google-map>
<cool-clock skin="Lev" id="cool_clock"></cool-clock>
<core-icon icon="search" id="core_icon"></core-icon>
<core-drawer-panel id="core_drawer_panel">
<core-panel id="core_panel" drawer></core-panel>
<core-panel id="core_panel1" main></core-panel>
</core-drawer-panel>
</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