Skip to content

Instantly share code, notes, and snippets.

@kravchenkodmitry
Last active October 5, 2015 11:03
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 kravchenkodmitry/c81f7b1cabbe6243edf7 to your computer and use it in GitHub Desktop.
Save kravchenkodmitry/c81f7b1cabbe6243edf7 to your computer and use it in GitHub Desktop.
designer
<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;
}
#div {
height: 100%;
width: 100%;
overflow: hidden;
left: 0px;
top: 0px;
position: absolute;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 320px;
top: 120px;
position: absolute;
}
#notification_alert {
left: 880px;
top: 200px;
position: absolute;
}
#chart_js {
width: 300px;
height: 200px;
left: 330px;
top: 220px;
position: absolute;
}
#core_field {
left: 170px;
top: 100px;
position: absolute;
}
#section {
left: 550px;
top: 170px;
position: absolute;
}
#core_drawer_panel {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
#section1 {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(250, 250, 250);
}
#section2 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
</style>
<core-drawer-panel transition id="core_drawer_panel" touch-action>
<section id="section1" drawer></section>
<section id="section2" main></section>
</core-drawer-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment